Link to the atom feed in the html head
- Id
- 3eb6bc244904177d8059052973742c8bbcbea873
- Author
- Caio
- Commit time
- 2024-02-28T20:35:11+01:00
Modified caca/theme/base.html
<title>{% block title %}caio's code asylum{% endblock title %}</title>
<link rel="icon"
href="data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 100 100%22><text y=%22.9em%22 font-size=%2290%22>🍄</text></svg>">
+ {% block head %}{% endblock head %}
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="generator" content="caca - https://caio.co/de/caca">
<style>
Modified caca/theme/index.html
{{ title }}
{% endblock title %}
+{% block head %}
+<link rel="alternate" type="application/atom+xml" title="{{ title }} feed" href="atom.xml" />
+{% endblock head %}
+
{% block header %}
{{ header_html | safe }}
{% endblock header %}
Modified caca/theme/summary.html
{% extends "repo.html" %}
{% block title %}
{{ repo.name }}{% if repo.description %}: {{repo.description}}{% endif %}
{% endblock title %}
+{% block head %}
+<link rel="alternate" type="application/atom+xml" title="{{ title }} feed" href="atom.xml" />
+{% endblock head %}
+
{% block main %}
<nav>
<ul>