From ef15a6ec8f14c2398cfd28786c83072888690718 Mon Sep 17 00:00:00 2001 From: Steven Le Rouzic Date: Tue, 31 Oct 2023 23:23:51 +0100 Subject: oijoij --- templates/base.html | 16 ++++++++++++++++ templates/blog-article.html | 21 +++++++++++++++++++++ templates/blog.html | 11 +++++++++++ templates/index.html | 14 ++++++++++++++ templates/page.html | 9 +++++++++ templates/taxonomy_list.html | 7 +++++++ templates/taxonomy_single.html | 13 +++++++++++++ 7 files changed, 91 insertions(+) create mode 100644 templates/base.html create mode 100644 templates/blog-article.html create mode 100644 templates/blog.html create mode 100644 templates/index.html create mode 100644 templates/page.html create mode 100644 templates/taxonomy_list.html create mode 100644 templates/taxonomy_single.html (limited to 'templates') diff --git a/templates/base.html b/templates/base.html new file mode 100644 index 0000000..f3c81fb --- /dev/null +++ b/templates/base.html @@ -0,0 +1,16 @@ + + + + + Steven Le Rouzic + + + + + + + + {% block content %}{% endblock %} + + + diff --git a/templates/blog-article.html b/templates/blog-article.html new file mode 100644 index 0000000..ccdd019 --- /dev/null +++ b/templates/blog-article.html @@ -0,0 +1,21 @@ +{% extends "base.html" %} + +{% block content %} + +
+

{{ page.title }}

+
+

{{ page.date | date(format="%B %-d, %Y") }}

+

+ {% for tag in page.taxonomies["tags"] %} + #{{ tag }} + {%- endfor %} +

+
+
+ +
+{{ page.content | safe }} +
+ +{% endblock %} diff --git a/templates/blog.html b/templates/blog.html new file mode 100644 index 0000000..a0d2450 --- /dev/null +++ b/templates/blog.html @@ -0,0 +1,11 @@ +{% extends "base.html" %} + +{% block content %} + + + +{% endblock %} diff --git a/templates/index.html b/templates/index.html new file mode 100644 index 0000000..f8df5f9 --- /dev/null +++ b/templates/index.html @@ -0,0 +1,14 @@ +{% extends "base.html" %} + +{% block content %} + +{% set blog_section = get_section(path="blog/_index.md") %} + + +{% endblock %} + diff --git a/templates/page.html b/templates/page.html new file mode 100644 index 0000000..0e5679f --- /dev/null +++ b/templates/page.html @@ -0,0 +1,9 @@ +{% extends "base.html" %} + +{% block content %} + +

{{ page.title }}

+ +{{ page.content | safe }} + +{% endblock %} diff --git a/templates/taxonomy_list.html b/templates/taxonomy_list.html new file mode 100644 index 0000000..df8f63f --- /dev/null +++ b/templates/taxonomy_list.html @@ -0,0 +1,7 @@ +{% extends "base.html" %} + +{% block content %} + +

{{ taxonomy.name }}: multiple

+ +{% endblock %} diff --git a/templates/taxonomy_single.html b/templates/taxonomy_single.html new file mode 100644 index 0000000..3a75df8 --- /dev/null +++ b/templates/taxonomy_single.html @@ -0,0 +1,13 @@ +{% extends "base.html" %} + +{% block content %} + +

{{ taxonomy.name }}: {{ term.name }}

+ + + +{% endblock %} -- cgit