From ee131010bc85332db483ae2e770495f29c168773 Mon Sep 17 00:00:00 2001 From: Nguyễn Gia Phong Date: Wed, 22 Dec 2021 17:36:16 +0700 Subject: Outsource more to injection phase --- _layout/footer.html | 15 +++++++++++++++ _layout/head.html | 6 ------ _layout/page_foot.html | 26 ++++++++++---------------- _layout/tag.html | 7 ++++--- 4 files changed, 29 insertions(+), 25 deletions(-) create mode 100644 _layout/footer.html (limited to '_layout') diff --git a/_layout/footer.html b/_layout/footer.html new file mode 100644 index 0000000..cde42d6 --- /dev/null +++ b/_layout/footer.html @@ -0,0 +1,15 @@ + diff --git a/_layout/head.html b/_layout/head.html index 4b4ca29..d6b043e 100644 --- a/_layout/head.html +++ b/_layout/head.html @@ -3,9 +3,3 @@ {{isdef title}}{{title}} - McSinyx{{end}} {{insert header.html}} -{{isnotempty rss}}

{{title}}

-
- Originally published: {{date}}
- Tags:{{for tag in tags}} - {{tag}}{{end}}
-
{{end}} diff --git a/_layout/page_foot.html b/_layout/page_foot.html index 8d8f783..848d42e 100644 --- a/_layout/page_foot.html +++ b/_layout/page_foot.html @@ -1,17 +1,11 @@ -{{isnotpage /tag/*}}{{isnotempty rss}}
- Reply via email -
{{end}}{{end}} -
- {{copyright}}; See license terms
+{{isnotempty tags}}Tags:{{for tag in tags}} + {{tag}}{{end}} +—{{isempty rss}}{{author}}, + {{else}}{{mailto_comment}}, {{end}}{{date}}
{{end}} - {{isnotpage /tag/*}}Last modified: {{author_date}}; View - page - source
{{end}} - - Part of Fediring; Visit neighbor on the - left/right
- - Built on sr.ht - by Julia - Franklin
-
+{{isnotempty rss}}
+

Comments

+

To reply, follow the mailto link + in the the author's name.

+
{{end}} +{{insert footer.html}} diff --git a/_layout/tag.html b/_layout/tag.html index a9de4ae..72fd0d2 100644 --- a/_layout/tag.html +++ b/_layout/tag.html @@ -2,10 +2,11 @@ Tag: {{fd_tag}} {{insert header.html}} -
+

Tag: {{fd_tag}}

{{taglist}} - {{insert page_foot.html}} -
+ {{openring}} + +{{insert footer.html}} -- cgit 1.4.1