Skip to content

Commit 6344689

Browse files
committed
Add a hidden book excerpt
1 parent fe14e08 commit 6344689

File tree

2 files changed

+394
-0
lines changed

2 files changed

+394
-0
lines changed

src/_layouts/post.html

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ <h1>{{ page.title }}</h1>
2323

2424
{{ content }}
2525

26+
{% if page.show_related_posts == true %}
2627
<div class="related-posts">
2728
<p>Read next:</p>
2829
<ul>
@@ -34,6 +35,7 @@ <h1>{{ page.title }}</h1>
3435
{% endif %}
3536
</ul>
3637
</div>
38+
{% endif %}
3739

3840
</div><!-- main-content/col -->
3941
</div> <!--/row -->

0 commit comments

Comments
 (0)