1
0
mirror of https://github.com/alanorth/hugo-theme-bootstrap4-blog.git synced 2024-12-19 00:52:19 +01:00

Add RSS feed for posts to base layout

Not sure who uses RSS anymore but Hugo automatically generates the
feed so we might as well advertise it.
This commit is contained in:
Alan Orth 2016-09-19 10:00:28 +03:00
parent 4e4d20dce1
commit 9bb8294089
Signed by: alanorth
GPG Key ID: 0FB860CC9C45B1B9

View File

@ -16,6 +16,9 @@
{{ "<!-- combined, minified CSS -->" | safeHTML }}
<link href="{{ .Site.BaseURL }}css/style.css" rel="stylesheet">
{{ "<!-- RSS 2.0 feed of posts -->" | safeHTML }}
<link href="{{ .Site.BaseURL }}post/index.xml" type="application/rss+xml" rel="alternate">
</head>
<body>