Skip to content

Commit

Permalink
Create feed_by.xml
Browse files Browse the repository at this point in the history
  • Loading branch information
xchopath committed Sep 4, 2023
1 parent 1b5343a commit 4f26ed6
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions assets/feed_by.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
---
layout: compress
permalink: /feed_by.xml
---

{% assign posts_by_author = site.posts | where:"author", page.url.params.author %}
{% for post in posts_by_author %}
<entry>
<title>{{ post.title }}</title>
<link>{{ post.url | relative_url }}</link>
</entry>
{% endfor %}

0 comments on commit 4f26ed6

Please sign in to comment.