rss for every category
This commit is contained in:
parent
cd6347f8c2
commit
0dde8aff3d
12 changed files with 90 additions and 88 deletions
|
@ -7,7 +7,7 @@ useTitle: true
|
|||
<main>
|
||||
<section data-pagefind-body>
|
||||
<ul class="collection">
|
||||
{%- for item in collections.webroll -%}
|
||||
{%- for item in collections.links -%}
|
||||
<li>
|
||||
<a href="{{item.url}}">{{item.data.title}}</a>
|
||||
{%- if item.data.date -%}
|
||||
|
|
|
@ -1,7 +1,5 @@
|
|||
---
|
||||
layout: "base.njk"
|
||||
eleventyComputed:
|
||||
title: "Posts tagged #{{ tag }}"
|
||||
pagination:
|
||||
data: collections
|
||||
size: 1
|
||||
|
@ -10,8 +8,11 @@ pagination:
|
|||
- posts
|
||||
- recipes
|
||||
- timeline
|
||||
permalink: /tags/{{ tag | slugify }}/
|
||||
useTitle: true
|
||||
eleventyComputed:
|
||||
title: "Posts tagged #{{ tag }}"
|
||||
permalink: /tags/{{ tag | slugify }}/
|
||||
rssUrl: /feeds/{{ tag | slugify }}.xml
|
||||
---
|
||||
{%- from "components/collectionList.njk" import collectionList with context -%}
|
||||
<main>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue