Skip to content

Commit 686e2e2

Browse files
authored
Open supporting materials by default on posts
1 parent 8718bf2 commit 686e2e2

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

_includes/efflux_content.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@
129129
{% endif %}
130130

131131
{% if include.page.supporting_materials %}
132-
<details class="lollipop">
132+
<details class="lollipop" {% if include.is_post %}open{% endif %}>
133133
<summary class="lollipop">Supporting Materials</summary>
134134
<div class="lollipop-detail">
135135
{{ include.page.supporting_materials | markdownify }}

_layouts/efflux.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,6 @@ <h1 class="post-title" itemprop="name headline">{{ page.title }}</h1>
88
<span class="post-meta"><time datetime="{{ page.date | date_to_xmlschema }}" itemprop="datePublished"></time></span>
99
</header>
1010

11-
{% include efflux_content.html page=page %}
11+
{% include efflux_content.html page=page is_post=true %}
1212

1313
</article>

0 commit comments

Comments
 (0)