Move all RSS feed meta tags to base template

This commit is contained in:
jultty 2024-10-01 18:46:29 -03:00
commit bbeac1ef30
3 changed files with 1 additions and 9 deletions

View file

@ -52,6 +52,7 @@
{%- endif -%}
<link rel="alternate" type="application/rss+xml" title="{{ locale_all_content }} ({{ locale_language_name }})" href="{{ get_url(path="atom.xml", lang=lang, trailing_slash=false) }}">
<link rel="alternate" type="application/rss+xml" title="Posts ({{ locale_language_name }})" href="{{ get_url(path="posts/atom.xml", lang=lang, trailing_slash=false) }}">
<link rel="alternate" type="application/rss+xml" title="Links" href="{{ get_url(path="links/atom.xml", trailing_slash=false) }}">
{%- endblock %}
{%- block extra_head %}{% endblock %}
</head>

View file

@ -1,10 +1,5 @@
{% extends "base.html" %}
{%- block extra_head %}
<link rel="alternate" type="application/rss+xml" title="Links" href="{{ get_url(path="atom.xml", trailing_slash=false) }}">
{%- endblock %}
{%- block content %}
<h1 id="post-title"><a href="{{ page.extra.url }}">{{ page.title }}</a></h1>
<time class="link-date"><strong>{% if lang == "pt" %}Linkado{% else %}Linked{% endif %} {{ page.date }}</strong></time>

View file

@ -1,9 +1,5 @@
{% extends "base.html" %}
{%- block extra_head %}
<link rel="alternate" type="application/rss+xml" title="Links" href="http://127.0.0.1:1111/links/atom.xml">
{%- endblock %}
{%- block content %}
{%- set english_section = get_section(path="links/_index.md", lang="en") %}
<h1 class="title">{{ section.title }}</h1>