aboutsummaryrefslogtreecommitdiff
path: root/templates/web/base.html
diff options
context:
space:
mode:
authorfabrixxm <fabrix.xm@gmail.com>2021-03-18 16:00:23 +0100
committerfabrixxm <fabrix.xm@gmail.com>2021-03-18 16:00:23 +0100
commit768de298cb1babd3a9e4fcbce74d78d369210caa (patch)
tree8caa66248a098da3065056ef7ca7cf67dfa19297 /templates/web/base.html
parentb5d445a5a11918b6d41cd0e8be9677e8963b05dc (diff)
Add atom feed
Diffstat (limited to 'templates/web/base.html')
-rw-r--r--templates/web/base.html5
1 files changed, 4 insertions, 1 deletions
diff --git a/templates/web/base.html b/templates/web/base.html
index 018d66a..a2a8097 100644
--- a/templates/web/base.html
+++ b/templates/web/base.html
@@ -5,7 +5,10 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<!-- <link rel="stylesheet" type="text/css" href="links.css"> -->
<link rel="shortcut icon" href="favicon.ico">
- <link rel="alternate" type="application/rss+xml" title="RSS" href="/rss">
+ <link rel="alternate" type="application/atom+xml" href="/atom.xml" title="Atom Feed"/>
+ {% if q %}
+ <link rel="alternate" type="application/atom+xml" href="/atom.xml?q={{ q|urlencode }}" title="Results for '{{ q }}'"/>
+ {% endif %}
<title>{% block title %}Linkopedia{% endblock %}</title>
<style>
html { width: 100%; }