Skip to content

Commit 50dd71e

Browse files
authored
ADD: Sidebar affix on all pages.
1 parent d3b4b15 commit 50dd71e

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

layout/page.swig

+6
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@
1313
#}{% endif %}{#
1414
#}{% endblock %}
1515

16+
{% block page_class %}page-post-detail{% endblock %}
17+
1618
{% block content %}
1719

1820
<div id="posts" class="posts-expand">
@@ -46,3 +48,7 @@
4648
{% block sidebar %}
4749
{{ sidebar_template.render(false) }}
4850
{% endblock %}
51+
52+
{% block script_extra %}
53+
{% include '_scripts/pages/post-details.swig' %}
54+
{% endblock %}

0 commit comments

Comments
 (0)