From 8628a4ae2e7c8998c8d2ffe2ecc51f2624aa66b1 Mon Sep 17 00:00:00 2001 From: xAlpharax <42233094+xAlpharax@users.noreply.github.com> Date: Sat, 18 Nov 2023 12:15:16 +0200 Subject: Massive changes - migrating to Hermit with a few tweaks. Changes to be committed: new file: .gitignore modified: .gitmodules modified: config.toml new file: content/about.md deleted: content/blog/_index.md deleted: content/blog/first.md deleted: content/blog/second.md new file: content/posts/_index.md new file: content/posts/code_test.md new file: content/posts/good_first_post.md new file: content/posts/later_posts.md new file: content/posts/typography.md deleted: description deleted: index.html deleted: public/blog/first/index.html deleted: public/blog/index.html deleted: public/blog/second/index.html deleted: public/elasticlunr.min.js deleted: public/search_index.en.js deleted: public/typography.css new file: sass/_animate.scss new file: sass/_icons.scss new file: sass/_normalize.scss new file: sass/_predefined.scss new file: sass/_syntax.scss new file: sass/style.scss new file: static/favicon-32x32.png new file: static/favicon.ico new file: static/js/main.js modified: templates/404.html deleted: templates/base.html deleted: templates/blog-page.html deleted: templates/blog.html new file: templates/index.html new file: templates/macros.html new file: templates/page.html new file: templates/section.html new file: templates/tags/list.html new file: templates/tags/single.html new file: themes/404.html new file: themes/config.toml deleted: themes/hermit_zola --- templates/page.html | 176 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 176 insertions(+) create mode 100644 templates/page.html (limited to 'templates/page.html') diff --git a/templates/page.html b/templates/page.html new file mode 100644 index 0000000..bd58389 --- /dev/null +++ b/templates/page.html @@ -0,0 +1,176 @@ +{% extends "index.html" %} + +{% import "macros.html" as macros %} + +{% block header %} + +
+ +
+{% endblock header %} + +{% block title %} +{% endblock title %} + +{% block main %} +
+
+
+ +

{{ page.title }}

+
+ +
+ + {{ page.content | safe }} +
+
+
+ {% if page.taxonomies and page.taxonomies.tags %} +

+ + {% for k, tags in page.taxonomies %} + {% for t in tags %} + {{t}} + {% endfor %} + {% endfor %} +

+ {% endif %} +

{{ page.word_count}} Words

+ {% if page.date %} +

{{ page.date }}

+ {% endif %} +
+
+ {% if page.extra.toc %} + + {% endif %} + +
+ {% if page.later %} + + {% endif %} + {% if page.earlier %} + + {% endif %} +
+ + {% if config.extra.disqus.enable and not page.extra.disable_comments%} +
+ + + {% endif %} +
+{% endblock main %} + +{% block footer %} + +{{ macros::footer() }} + +{% endblock footer %} -- cgit v1.2.3