Override RSS feed for tags
This commit is contained in:
parent
53707bb085
commit
2bb3574468
@ -21,9 +21,15 @@
|
||||
<link rel="stylesheet" type="text/css" href="/assets/css/prism.min.css" />
|
||||
{% endif %}
|
||||
<link rel="stylesheet" type="text/css" href="/assets/css/styles.css" />
|
||||
<link rel="alternate" type="application/rss+xml" title="LewisDale.Dev" href="/feed/" />
|
||||
<link rel="alternate" type="application/atom+xml" title="LewisDale.Dev Atom Feed" href="/feed/atom" />
|
||||
<link rel="alternate" type="application/json" title="LewisDale.Dev JSON Feed" href="/feed/json" />
|
||||
{% if feed %}
|
||||
<link rel="alternate" type="application/rss+xml" title="LewisDale.Dev" href="{{ feed }}" />
|
||||
<link rel="alternate" type="application/atom+xml" title="LewisDale.Dev Atom Feed" href="{{ feed }}atom" />
|
||||
<link rel="alternate" type="application/json" title="LewisDale.Dev JSON Feed" href="{{ feed }}json" />
|
||||
{% else %}
|
||||
<link rel="alternate" type="application/rss+xml" title="LewisDale.Dev" href="/feed/" />
|
||||
<link rel="alternate" type="application/atom+xml" title="LewisDale.Dev Atom Feed" href="/feed/atom" />
|
||||
<link rel="alternate" type="application/json" title="LewisDale.Dev JSON Feed" href="/feed/json" />
|
||||
{% endif %}
|
||||
<link rel="me" href="proven.lol/f730ca" />
|
||||
<link rel="me" href="https://social.lewisdale.dev/@lewis" />
|
||||
<link rel="me" href="https://github.com/LewisDaleUK" />
|
||||
|
@ -7,6 +7,7 @@ pagination:
|
||||
alias: tag
|
||||
eleventyComputed:
|
||||
permalink: "/post/tag/{{ tag.slug }}/"
|
||||
feed: "/post/tag/{{ tag.slug }}/feed/"
|
||||
---
|
||||
|
||||
<main class="wrapper-md stack-lg">
|
||||
|
Loading…
Reference in New Issue
Block a user