Skip to content

Commit 43ecbe3

Browse files
committed
get tags and categories to show in all pages, not only posts
1 parent 0415051 commit 43ecbe3

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

_templates/postcard.html

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1+
<nav class="bd-links" id="bd-docs-nav" aria-label="{{ _('Main navigation') }}">
2+
<div class="bd-toc-item active">
13
{% if pagename in ablog %}
24
{% set fa = ablog.fontawesome %}
35
{% set post = ablog[pagename] %}
4-
<nav class="bd-links" id="bd-docs-nav" aria-label="{{ _('Main navigation') }}">
5-
<div class="bd-toc-item active">
66
<h3>Notebook metadata</h3>
77

88
<ul>
@@ -39,12 +39,12 @@ <h3>Notebook metadata</h3>
3939
</li>
4040
{% endif %}
4141
</ul>
42+
{% endif %}
4243

43-
<!-- Workaround to make the whole sidebar scrollable. See https://github.com/pydata/pydata-sphinx-theme/issues/500 -->
44-
{% include "tagcloud.html" %}
45-
{% include "categories.html" %}
46-
{% include "sidebar-ethical-ads.html" %}
44+
<!-- Workaround to make the whole sidebar scrollable. See https://github.com/pydata/pydata-sphinx-theme/issues/500 -->
45+
{% include "tagcloud.html" %}
46+
{% include "categories.html" %}
47+
{% include "sidebar-ethical-ads.html" %}
4748

48-
</div>
49-
</nav>
50-
{% endif %}
49+
</div>
50+
</nav>

0 commit comments

Comments
 (0)