summaryrefslogtreecommitdiffstats
path: root/templates/base.html
diff options
context:
space:
mode:
authorHarald Eilertsen <haraldei@anduin.net>2020-07-02 01:17:51 +0200
committerHarald Eilertsen <haraldei@anduin.net>2020-07-02 01:17:51 +0200
commit3b344a76acee93c920392f57da02bb173ce48d58 (patch)
tree85f588da2b4b7fbbfeaaf83b1ff3fd7ebf5d4873 /templates/base.html
parent6accfc2a36e204e34452e5e8a9676cad42610a7e (diff)
downloadrabalderz-3b344a76acee93c920392f57da02bb173ce48d58.tar.gz
rabalderz-3b344a76acee93c920392f57da02bb173ce48d58.tar.bz2
rabalderz-3b344a76acee93c920392f57da02bb173ce48d58.zip
Update base template.
Add altternate links to main atom feeds. Fix escaping of logo file name.
Diffstat (limited to 'templates/base.html')
-rw-r--r--templates/base.html19
1 files changed, 13 insertions, 6 deletions
diff --git a/templates/base.html b/templates/base.html
index a2ddeb9..78dcb60 100644
--- a/templates/base.html
+++ b/templates/base.html
@@ -6,18 +6,25 @@
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>{% if page.title %}{{ page.title }}{% else %}{{ config.title }}{% endif %}</title>
- <meta name="description" content="{{ trans(key="description", lang=lang) }}">
-
- <link rel="stylesheet" type="text/css" href="{{ get_url(path="/styles.css") | safe }}">
- {# <link rel="canonical" href="{{ page.url | replace:'index.html','' | prepend: site.baseurl | prepend: site.url }}"> #}
+ <meta name="description" content="{{ trans(key='description', lang=lang) }}">
+
+ <link rel="stylesheet" type="text/css" href="{{ get_url(path='/styles.css') | safe }}">
+ <link rel="alternate"
+ type="application/atom+xml"
+ href="{{ get_url(path='/feed.xml') | safe }}"
+ title="Rabalder atom feed (Norwegian)">
+ <link rel="alternate"
+ type="application/atom+xml"
+ href="{{ get_url(path='en/feed.xml') | safe }}"
+ title="Rabalder atom feed (English)">
</head>
<body>
<header id="site-header" class="site-header">
<div class="site-title">
- <a href="{{ get_url(path="@/_index.md", lang=lang) }}">
- <img src="{{ get_url(path="/rabalder-2am.png") }}" alt="{{ config.title }}">
+ <a href="{{ get_url(path='@/_index.md', lang=lang) | safe }}">
+ <img src="{{ get_url(path='/rabalder-2am.png') | safe }}" alt="{{ config.title }}">
</a>
</div>
<div class="site-bar">