From 867114422926d4a3e48c3feb6e992d44d9d94dc0 Mon Sep 17 00:00:00 2001 From: Matthew Grove Date: Fri, 25 Jan 2019 20:36:38 +0000 Subject: [PATCH] Enable auto-population & remove author pages Make the navbar, main article list and content of articles (images, dates and authors) populate automatically, and remove pages for each author. --- _includes/navbar.html | 8 +- _includes/navbar.html~ | 39 -------- _includes/top-app-bar.html | 2 +- ...cle_name.md => 2019-01-01-article-name.md} | 6 +- _posts/2019-01-01-article_name.md~ | 18 ---- _posts/2019-01-25-article-name.md | 16 ---- _posts/2019-01-25-article-name.md~ | 17 ---- .../2019/01/{25 => 01}/article-name.html | 39 ++++---- _site/articles/2019/01/01/article_name.html | 31 +++--- .../2019/01/02/article-name.html} | 58 ++++++----- _site/authors/name/index_old.html | 90 ------------------ _site/css/mdc-card-list.css | 4 +- ...jpg => 2019-01-01-article-name--cover.jpg} | Bin _site/index.html | 89 +++++++++++++---- authors/name.md | 21 ---- authors/name.md~ | 0 authors/name/index_old.html | 90 ------------------ css/mdc-card-list.css | 4 +- ...jpg => 2019-01-01-article-name--cover.jpg} | Bin index.md | 18 +++- 20 files changed, 158 insertions(+), 392 deletions(-) delete mode 100644 _includes/navbar.html~ rename _posts/{2019-01-01-article_name.md => 2019-01-01-article-name.md} (61%) delete mode 100644 _posts/2019-01-01-article_name.md~ delete mode 100644 _posts/2019-01-25-article-name.md delete mode 100644 _posts/2019-01-25-article-name.md~ rename _site/articles/2019/01/{25 => 01}/article-name.html (83%) rename _site/{authors/name.html => articles/2019/01/02/article-name.html} (76%) delete mode 100644 _site/authors/name/index_old.html rename _site/images/{article_name--cover.jpg => 2019-01-01-article-name--cover.jpg} (100%) delete mode 100644 authors/name.md delete mode 100644 authors/name.md~ delete mode 100644 authors/name/index_old.html rename images/{article_name--cover.jpg => 2019-01-01-article-name--cover.jpg} (100%) diff --git a/_includes/navbar.html b/_includes/navbar.html index 39eb343..745ea2d 100644 --- a/_includes/navbar.html +++ b/_includes/navbar.html @@ -5,7 +5,7 @@ - + Reading School Website @@ -16,14 +16,10 @@

Articles

{% for page in site.categories.articles %}
- + {{ page.title }} {% endfor %} - - - Title -

Authors

diff --git a/_includes/navbar.html~ b/_includes/navbar.html~ deleted file mode 100644 index 3b65cbe..0000000 --- a/_includes/navbar.html~ +++ /dev/null @@ -1,39 +0,0 @@ - - -
diff --git a/_includes/top-app-bar.html b/_includes/top-app-bar.html index 54c60ba..ae44be2 100644 --- a/_includes/top-app-bar.html +++ b/_includes/top-app-bar.html @@ -2,7 +2,7 @@
menu - {{ page.title }} | Reading School + BBC Young Reporter | Reading School
- + Reading School Website @@ -73,20 +73,21 @@

Authors

@@ -108,7 +109,7 @@
menu - Title | Reading School + BBC Young Reporter | Reading School