Skip to content
This repository has been archived by the owner on Jun 27, 2023. It is now read-only.

Commit

Permalink
#8 disqus integration.
Browse files Browse the repository at this point in the history
  • Loading branch information
gkmngrgn committed Feb 14, 2019
1 parent f91e8aa commit 409b005
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ Websites that are using hugo with alaGeek theme:
* Twitter cards support.
* LaTeX support with MathJax.
* Possibility to add extra scripts with `footer_extra.html`.
* Disqus support.

## Supported Languages

Expand Down
6 changes: 6 additions & 0 deletions layouts/blog/single.html
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,12 @@ <h1 class="mx-0 mx-md-4">{{ .Title }}</h1>
</div>
</div>
{{ end }}

{{ if .Site.DisqusShortname }}
<div class="mt-5 disqus">
{{ template "_internal/disqus.html" . }}
</div>
{{ end }}
</div>
</div>
</div>
Expand Down

0 comments on commit 409b005

Please sign in to comment.