#133, move disqus to separate template to allow override, rename BookDisqus to BookComments

This commit is contained in:
Alex Shpak
2020-01-17 21:44:25 +01:00
parent b9688d7e36
commit 4b641b0f9a
8 changed files with 21 additions and 16 deletions
+3 -2
View File
@@ -72,7 +72,8 @@ enableGitInfo = true
# Index is built on fly, therefore it might slowdown your website.
BookSearch = true
# (Optional, default true) Enables disqus template on pages
# (Optional, default true) Enables comments template on pages
# By default partals/docs/comments.html includes Disqus template
# See https://gohugo.io/content-management/comments/#configure-disqus
# Can be overwritten by same param in page frontmatter
BookDisqus = true
BookComments = true
+3 -2
View File
@@ -70,7 +70,8 @@ params:
# Index is built on fly, therefore it might slowdown your website.
BookSearch: true
# (Optional, default true) Enables disqus template on pages
# (Optional, default true) Enables comments template on pages
# By default partals/docs/comments.html includes Disqus template
# See https://gohugo.io/content-management/comments/#configure-disqus
# Can be overwritten by same param in page frontmatter
BookDisqus: true
BookComments: true
File diff suppressed because one or more lines are too long
@@ -1 +1 @@
{"Target":"book.min.55920954286c88383b10fdedb2b7a929f7806a705625186b14fa1df9056a8b1c.css","MediaType":"text/css","Data":{"Integrity":"sha256-VZIJVChsiDg7EP3tsrepKfeAanBWJRhrFPod+QVqixw="}}
{"Target":"book.min.327a7346ed65bd45e7889adff447f01f212a1b54dbf3c12139d26b63b077108f.css","MediaType":"text/css","Data":{"Integrity":"sha256-MnpzRu1lvUXniJrf9EfwHyEqG1Tb88EhOdJrY7B3EI8="}}