Skip to content

Commit

Permalink
themes: add disqus
Browse files Browse the repository at this point in the history
  • Loading branch information
changkun committed Jan 27, 2021
1 parent 842261d commit afd5042
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
2 changes: 2 additions & 0 deletions config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ baseURL = "https://golang.design/research"
languageCode = "en-us"
title = "golang.design/research"
theme = "research"
disqusShortname = "golang-design-research"

[permalinks]
posts = "/:slug"

Expand Down
1 change: 0 additions & 1 deletion themes/research/layouts/_default/baseof.html
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,5 @@
{{ partial "header" . }}
{{ block "main" . }}{{ end }}
{{ partial "footer" . }}
{{ partial "scripts" .}}
</body>
</html>
2 changes: 2 additions & 0 deletions themes/research/layouts/_default/single.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,6 @@ <h1 class="title">{{ .Title }}</h1>
</article>
</main>
{{ partial "sidebar.html" . }}
{{ partial "scripts" .}}
{{ template "_internal/disqus.html" . }}
{{ end }}

0 comments on commit afd5042

Please sign in to comment.