From ac73f7ff7739157254bfcec36ef9463c86b0de72 Mon Sep 17 00:00:00 2001 From: Nguyễn Gia Phong Date: Tue, 16 Nov 2021 17:35:21 +0700 Subject: Overhaul style --- _layout/foot.html | 14 ++++++-------- _layout/foot_highlight.html | 2 -- _layout/foot_katex.html | 3 --- _layout/head.html | 25 +++++++++++++------------ _layout/head_katex.html | 1 - _layout/page_foot.html | 16 +++++++--------- _layout/tag.html | 14 +++++++------- 7 files changed, 33 insertions(+), 42 deletions(-) delete mode 100644 _layout/foot_highlight.html delete mode 100644 _layout/foot_katex.html delete mode 100644 _layout/head_katex.html (limited to '_layout') diff --git a/_layout/foot.html b/_layout/foot.html index f87c1a1..95abfb5 100644 --- a/_layout/foot.html +++ b/_layout/foot.html @@ -1,9 +1,7 @@ - - {{ if hasmath }} - {{ insert foot_katex.html }} - {{ end }} - {{ if hascode }} - {{ insert foot_highlight.html }} - {{ end }} - +{{if hasmath}} + +{{end}} +{{if hascode}} +{{end}} + diff --git a/_layout/foot_highlight.html b/_layout/foot_highlight.html deleted file mode 100644 index 616d9f4..0000000 --- a/_layout/foot_highlight.html +++ /dev/null @@ -1,2 +0,0 @@ - - diff --git a/_layout/foot_katex.html b/_layout/foot_katex.html deleted file mode 100644 index 6c7e39f..0000000 --- a/_layout/foot_katex.html +++ /dev/null @@ -1,3 +0,0 @@ - - - diff --git a/_layout/head.html b/_layout/head.html index da6421c..8f5353f 100644 --- a/_layout/head.html +++ b/_layout/head.html @@ -1,14 +1,15 @@ - - - - - {{if hasmath}}{{insert head_katex.html}}{{end}} - - - {{isdef title}}{{fill title}} - McSinyx{{end}} - + + +{{if hasmath}}{{end}} + + +{{isdef title}}{{title}} - McSinyx{{end}} - {{insert header.html}} - - +{{insert header.html}} +{{isnotempty rss}}

{{title}}

+
+ Originally published: {{date}}
+ Tags:{{for tag in tags}} + {{tag}}{{end}}
+
{{end}} diff --git a/_layout/head_katex.html b/_layout/head_katex.html deleted file mode 100644 index 755f249..0000000 --- a/_layout/head_katex.html +++ /dev/null @@ -1 +0,0 @@ - diff --git a/_layout/page_foot.html b/_layout/page_foot.html index 817742f..6a9431a 100644 --- a/_layout/page_foot.html +++ b/_layout/page_foot.html @@ -1,11 +1,9 @@
- + © 2019–2021 {{author}}; + See license terms
+ {{isnotpage /tag/*}}Last modified: {{author_date}}; View + page + source
{{end}} + A website by Julia + Franklin
diff --git a/_layout/tag.html b/_layout/tag.html index b815535..fb18574 100644 --- a/_layout/tag.html +++ b/_layout/tag.html @@ -3,13 +3,13 @@ -Tag: {{fill fd_tag}} +Tag: {{fd_tag}} - {{insert header.html}} -
-

Tag: {{fill fd_tag}}

- {{taglist}} - {{insert page_foot.html}} -
+{{insert header.html}} +
+

Tag: {{fd_tag}}

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