Use <link> to refer to the Atom feed
This commit is contained in:
parent
ccd8f03b70
commit
c62acac3df
@ -6,10 +6,11 @@
|
|||||||
<title>{{ title }}</title>
|
<title>{{ title }}</title>
|
||||||
<link rel="stylesheet" href="/css/index.css">
|
<link rel="stylesheet" href="/css/index.css">
|
||||||
<link rel="stylesheet" href="/posts/posts.css">
|
<link rel="stylesheet" href="/posts/posts.css">
|
||||||
|
<link rel="alternate" href="/feed/" type="application/atom+xml" title="{{ title }}">
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<header>
|
<header>
|
||||||
<a href="/""><img src="/img/logo.png" class="logo"></a>
|
<a href="/"><img src="/img/logo.png" class="logo"></a>
|
||||||
<ul class="nav">
|
<ul class="nav">
|
||||||
{%- for nav in collections.nav | reverse -%}
|
{%- for nav in collections.nav | reverse -%}
|
||||||
<li class="nav-item"><a href="{{ nav.url | url }}">{{ nav.data.navtitle }}</a></li>
|
<li class="nav-item"><a href="{{ nav.url | url }}">{{ nav.data.navtitle }}</a></li>
|
||||||
@ -19,8 +20,7 @@
|
|||||||
{{ layoutContent | safe }}
|
{{ layoutContent | safe }}
|
||||||
|
|
||||||
<footer>
|
<footer>
|
||||||
<p><em><a href="/feed/">Subscribe to my feed</a></em></p>
|
|
||||||
<p><em>Current page: <code>{{ page.url | url }}</code></em></p>
|
<p><em>Current page: <code>{{ page.url | url }}</code></em></p>
|
||||||
</footer>
|
</footer>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
Loading…
Reference in New Issue
Block a user