chg: [layout] removed deprecated function from Hugo

pull/107/head
Alexandre Dulaunoy 2024-09-02 09:24:51 +02:00
parent fb7c5f83a8
commit 9a7d97ab4b
No known key found for this signature in database
GPG Key ID: 09E2CD4944E6CBCD
2 changed files with 1 additions and 7 deletions

View File

@ -5,7 +5,7 @@ languageCode = "en-us"
# Site language. Available translations in the theme's `/i18n` directory.
defaultContentLanguage = "en"
# Enable comments by entering your Disqus shortname
disqusShortname = ""
#disqusShortname = ""
# Enable Google Analytics by entering your tracking code
googleAnalytics = ""

View File

@ -46,12 +46,6 @@
<div id="post-content">
{{ .Content }}
</div>
<!-- /#post-content -->
{{ if .Site.DisqusShortname }}
<div id="comments">
{{ template "_internal/disqus.html" . }}
</div>
{{ end }}
</div>
<!-- /#blog-post -->