The scrolled download icon is displayed even if `show_downloads: false` is specified.
fu-sen opened this issue · 1 comments
fu-sen commented
Use this theme by setting _config.yml
to:
show_downloads: false
The header disappears the download icon as expected:
But when scrolling down, the header still shows the download icon:
I referred to the template and noticed it:
/_layouts/default.html:
<div class="current-section">
<a href="#top">Scroll to top</a>
<a href="{{ site.github.tar_url }}" class="tar">tar</a><a href="{{ site.github.zip_url }}" class="zip">zip</a><a href="" class="code">source code</a>
<p class="name"></p>
</div>
There is no {% if site.show_downloads%}
and {% endif%}
.
stale commented
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.