-
-
Notifications
You must be signed in to change notification settings - Fork 9.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Link atom feed from html head #2996
Conversation
This makes it possible for browsers to autodiscover the feed. Fixes jekyll#2995
@@ -8,4 +8,5 @@ | |||
|
|||
<link rel="stylesheet" href="{{ "/css/main.css" | prepend: site.baseurl }}"> | |||
<link rel="canonical" href="{{ page.url | replace:'index.html','' | prepend: site.baseurl | prepend: site.url }}"> | |||
<link rel="alternate" type="application/atom+xml" title="{{ site.title }}" href="/feed.xml" /> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great! Would you please make the feed link more like the others:
{{ "/feed.xml" | prepend: site.baseurl | prepend: site.url }}
Thanks! |
Tiny nit-pick that may be completely irrelevant: the |
It's certainly of consequence. If it does not conform to the Atom spec, then let's change this. Submit a PR? |
Most certainly, coming up. |
This makes it possible for browsers to autodiscover the feed. Fixes #2995