From b995215b04f4885942a6ca4a7156c52552c6857c Mon Sep 17 00:00:00 2001 From: theo lem <=> Date: Thu, 30 Apr 2020 18:12:44 +0200 Subject: [PATCH] added categories and article templates. --- content/blog/first.md | 7 +++++ content/blog/third.md | 7 +++++ content/pages/about.md | 8 ++++++ content/poems/second.md | 7 +++++ output/archives.html | 16 +++++++---- output/author/theo.html | 0 output/categories.html | 25 +++++++++++++++++ output/category/blog.html | 34 +++++++++++++++++++++++ output/category/poem.html | 31 +++++++++++++++++++++ output/feeds/all.atom.xml | 2 +- output/feeds/blog.atom.xml | 2 ++ output/feeds/poem.atom.xml | 2 ++ output/first.html | 34 +++++++++++++++++++++++ output/index.html | 13 +++++---- output/pages/about.html | 25 +++++++++++++++++ output/second.html | 34 +++++++++++++++++++++++ output/tag/article.html | 0 output/theme/css/main.css | 3 ++ output/theme/css/main.less | 5 +++- output/third.html | 34 +++++++++++++++++++++++ pelicanconf.py | 3 ++ publishconf.py | 1 - themes/theo_lem/static/css/main.css | 3 ++ themes/theo_lem/static/css/main.less | 4 +++ themes/theo_lem/templates/article.html | 9 +++++- themes/theo_lem/templates/base.html | 14 ++++------ themes/theo_lem/templates/categories.html | 4 +++ themes/theo_lem/templates/category.html | 14 ++++++++++ themes/theo_lem/templates/index.html | 3 +- themes/theo_lem/templates/page.html | 4 +++ 30 files changed, 323 insertions(+), 25 deletions(-) create mode 100644 content/blog/first.md create mode 100644 content/blog/third.md create mode 100644 content/pages/about.md create mode 100644 content/poems/second.md create mode 100644 output/author/theo.html create mode 100644 output/category/blog.html create mode 100644 output/category/poem.html create mode 100644 output/feeds/blog.atom.xml create mode 100644 output/feeds/poem.atom.xml create mode 100644 output/first.html create mode 100644 output/pages/about.html create mode 100644 output/second.html create mode 100644 output/tag/article.html create mode 100644 output/third.html diff --git a/content/blog/first.md b/content/blog/first.md new file mode 100644 index 0000000..25c3c16 --- /dev/null +++ b/content/blog/first.md @@ -0,0 +1,7 @@ +Title: First +Date: 2020-04-24 17:01 +Modified: 2020-04-24 17:01 +Category: blog +Tags: article +Slug: first +Authors: theo \ No newline at end of file diff --git a/content/blog/third.md b/content/blog/third.md new file mode 100644 index 0000000..f325336 --- /dev/null +++ b/content/blog/third.md @@ -0,0 +1,7 @@ +Title: Third +Date: 2020-04-24 17:01 +Modified: 2020-04-24 17:01 +Category: blog +Tags: article +Slug: third +Authors: theo \ No newline at end of file diff --git a/content/pages/about.md b/content/pages/about.md new file mode 100644 index 0000000..8f35d95 --- /dev/null +++ b/content/pages/about.md @@ -0,0 +1,8 @@ +Title: About +Date: 2020-04-24 17:01 +Modified: 2020-04-24 17:01 +Tags: article +Slug: about +Authors: theo + +hello \ No newline at end of file diff --git a/content/poems/second.md b/content/poems/second.md new file mode 100644 index 0000000..8aa1c95 --- /dev/null +++ b/content/poems/second.md @@ -0,0 +1,7 @@ +Title: Second +Date: 2020-04-24 17:01 +Modified: 2020-04-24 17:01 +Category: poem +Tags: article +Slug: second +Authors: theo \ No newline at end of file diff --git a/output/archives.html b/output/archives.html index 0aa5c5b..475871a 100644 --- a/output/archives.html +++ b/output/archives.html @@ -3,23 +3,29 @@
---
+---
+---
+---
+{{ article.date }}
+---
+ {% endfor %} +{% endif %} + + +{% endblock content %} \ No newline at end of file diff --git a/themes/theo_lem/templates/index.html b/themes/theo_lem/templates/index.html index 3d2e1dc..20af81e 100644 --- a/themes/theo_lem/templates/index.html +++ b/themes/theo_lem/templates/index.html @@ -3,7 +3,8 @@