_layouts/post.html in cosy-jekyll-theme-1.0.7 vs _layouts/post.html in cosy-jekyll-theme-1.0.8
- old
+ new
@@ -1,10 +1,10 @@
<!doctype html>
-<html class="no-js" lang="en">
+<html class="no-js" lang="{{site.lang}}">
{% include head.html %}
-<body id="post" {% if page.image.feature %}class="feature" {% endif %}>
+<body id="post">
{% include header.html %}
<div id="main" role="main">
<article class="hentry">
@@ -18,30 +18,35 @@
<a target="_blank" href="{{ page.image.creditlink }}">{{page.image.credit }}</a>
</div>
{% endif %}
</div>
{% endif %}
+
<h1 class="post-title entry-title">{{ page.title }}</h1>
<h4 class="page-info">
<span>Categories: {{page.categories}}</span>
<time datetime="{{ page.date | date_to_xmlschema }}">{{ page.date | date: "%Y-%m-%d" }}</time>
<div class="qr-text" id="J_qr_text">
<div id="J_qr_code" class="qr-code" onmouseover="this.title='';"></div>
</div>
</h4>
+
{{ content }}
{% include buy-me-coffee.html %}
</div>
+
{% if page.comments != false and site.disqus_shortname %}
- <section id="disqus_thread">Disqus is climbing the Great Fire Wall of China, Maybe She needs <a href="https://sodatea.github.io/2015/12/23/all-i-know-about-the-wall/" target="_blank" class="need_dotted">a ladder.</a> 🤦🏼️ 🤷🏼️ </section>
+ <section id="disqus_thread">
+ Disqus is climbing the Great Fire Wall of China, Maybe She needs <a
+ href="https://sodatea.github.io/2015/12/23/all-i-know-about-the-wall/" target="_blank" class="need_dotted">a ladder.</a> 🤦🏼️ 🤷🏼️
+ </section>
{% endif %}
- {% if site.related_posts.size > 0 %}
{% include read-more.html %}
- {% endif %}
+
</article>
</div>
{% include footer.html %}