Access Disqus shortname from canonical location (#660)
| | |
| | | |
| | | To enable comments, add following to your config file: |
| | | |
| | | - DISQUS: `disqusShortname = YOURSHORTNAME` |
| | | - COMMENTO: |
| | | - DISQUS: |
| | | |
| | | ```toml |
| | | [services.disqus] |
| | | shortname = 'YOURSHORTNAME' |
| | | ``` |
| | | |
| | | - COMMENTO: |
| | | |
| | | ```toml |
| | | [params] |
| | | commentoEnable = true |
| | | ``` |
| | |
| | | {{- .Content -}} |
| | | {{- partial "tags.html" . -}} |
| | | <div class="mt6 instapaper_ignoref"> |
| | | {{ if .Site.DisqusShortname }} |
| | | {{ if .Site.Config.Services.Disqus.Shortname }} |
| | | {{ template "_internal/disqus.html" . }} |
| | | {{ end }} |
| | | {{ if .Site.Params.commentoEnable }} |