Use <link> to refer to the Atom feed

master
Mathias Bynens 2018-01-19 07:32:20 +01:00
parent ccd8f03b70
commit c62acac3df
No known key found for this signature in database
GPG Key ID: B6A1C4401A39330B
1 changed files with 3 additions and 3 deletions

View File

@ -6,10 +6,11 @@
<title>{{ title }}</title>
<link rel="stylesheet" href="/css/index.css">
<link rel="stylesheet" href="/posts/posts.css">
<link rel="alternate" href="/feed/" type="application/atom+xml" title="{{ title }}">
</head>
<body>
<header>
<a href="/""><img src="/img/logo.png" class="logo"></a>
<a href="/"><img src="/img/logo.png" class="logo"></a>
<ul class="nav">
{%- for nav in collections.nav | reverse -%}
<li class="nav-item"><a href="{{ nav.url | url }}">{{ nav.data.navtitle }}</a></li>
@ -19,8 +20,7 @@
{{ layoutContent | safe }}
<footer>
<p><em><a href="/feed/">Subscribe to my feed</a></em></p>
<p><em>Current page: <code>{{ page.url | url }}</code></em></p>
</footer>
</body>
</html>
</html>