We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
In layouts/_default/single.html, there is a div for comments, which creates unnecessary (and IMHO annoying) vertical space if comments are disabled:
layouts/_default/single.html
<div class="mt6 instapaper_ignoref"> {{ if .Site.DisqusShortname }} {{ template "_internal/disqus.html" . }} {{ end }} {{ if .Site.Params.commentoEnable }} {{- partial "commento.html" . -}} {{ end }} </div>
https://github.com/theNewDynamic/gohugo-theme-ananke/blob/master/layouts/_default/single.html#L53
I suggest that this div is only included if any comment system is enabled. Something like this:
{{ if .Site.DisqusShortname }} <div class="mt6 instapaper_ignoref"> {{ template "_internal/disqus.html" . }} </div> {{ end }} {{ if .Site.Params.commentoEnable }} <div class="mt6 instapaper_ignoref"> {{- partial "commento.html" . -}} </div> {{ end }}
The text was updated successfully, but these errors were encountered:
No branches or pull requests
In
layouts/_default/single.html
, there is a div for comments, which creates unnecessary (and IMHO annoying) vertical space if comments are disabled:https://github.com/theNewDynamic/gohugo-theme-ananke/blob/master/layouts/_default/single.html#L53
I suggest that this div is only included if any comment system is enabled. Something like this:
The text was updated successfully, but these errors were encountered: