Skip to content

Commit b1c61fc

Browse files
authored
Fix sets working only for "Getting Started"
The series of posts displayed in posts was hard coded to "Getting Started"
1 parent 35e75d4 commit b1c61fc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

_layouts/post.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ <h1>{{ page.title }}</h1>
4040

4141
{% if page.set %}
4242
{% assign set_file_name = "_sets/" | append: page.set | append: ".md" %}
43-
{% assign set = site.sets | where: "title", "Getting Started" | first %}
43+
{% assign set = site.sets | where: "path", set_file_name | first %}
4444
{% assign series_posts = site.posts | where: "set", page.set %}
4545
<div class="tutorial-series">
4646
<h3>{{ set.title }} - Series</h3>

0 commit comments

Comments
 (0)