Skip to content

Commit

Permalink
Disqusのコメント欄を追加
Browse files Browse the repository at this point in the history
設定にdisqusShortnameを追加
レイアウトにコメント欄を追加
  • Loading branch information
Candle5000 committed Sep 29, 2019
1 parent 7195d31 commit 3fe2f46
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
2 changes: 1 addition & 1 deletion config.toml
Expand Up @@ -17,7 +17,7 @@ hasCJKLanguage = true
subtitle = "cd5.jp管理人 蝋燭の日記 第5部"
brand = "BLOG.CD5.JP"
googleAnalytics = ""
disqus = ""
disqus = "guan-li-ren-nori-ji-part5"
# CSS name for highlight.js
highlightjs = "androidstudio"
highlightjs_extra_languages = ["yaml"]
Expand Down
13 changes: 13 additions & 0 deletions layouts/_default/single.html
@@ -0,0 +1,13 @@
{{ partial "header.html" . }}

<div class="header">
<h1>{{ .Title }}</h1>
<h2>{{ .Description }}</h2>
</div>
<div class="content">
{{ .Content }}
</div>

{{ template "_internal/disqus.html" . }}

{{ partial "footer.html" . }}

0 comments on commit 3fe2f46

Please sign in to comment.