_layouts/post.html in jekyll-theme-hamilton-3.1.0 vs _layouts/post.html in jekyll-theme-hamilton-4.0.0

- old
+ new

@@ -10,13 +10,13 @@ <p class="post-meta"> {%- assign date_format = site.date_format | default: "%b %-d, %Y" -%} <time class="dt-published" datetime="{{ page.date | date_to_xmlschema }}" itemprop="datePublished"> {{ page.date | date: date_format }} </time> - {%- if page.modified_date -%} + {%- if page.last_modified_at -%} ~ - {%- assign mdate = page.modified_date | date_to_xmlschema -%} + {%- assign mdate = page.last_modified_at | date_to_xmlschema -%} <time class="dt-modified" datetime="{{ mdate }}" itemprop="dateModified"> {{ mdate | date: date_format }} </time> {%- endif -%} {%- if page.author -%} @@ -78,10 +78,10 @@ </a> {% endif %} </nav> </footer> - {% if page.comments != false and jekyll.environment == "production" %} + {% if page.comments != false and jekyll.environment == "production" and site.disqus %} {% include disqus.html %} {% endif %} </article>