Skip to content

Commit 553b892

Browse files
committed
blog: fix config/layout/issues (_layouts/post.html)
1 parent c552630 commit 553b892

1 file changed

Lines changed: 15 additions & 2 deletions

File tree

‎_layouts/post.html‎

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,19 @@
33
---
44
<h1>{{ page.title }}</h1>
55

6-
<small>{{ page.date | date: "%-d %B %Y" }}</small>
6+
<small>{{ page.date | date: "%Y年%-m月%-d日" }}</small>
77

8-
{{content}}
8+
{{ content }}
9+
10+
{% if site.comments.provider == "utterances" and page.comments != false %}
11+
<section class="comments">
12+
<script src="https://utteranc.es/client.js"
13+
repo="{{ site.comments.utterances.repo }}"
14+
issue-term="{{ site.comments.utterances.issue_term }}"
15+
label="{{ site.comments.utterances.label }}"
16+
theme="{{ site.comments.utterances.theme }}"
17+
crossorigin="anonymous"
18+
async>
19+
</script>
20+
</section>
21+
{% endif %}

0 commit comments

Comments
 (0)