docs
docs copied to clipboard
Marketing
This puts the following into the feed at https://deploy-preview-1972--prometheus-docs.netlify.app/blog/feed.xml:
<author>
<name><a href="https://twitter.com/TwitchiH">Richard "RichiH" Hartmann</a></name>
<uri>https://prometheus.io/blog/</uri>
</author>
It would probably be better to set a separate field for the URL and put that into the <uri> XML tag for the author, rather than just pointing back to the blog.
Meh, I had hoped to bypass the need for any actual changed. Otoh, this allows us to migrate to main at the same time.
Sent by mobile; please excuse my brevity.
On Thu, Jun 10, 2021, 22:48 Julius Volz @.***> wrote:
This puts the following into the feed at https://deploy-preview-1972--prometheus-docs.netlify.app/blog/feed.xml:
Richard "RichiH" Hartmann https://prometheus.io/blog/ It would probably be better to set a separate field for the URL and put that into the
XML tag for the author, rather than just pointing back to the blog. — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/prometheus/docs/pull/1972#issuecomment-859052624, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAFYII7C5HTSOLCJ36IFDTDTSEQJRANCNFSM46PH6VPQ .
Btw. I have no idea how this works, but my hunch is that https://github.com/prometheus/docs/blob/master/content/blog/feed.erb basically defines defaults for the author name and URL, so maybe if you just set the uri field in your YAML frontmatter (instead of putting the link into the author field), maybe it will just magically already do the right thing. And then in https://github.com/prometheus/docs/blob/master/content/blog/index.html we would just also output the URL as a link properly if it's set.