From 61eae5c5f9881cab29712f6e696085baa977e1f9 Mon Sep 17 00:00:00 2001 From: Jeffrey Tse Date: Wed, 11 Sep 2019 12:19:34 +0800 Subject: release: v1.0.0 --- _layouts/post.html | 52 ++++++++++++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 50 insertions(+), 2 deletions(-) (limited to '_layouts/post.html') diff --git a/_layouts/post.html b/_layouts/post.html index 5e71126..cae5476 100644 --- a/_layouts/post.html +++ b/_layouts/post.html @@ -1,5 +1,53 @@ --- -layout: default +layout: framework +banner: 'default' +banner_html: post-header.html +sidebar: + - article-menu --- -{{ content }} +
+
+ + {%- 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 page.previous -%} + « Prev + {%- else -%} + + {%- endif -%} + + {%- if page.next -%} + Next » + {%- else -%} + + {%- endif -%} +
+ + {%- if page.comments != false -%} + + {%- if site.disqus.shortname -%} + {%- include extensions/comments/disqus.html -%} + {%- endif -%} + + {%- if site.gitment.username -%} + {%- include extensions/comments/gitment.html -%} + {%- endif -%} + + {%- endif -%} + +
+ + {%- include extensions/mathjax.html -%} +
+ + -- cgit v1.2.3