Closed LinkSake closed 2 months ago
Code could be something like this
<style>
.title-section {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
a {
margin-block-start: 1.66em;
margin-block-end: 1.66em;
text-align: end;
}
}
...
</style>
<div class="title-section">
<h1>
{{ section.title }}
</h1>
<a href="{{ get_url(path="atom.xml", trailing_slash=false) }}">
RSS
</a>
</div>
...
Don't we already have this?
templates/base.html
16: <link rel="alternate" type="application/atom+xml" title="Atom" href="{{ get_url(path="atom.xml", trailing_slash=false) }}">
Feel free to submit a PR for this.
https://helix-editor.com/atom.xml returns a 404 for me. It used to work 5 hours ago.
https://helix-editor.com/atom.xml returns a 404 for me. It used to work 5 hours ago.
Do you still have that issue? It seams to work fine for me.
Was resolved through https://github.com/helix-editor/website/pull/48
I took me a while to realize that the RSS feed was under
/atom.xml
. I think it's pretty standard to have some link pointing to it on the news page or the footer, something like this:Reading the Zola docs it would just be a matter to add a link with
href="{{ get_url(path="atom.xml", trailing_slash=false) }}"
since thebase.html
file already has the feeds autodiscovery option.