Skip to content

Instantly share code, notes, and snippets.

@danielraffel
Created January 30, 2024 04:55
Show Gist options
  • Save danielraffel/b9fcc4f91e0ce11737a67cb8200217e4 to your computer and use it in GitHub Desktop.
Save danielraffel/b9fcc4f91e0ce11737a67cb8200217e4 to your computer and use it in GitHub Desktop.
Create the links collection and add the RSS feeds
routes:
/links/rss/:
template: links/rss
content_type: text/xml
/rss/:
template: home/rss
content_type: text/xml
collections:
/:
permalink: /{year}/{month}/{day}/{slug}/
template: index
filter: primary_tag:-links
/links/:
permalink: /links/{year}/{month}/{day}/{slug}/
template: links
filter: primary_tag:links
data: tag.links
taxonomies:
tag: /tag/{slug}/
author: /author/{slug}/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment