From 07e931629284a80b12db914b22496e3f3683f645 Mon Sep 17 00:00:00 2001 From: Joe Clay <27cupsofcoffee@gmail.com> Date: Wed, 7 Aug 2019 19:49:49 +0100 Subject: [PATCH 1/2] First pass at the design of the website --- README.md | 4 ++- _config.yml | 10 ++++---- _includes/header.html | 5 +++- _includes/social.html | 1 + _layouts/default.html | 4 +-- _layouts/home.html | 43 +++++++++++++++++++++++---------- _layouts/page.html | 2 +- _layouts/post.html | 2 +- _sass/extra.scss | 26 ++++++++++++++++++++ assets/css/style.scss | 6 +++++ assets/logo_small.png | Bin 0 -> 3521 bytes assets/minima-social-icons.svg | 8 ++++-- index.md | 2 -- 13 files changed, 84 insertions(+), 29 deletions(-) create mode 100644 _sass/extra.scss create mode 100644 assets/logo_small.png diff --git a/README.md b/README.md index 42e214a84..daf65b36c 100644 --- a/README.md +++ b/README.md @@ -3,9 +3,11 @@ ## License -This project is licensed under either of +This project is licensed under either of: * Apache License, Version 2.0, ([LICENSE-APACHE](LICENSE-APACHE) or http://www.apache.org/licenses/LICENSE-2.0) * MIT license ([LICENSE-MIT](LICENSE-MIT) or http://opensource.org/licenses/MIT) + +With the exception of the [Font Awesome](https://fontawesome.com) social icons, which are used under a [Creative Commons Attribution 4.0 International](https://creativecommons.org/licenses/by/4.0/) license. \ No newline at end of file diff --git a/_config.yml b/_config.yml index b14d049b4..91a914ed0 100644 --- a/_config.yml +++ b/_config.yml @@ -1,8 +1,7 @@ title: Rust Game Development Working Group #author: GitHub User #email: your-email@domain.com -#description: > # this means to ignore newlines until "show_excerpts:" -# Stay up to date with the progress and recent developments in the Rust Game Development Working Group. +description: Stay up to date with the progress and recent developments in the Rust Game Development Working Group. url: "https://rust-gamedev.github.io" show_excerpts: false # set to true to show excerpts on the homepage @@ -12,10 +11,11 @@ minima: date_format: "%b %-d, %Y" # generate social links in footer - # social_links: + social_links: # twitter: jekyllrb - # github: jekyll - # rss: rss + github: rust-gamedev + discord: j6QJsMd + rss: RSS # dribbble: jekyll # facebook: jekyll # flickr: jekyll diff --git a/_includes/header.html b/_includes/header.html index ed5a382ae..e0436061d 100644 --- a/_includes/header.html +++ b/_includes/header.html @@ -4,7 +4,10 @@ {%- assign default_paths = site.pages | map: "path" -%} {%- assign page_paths = site.header_pages | default: default_paths -%} {%- assign titles_size = site.pages | map: 'title' | join: '' | size -%} - + {%- if titles_size > 0 -%}