diff --git a/exampleSite/config/_default/config.yaml b/exampleSite/config/_default/config.yaml index a4952f62e..4c6ea1adc 100644 --- a/exampleSite/config/_default/config.yaml +++ b/exampleSite/config/_default/config.yaml @@ -1,6 +1,8 @@ baseURL: "https://example.com" # theme: hugo-theme-iris +disqusShortname: hugothemeiris + # paginate: 3 canonifyURLs: true enableRobotsTXT: true diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index b94c6d9c3..8bda0b607 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -6,8 +6,10 @@
- {{ partial "lang-button" . }} - {{ partial "edit-button" . }} +
+ {{ partial "lang-button" . }} + {{ partial "edit-button" . }} +
{{ block "main" . }}{{ end }}
diff --git a/layouts/_default/single.html b/layouts/_default/single.html index 2d380aa4c..755fd9134 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -1,4 +1,7 @@ {{ define "main" }} {{ partial "eyecatch" . }} {{ partial "content" . }} +
+ {{ template "_internal/disqus.html" . }} +
{{ end }}