File tree Expand file tree Collapse file tree 2 files changed +11
-3
lines changed
Expand file tree Collapse file tree 2 files changed +11
-3
lines changed Original file line number Diff line number Diff line change @@ -28,4 +28,9 @@ social:
2828 - title : youtube
2929 url : https://youtube.com/@AbnormalDevOpsIterations
3030 - title : twitter
31- url : https://x.com/example42
31+ url : https://x.com/example42
32+
33+ collections :
34+ episodes :
35+ output : true
36+ permalink : /episodes/:path/
Original file line number Diff line number Diff line change 1515
1616 < div class ="lead ">
1717 < ul class ="posts ">
18- {% for post in site.episodes %}
18+ {% assign numbered_posts = site.episodes | where: "extname", ".md" %}
19+ {% assign sorted_posts = numbered_posts | sort: "path" | reverse %}
20+ {% for post in sorted_posts %}
21+ {% assign file_number = post.path | split: "/" | last | replace: ".md", "" | plus: 0 %}
1922 < li >
20- {{ post.date | date: "%Y-%m-%d" }} - < a href ="{{ site.url }}{{ post.url }} " target ="_parent "> {{ post.title }}</ a >
23+ < strong > {{ post.path | split: '/' | last | replace: '.md', '' }} </ strong > : < a href ="{{ site.url }}{{ post.url }} " target ="_parent "> {{ post.title }}</ a >
2124 </ li >
2225 {% endfor %}
2326 </ ul >
You can’t perform that action at this time.
0 commit comments