Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions layouts/partials/head.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@
<link rel="icon" type="image/png" sizes="16x16" href={{ "favicon-16x16.png" | absURL }}>
<link rel="manifest" href={{ "site.webmanifest" | absURL }}>
<link rel="mask-icon" href={{ "safari-pinned-tab.svg" | absURL }} color="#00416a">
<link rel="feed" type="application/rss+xml" href="./index.xml" title="{{ .Title }}" />
<link rel="alternate" type="application/rss+xml" href="./index.xml" title="{{ .Title }}" />
Comment on lines +13 to +14
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I like that using ./index.html will allow for feed auto-discovery of /posts/index.xml, /tags/index.xml, etc.

Should there be some additional logic would be useful here to make sure that we exclude, for example, /pages/2 (which doesn't have an associated index.xml file)?

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ideally, yes, It'd be better to only include a link where present. I don't know how to do that.

<meta name="msapplication-TileColor" content="#00aba9">
<meta name="theme-color" content="#ffffff">
<!-- IndieWeb identity -->
Expand Down