#103: extracting disqus code to separate file layouts/partials/disqus.html.

It'll give all the opportunities to override this partial on the client-side.
This commit is contained in:
Maksim Iakunin 2021-10-10 15:07:21 +03:00
parent 4768cf6f9c
commit 0dbddf0e2d
No known key found for this signature in database
GPG Key ID: 629DE6EA48DAF1F4
2 changed files with 4 additions and 3 deletions

View File

@ -24,7 +24,7 @@
{{ end }}
{{ if .Site.DisqusShortname }}
{{ template "_internal/disqus.html" . }}
{{ partial "disqus.html" . }}
{{ end }}
{{ if .Site.Params.UtterancesRepo }}

View File

@ -0,0 +1 @@
{{ template "_internal/disqus.html" . }}