From 99e0895058fe3855898371c15087756c59e387d9 Mon Sep 17 00:00:00 2001 From: Eli Joesph Bradley Date: Thu, 6 Jul 2017 15:03:45 -0500 Subject: [PATCH] Fix relative favicon path bug. 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. --- CODEOWNERS | 8 ++++++++ _config.yml | 24 +++++++++++++++++++++++- _layouts/default.html | 2 +- _pug/_layouts/default.pug | 2 +- 4 files changed, 33 insertions(+), 3 deletions(-) create mode 100644 CODEOWNERS diff --git a/CODEOWNERS b/CODEOWNERS new file mode 100644 index 0000000..5286cc8 --- /dev/null +++ b/CODEOWNERS @@ -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 \ No newline at end of file diff --git a/_config.yml b/_config.yml index 359bac2..623c96c 100644 --- a/_config.yml +++ b/_config.yml @@ -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" +] diff --git a/_layouts/default.html b/_layouts/default.html index 0768b90..40d9f4b 100644 --- a/_layouts/default.html +++ b/_layouts/default.html @@ -1 +1 @@ -Westlake APC
{{ content }}
\ No newline at end of file +Westlake APC
{{ content }}
\ No newline at end of file diff --git a/_pug/_layouts/default.pug b/_pug/_layouts/default.pug index a18d32a..25a5875 100644 --- a/_pug/_layouts/default.pug +++ b/_pug/_layouts/default.pug @@ -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