mirror of
https://github.com/alanorth/hugo-theme-bootstrap4-blog.git
synced 2024-11-17 17:57:04 +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:
parent
4e4d20dce1
commit
9bb8294089
@ -16,6 +16,9 @@
|
|||||||
|
|
||||||
{{ "<!-- combined, minified CSS -->" | safeHTML }}
|
{{ "<!-- combined, minified CSS -->" | safeHTML }}
|
||||||
<link href="{{ .Site.BaseURL }}css/style.css" rel="stylesheet">
|
<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>
|
</head>
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
|
Loading…
Reference in New Issue
Block a user