Skip to content

Commit

Permalink
Fix relative favicon path bug.
Browse files Browse the repository at this point in the history
The favicon link was 404'ing for the member profiles.

Other changes:
- Added CODEOWNERS support to force reviews for changes to the end product.
- Reformatted config.yml and exclude Gemfile from website.
  • Loading branch information
EtherTyper committed Jul 6, 2017
1 parent 9a62d5b commit 99e0895
Show file tree
Hide file tree
Showing 4 changed files with 33 additions and 3 deletions.
8 changes: 8 additions & 0 deletions CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# Force reviews for changes to actual site.
# Inactive until protected branches go on.

*.js @WestlakeAPC/website
*.html @WestlakeAPC/website
*.css @WestlakeAPC/website

!gulpfile.babel.js @WestlakeAPC/website # Not the gulpfile
24 changes: 23 additions & 1 deletion _config.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,26 @@
name: Your New Jekyll Site
markdown: redcarpet
highlighter: rouge # or rouge or null
exclude: ["node_modules", "gulpfile.babel.js", "gulpfile.js", "package.json", "params.json", "tsconfig.json", "npm-shrinkwrap.json", "yarn.lock", "_pug", "_scss", "_ts"]
exclude: [
# Project files
"gulpfile.babel.js",
"package.json",
"tsconfig.json",
"Gemfile",

# Source files
"_pug",
"_scss",
"_ts",

# Generated
"node_modules",
"params.json",
"yarn.lock",
"Gemfile.lock",

# Project information
"CODEOWNERS",
"README.md",
"LICENSE"
]
2 changes: 1 addition & 1 deletion _layouts/default.html
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<!DOCTYPE html><html lang="en-us"><head><meta charset="UTF-8"><title>Westlake APC</title><meta name="viewport" content="width=device-width, initial-scale=1"><meta name="theme-color" content="#157878"><link href="https://fonts.googleapis.com/css?family=Open+Sans:400,700" rel="stylesheet" type="text/css"><link rel="stylesheet" type="text/css" href="/css/stylesheet.css" media="screen"><link rel="icon" type="image/png" href="images/WestlakeAPC.png"><script data-main="/js/main.js" src="/js/require.js"></script></head><body><section class="page-header"><img src="/images/WestlakeAPC.png" style="width: 25%;" alt="Westlake APC Logo"><h1 class="project-name">Westlake Accessible Programming Club</h1><h2 class="project-tagline">Westlake High School's experimental programming club.</h2><!-- Navigation bar--><a class="btn" href="{{ '/#our-purpose' | relative_url }}">Purpose</a><a class="btn" href="{{ '/#current-projects' | relative_url }}">Current Projects</a><a class="btn" href="{{ '/#archived-projects' | relative_url }}">Archived Projects</a><a class="btn" href="{{ '/#meeting-schedule' | relative_url }}">Meetings</a><a class="btn" href="{{ '/#want-to-join-yet' | relative_url }}">Joining</a><a class="btn" href="{{ '/#open-source' | relative_url }}">Open Source</a><a class="btn" href="{{ '/#external-funding' | relative_url }}">Funding</a></section><section class="main-content">{{ content }}<footer class="site-footer"><span class="site-footer-credits">This page was generated by&nbsp;<a href="https://pages.github.com">GitHub Pages&nbsp;</a>using the&nbsp;<a href="https://github.com/jasonlong/cayman-theme">Cayman theme&nbsp;</a>by&nbsp;<a href="https://twitter.com/jasonlong">Jason Long</a>.<span class="w3c-validators" style="position:relative; left: 15px;"><a href="https://jigsaw.w3.org/css-validator/check/referer"><img style="border:0;width:88px;height:32px;vertical-align:middle;" src="https://jigsaw.w3.org/css-validator/images/vcss-blue" alt="Valid CSS!"></a><a href="https://validator.w3.org/nu/check/referer"><img style="border:0;width:99px;height:32px;vertical-align:middle;" src="https://www.w3.org/html/logo/badge/html5-badge-h-css3-graphics-semantics.png" alt="HTML5 Powered with CSS3 / Styling, Graphics, 3D &amp; Effects, and Semantics"></a></span></span></footer></section></body></html>
<!DOCTYPE html><html lang="en-us"><head><meta charset="UTF-8"><title>Westlake APC</title><meta name="viewport" content="width=device-width, initial-scale=1"><meta name="theme-color" content="#157878"><link href="https://fonts.googleapis.com/css?family=Open+Sans:400,700" rel="stylesheet" type="text/css"><link rel="stylesheet" type="text/css" href="/css/stylesheet.css" media="screen"><link rel="icon" type="image/png" href="/images/WestlakeAPC.png"><script data-main="/js/main.js" src="/js/require.js"></script></head><body><section class="page-header"><img src="/images/WestlakeAPC.png" style="width: 25%;" alt="Westlake APC Logo"><h1 class="project-name">Westlake Accessible Programming Club</h1><h2 class="project-tagline">Westlake High School's experimental programming club.</h2><!-- Navigation bar--><a class="btn" href="{{ '/#our-purpose' | relative_url }}">Purpose</a><a class="btn" href="{{ '/#current-projects' | relative_url }}">Current Projects</a><a class="btn" href="{{ '/#archived-projects' | relative_url }}">Archived Projects</a><a class="btn" href="{{ '/#meeting-schedule' | relative_url }}">Meetings</a><a class="btn" href="{{ '/#want-to-join-yet' | relative_url }}">Joining</a><a class="btn" href="{{ '/#open-source' | relative_url }}">Open Source</a><a class="btn" href="{{ '/#external-funding' | relative_url }}">Funding</a></section><section class="main-content">{{ content }}<footer class="site-footer"><span class="site-footer-credits">This page was generated by&nbsp;<a href="https://pages.github.com">GitHub Pages&nbsp;</a>using the&nbsp;<a href="https://github.com/jasonlong/cayman-theme">Cayman theme&nbsp;</a>by&nbsp;<a href="https://twitter.com/jasonlong">Jason Long</a>.<span class="w3c-validators" style="position:relative; left: 15px;"><a href="https://jigsaw.w3.org/css-validator/check/referer"><img style="border:0;width:88px;height:32px;vertical-align:middle;" src="https://jigsaw.w3.org/css-validator/images/vcss-blue" alt="Valid CSS!"></a><a href="https://validator.w3.org/nu/check/referer"><img style="border:0;width:99px;height:32px;vertical-align:middle;" src="https://www.w3.org/html/logo/badge/html5-badge-h-css3-graphics-semantics.png" alt="HTML5 Powered with CSS3 / Styling, Graphics, 3D &amp; Effects, and Semantics"></a></span></span></footer></section></body></html>
2 changes: 1 addition & 1 deletion _pug/_layouts/default.pug
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ html(lang='en-us')
meta(name='theme-color', content='#157878')
link(href='https://fonts.googleapis.com/css?family=Open+Sans:400,700', rel='stylesheet', type='text/css')
link(rel='stylesheet', type='text/css', href='/css/stylesheet.css', media='screen')
link(rel='icon', type='image/png', href='images/WestlakeAPC.png')
link(rel='icon', type='image/png', href='/images/WestlakeAPC.png')
script(data-main="/js/main.js" src="/js/require.js")
body
section.page-header
Expand Down

0 comments on commit 99e0895

Please sign in to comment.