Skip to content

Commit 0366d86

Browse files
committed
remove comments from blog posts
1 parent 16e4711 commit 0366d86

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

_layouts/post.html

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -13,19 +13,19 @@ <h1 class="post-title p-name" itemprop="name headline">{{ page.title | escape }}
1313
{{ pdate | date: date_format }}
1414
</time>
1515
{%- if page.modified_date -%}
16-
<span class="bullet-divider"></span>
17-
<span class="meta-label">Updated:</span>
18-
{%- assign mdate = page.modified_date | date_to_xmlschema %}
19-
<time class="dt-modified" datetime="{{ mdate }}" itemprop="dateModified">
20-
{{ mdate | date: date_format }}
21-
</time>
16+
<span class="bullet-divider"></span>
17+
<span class="meta-label">Updated:</span>
18+
{%- assign mdate = page.modified_date | date_to_xmlschema %}
19+
<time class="dt-modified" datetime="{{ mdate }}" itemprop="dateModified">
20+
{{ mdate | date: date_format }}
21+
</time>
2222
{%- endif -%}
2323
{%- if page.author %}
2424
<div class="{% unless page.modified_date %}force-inline {% endunless %}post-authors">
2525
{%- for author in page.author %}
26-
<span itemprop="author" itemscope itemtype="http://schema.org/Person">
27-
<span class="p-author h-card" itemprop="name">{{ author }}</span></span>
28-
{%- if forloop.last == false %}, {% endif -%}
26+
<span itemprop="author" itemscope itemtype="http://schema.org/Person">
27+
<span class="p-author h-card" itemprop="name">{{ author }}</span></span>
28+
{%- if forloop.last == false %}, {% endif -%}
2929
{% endfor %}
3030
</div>
3131
{%- endif %}
@@ -36,15 +36,15 @@ <h1 class="post-title p-name" itemprop="name headline">{{ page.title | escape }}
3636
{{ content }}
3737
</div>
3838

39-
{% if jekyll.environment == 'production' -%}
39+
<!-- {% if jekyll.environment == 'production' -%}
4040
{% if page.comments == false -%}
4141
<div class="comments-disabled-message">
4242
Comments have been disabled for this post.
4343
</div>
4444
{% else -%}
4545
{%- include comments.html -%}
4646
{% endif -%}
47-
{% endif -%}
47+
{% endif -%} -->
4848

4949
<a class="u-url" href="{{ page.url | relative_url }}" hidden></a>
5050
</article>

0 commit comments

Comments
 (0)