From 6ec12d94c1b25883e3588afcadd686d3dc157675 Mon Sep 17 00:00:00 2001 From: David Luevano Alvarado Date: Wed, 14 Dec 2022 22:35:33 -0600 Subject: add more files, fixed bugs related to multiple documents in yaml config --- pyssg.xyz/plt/blog/page.html | 87 ++++++++++++++++++++++++++++++++------------ 1 file changed, 63 insertions(+), 24 deletions(-) (limited to 'pyssg.xyz/plt/blog/page.html') diff --git a/pyssg.xyz/plt/blog/page.html b/pyssg.xyz/plt/blog/page.html index d7f5e43..bd79b15 100644 --- a/pyssg.xyz/plt/blog/page.html +++ b/pyssg.xyz/plt/blog/page.html @@ -1,25 +1,64 @@ - - - - - - {{page.title}} -- {{config['title']}} - - -

{{page.title}}

-

By {{page.author}}

-

Created: {{page.cdate}}

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

Modified: {{page.mdate}}

- {%endif%} - - {{page.content}} - -

Tags: - {%for t in page.tags%} - {{t[0]}}{{", " if not loop.last else ""}} - {%endfor%} -

- - +{%extends "base.html"%} +{%block html_lang%} +{{config['lang']}} +{%endblock html_lang%} + +{%block head_title%} +{{page.title}} -- {{config['title']}} +{%endblock head_title%} + +{%block head_description%} + +{%endblock head_description%} + +{%block head_rss%} + +{%endblock head_rss%} + +{%block head_extra%} +{%endblock head_extra%} + +{%block head_og%} + + + + + + + +{%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}}

+ +

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

+

Created: {{page.cdate}}

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

Modified: {{page.mdate}}

+ {%endif%} + + {{page.content}} + +

Tags: +{%for t in page.tags%} + {{t[0]}}{{", " if not loop.last else ""}} +{%endfor%} +

+{%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