Add feed link to header
This commit is contained in:
parent
0c477e0cdd
commit
b307eb391b
1 changed files with 3 additions and 0 deletions
|
@ -43,6 +43,9 @@ sub generate-head(BlogMeta:D $meta, $title?, $description?) is export {
|
||||||
:href</resources/admonitions.css>;
|
:href</resources/admonitions.css>;
|
||||||
# Tell dark reader that we'll behave
|
# Tell dark reader that we'll behave
|
||||||
meta :name<color-scheme>, :content<light dark>;
|
meta :name<color-scheme>, :content<light dark>;
|
||||||
|
# Tell feed readers about our feed
|
||||||
|
link :rel<alternate>, :type<application/atom+xml>, :title($meta.title),
|
||||||
|
:href</feed.xml>;
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue