Merge pull request #1 from mathiasbynens/link
Use <link> to refer to the Atom feed
This commit is contained in:
commit
283df5ef4c
@ -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,7 +20,6 @@
|
|||||||
{{ 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>
|
||||||
|
Loading…
Reference in New Issue
Block a user