From e80f1b5c8aaa83c3e590a485ba2926ae855aa2a4 Mon Sep 17 00:00:00 2001 From: jeffreytse Date: Thu, 5 Dec 2019 19:09:26 +0800 Subject: fix: correct some html tags, css properties --- _layouts/post.html | 60 ++++++++++++++++++++++++++---------------------------- 1 file changed, 29 insertions(+), 31 deletions(-) (limited to '_layouts/post.html') diff --git a/_layouts/post.html b/_layouts/post.html index cae5476..dbf623d 100644 --- a/_layouts/post.html +++ b/_layouts/post.html @@ -7,47 +7,45 @@ sidebar: ---
-
+
- {%- assign name = 'banner' -%} - {%- include functions.html func='get_value' -%} - {%- assign banner = return -%} + {%- assign name = 'banner' -%} + {%- include functions.html func='get_value' -%} + {%- assign banner = return -%} - {%- if banner == nil -%} - {%- include views/post-header.html -%} - {%- endif -%} - - {%- include views/article.html -%} + {%- if banner == nil -%} + {%- include views/post-header.html -%} + {%- endif -%} -
- {%- if page.previous -%} - « Prev - {%- else -%} - - {%- endif -%} + {%- include views/article.html -%} - {%- if page.next -%} - Next » - {%- else -%} - - {%- endif -%} -
+
+ {%- if page.previous -%} + « Prev + {%- else -%} + + {%- endif -%} - {%- if page.comments != false -%} + {%- if page.next -%} + Next » + {%- else -%} + + {%- endif -%} +
- {%- if site.disqus.shortname -%} - {%- include extensions/comments/disqus.html -%} - {%- endif -%} + {%- if page.comments != false -%} - {%- if site.gitment.username -%} - {%- include extensions/comments/gitment.html -%} - {%- endif -%} + {%- if site.disqus.shortname -%} + {%- include extensions/comments/disqus.html -%} + {%- endif -%} - {%- endif -%} + {%- if site.gitment.username -%} + {%- include extensions/comments/gitment.html -%} + {%- endif -%} -
+ {%- endif -%} - {%- include extensions/mathjax.html -%} +
-- cgit v1.2.3