summaryrefslogtreecommitdiff
path: root/_layouts/post.html
diff options
context:
space:
mode:
Diffstat (limited to '_layouts/post.html')
-rw-r--r--_layouts/post.html60
1 files changed, 29 insertions, 31 deletions
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:
---
<div class="post">
- <section>
+ <section>
- {%- 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 -%}
- <div class="post-nav">
- {%- if page.previous -%}
- <a href="{{ page.previous.url }}" title="{{ page.previous.title | escape }}">&laquo; Prev</a>
- {%- else -%}
- <span></span>
- {%- endif -%}
+ {%- include views/article.html -%}
- {%- if page.next -%}
- <a href="{{ page.next.url }}" title="{{ page.next.title | escape }}">Next &raquo;</a>
- {%- else -%}
- <span></span>
- {%- endif -%}
- </div>
+ <div class="post-nav">
+ {%- if page.previous -%}
+ <a href="{{ page.previous.url }}" title="{{ page.previous.title | escape }}">&laquo; Prev</a>
+ {%- else -%}
+ <span></span>
+ {%- endif -%}
- {%- if page.comments != false -%}
+ {%- if page.next -%}
+ <a href="{{ page.next.url }}" title="{{ page.next.title | escape }}">Next &raquo;</a>
+ {%- else -%}
+ <span></span>
+ {%- endif -%}
+ </div>
- {%- 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 -%}
- </section>
+ {%- endif -%}
- {%- include extensions/mathjax.html -%}
+ </section>
</div>