mirror of
https://github.com/alanorth/hugo-theme-bootstrap4-blog.git
synced 2025-05-08 05:26:00 +02: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:
@ -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>
|
||||
|
Reference in New Issue
Block a user