mirror of
https://github.com/edg-l/edgarluque.com.git
synced 2024-11-09 09:38:23 +00:00
taxonomy rss
This commit is contained in:
parent
da37fd8d49
commit
ae3909f2d4
|
@ -19,7 +19,9 @@
|
|||
<link rel="preconnect" href="https://fonts.googleapis.com">
|
||||
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
||||
<link href="https://fonts.googleapis.com/css2?family=JetBrains+Mono:ital,wght@0,300;0,400;0,700;1,300;1,400;1,700&display=swap" rel="stylesheet">
|
||||
<link rel="alternate" type="application/atom+xml" title="RSS" href="/blog/atom.xml">
|
||||
{% block rss %}
|
||||
<link rel="alternate" type="application/atom+xml" title="RSS" href="/atom.xml">
|
||||
{% endblock %}
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
@ -42,7 +44,6 @@
|
|||
>GitHub</a
|
||||
>
|
||||
</li>
|
||||
<li><a href="/blog/atom.xml">RSS</a></li>
|
||||
</ul>
|
||||
</header>
|
||||
<section class="section container">
|
||||
|
|
|
@ -16,4 +16,6 @@
|
|||
{% endfor %}
|
||||
</ul>
|
||||
|
||||
<p><a href="/atom.xml">RSS Feed</a></p>
|
||||
|
||||
{% endblock content %}
|
||||
|
|
|
@ -1,4 +1,13 @@
|
|||
{% extends "base.html" %} {% block content %}
|
||||
{% extends "base.html" %}
|
||||
|
||||
{% set rss_path = term.path ~ "atom.xml" %}
|
||||
|
||||
{% block rss %}
|
||||
{% set rss_path = term.path ~ "atom.xml" %}
|
||||
<link rel="alternate" type="application/atom+xml" title="RSS" href="{{ get_url(path=rss_path, trailing_slash=false) }}">
|
||||
{% endblock rss %}
|
||||
|
||||
{% block content %}
|
||||
|
||||
<h1 class="capitalize">{{ term.name }} articles</h1>
|
||||
|
||||
|
@ -13,4 +22,6 @@
|
|||
{% endfor %}
|
||||
</ul>
|
||||
|
||||
<p><a href="{{ get_url(path=rss_path, trailing_slash=false) }}">RSS Feed</a></p>
|
||||
|
||||
{% endblock content %}
|
||||
|
|
Loading…
Reference in a new issue