Skip to content

Commit

Permalink
chg: [layout] removed deprecated function from Hugo
Browse files Browse the repository at this point in the history
  • Loading branch information
adulau committed Sep 2, 2024
1 parent fb7c5f8 commit 9a7d97a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
2 changes: 1 addition & 1 deletion config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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 = ""

Expand Down
6 changes: 0 additions & 6 deletions layouts/_default/single.html
Original file line number Diff line number Diff line change
Expand Up @@ -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 -->
Expand Down

0 comments on commit 9a7d97a

Please sign in to comment.