From 7e49db5ddefe8c515b5f3931a5c701efaac33d91 Mon Sep 17 00:00:00 2001 From: David Luevano Alvarado Date: Fri, 16 Dec 2022 17:45:03 -0600 Subject: change structure for new pyssg version --- plt/blog/page.html | 81 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 81 insertions(+) create mode 100644 plt/blog/page.html (limited to 'plt/blog/page.html') diff --git a/plt/blog/page.html b/plt/blog/page.html new file mode 100644 index 0000000..71b4cfe --- /dev/null +++ b/plt/blog/page.html @@ -0,0 +1,81 @@ +{%extends "base.html"%} + +{%block html_lang%} +{{config['lang']}} +{%endblock html_lang%} + +{%block head_title%} +{{page.title}} -- {{config['title']}} +{%endblock head_title%} + +{%block head_description%} +{%if page.summary is not none%} + +{%else%} + +{%endif%} +{%endblock head_description%} + +{%block head_rss%} + +{%endblock head_rss%} + +{%block head_extra%} +{%import "highlightjs.html" as hljs%} +{{hljs.print()}} +{%endblock head_extra%} + +{%block gdscript_hl%} + + +{%endblock gdscript_hl%} + +{%block head_og%} + + + + +{%if page.summary is not none%} + +{%else%} + +{%endif%} + + +{%endblock head_og%} + +{%block body_header%} +{%import 'body/header.html' as body_header%} +{{body_header.print(config)}} +{%endblock body_header%} + +{%block body_content%} +

{{page.title}}

+ + {{page.content}} + + {%import "page_nav.html" as page_nav%} + {{page_nav.print(page, config, "page-nav")}} + +
+
+

By {{', '.join(page.author)}}

+

Created: {{page.cdate}}

+ {%if page.mdate is not none%} +

Modified: {{page.mdate}}

+ {%endif%} + {%import "tag_list.html" as tag_list%} + {{tag_list.print(page.tags, "article-tags")}} +
+{%endblock body_content%} + +{%block body_footer%} +{%import 'body/footer.html' as body_footer%} +{{body_footer.contact(config)}} +{{body_footer.donate(config)}} +{{body_footer.rss(config)}} +
+{{body_footer.created_with()}} +
+{{body_footer.copyright()}} +{%endblock body_footer%} \ No newline at end of file -- cgit v1.2.3-70-g09d2