Skip to content

Commit

Permalink
themes: use utteranc.es
Browse files Browse the repository at this point in the history
  • Loading branch information
changkun committed Feb 3, 2021
1 parent afd5042 commit 8083a3f
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
1 change: 0 additions & 1 deletion config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ baseURL = "https://golang.design/research"
languageCode = "en-us"
title = "golang.design/research"
theme = "research"
disqusShortname = "golang-design-research"

[permalinks]
posts = "/:slug"
Expand Down
11 changes: 10 additions & 1 deletion themes/research/layouts/_default/single.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,14 @@ <h1 class="title">{{ .Title }}</h1>
</main>
{{ partial "sidebar.html" . }}
{{ partial "scripts" .}}
{{ template "_internal/disqus.html" . }}

<!-- comments -->
<script src="https://utteranc.es/client.js"
repo="golang-design/research"
issue-term="pathname"
label="comments"
theme="preferred-color-scheme"
crossorigin="anonymous"
async>
</script>>
{{ end }}

0 comments on commit 8083a3f

Please sign in to comment.