Skip to content

Commit

Permalink
Tests with ADI
Browse files Browse the repository at this point in the history
  • Loading branch information
alvagante committed Dec 28, 2024
1 parent 7f3c121 commit 650c91d
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 3 deletions.
7 changes: 6 additions & 1 deletion _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,9 @@ social:
- title: youtube
url: https://youtube.com/@AbnormalDevOpsIterations
- title: twitter
url: https://x.com/example42
url: https://x.com/example42

collections:
episodes:
output: true
permalink: /episodes/:path/
7 changes: 5 additions & 2 deletions _includes/adi_list.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,12 @@

<div class="lead">
<ul class="posts">
{% for post in site.episodes %}
{% assign numbered_posts = site.episodes | where: "extname", ".md" %}
{% assign sorted_posts = numbered_posts | sort: "path" | reverse %}
{% for post in sorted_posts %}
{% assign file_number = post.path | split: "/" | last | replace: ".md", "" | plus: 0 %}
<li>
{{ post.date | date: "%Y-%m-%d" }} - <a href="{{ site.url }}{{ post.url }}" target="_parent">{{ post.title }}</a>
<strong>{{ post.path | split: '/' | last | replace: '.md', '' }} </strong>: <a href="{{ site.url }}{{ post.url }}" target="_parent">{{ post.title }}</a>
</li>
{% endfor %}
</ul>
Expand Down

0 comments on commit 650c91d

Please sign in to comment.