Skip to content

Commit

Permalink
Always regenerate index pages
Browse files Browse the repository at this point in the history
  • Loading branch information
garazdawi committed Apr 12, 2024
1 parent 4c62ba7 commit 73a91fb
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
3 changes: 2 additions & 1 deletion blog.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
layout: postbase
title: "Blog"
rss: blog
regenerate: true
---
{% for post in site.posts %}
{% include post-item.html post=post excerpt=true %}
{% endfor %}
{% endfor %}
1 change: 1 addition & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
layout: default
title: "Index"
css: index
regenerate: true
---
<div class="bg-erlang-grey">
<div class="container banner px-0 px-md-2">
Expand Down
3 changes: 2 additions & 1 deletion news.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,9 @@
layout: postbase
title: "News"
rss: news
regenerate: true
---
{% assign news = site.news|reverse %}
{% for post in news %}
{% include post-item.html post=post excerpt=true %}
{% endfor %}
{% endfor %}

0 comments on commit 73a91fb

Please sign in to comment.