diff options
author | Dennis Eriksen <d@ennis.no> | 2019-11-03 09:33:04 +0100 |
---|---|---|
committer | Dennis Eriksen <d@ennis.no> | 2019-11-03 09:33:04 +0100 |
commit | 33d2a0a73434e40f023a6cf746acdcc991c19fd0 (patch) | |
tree | 1f3adb26721495c9ba7d429a66f8afe7978f4b97 | |
parent | parameterize this option (diff) | |
download | rikerz-33d2a0a73434e40f023a6cf746acdcc991c19fd0.tar.gz |
include rss-link in head
-rw-r--r-- | layouts/partials/head.html | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/layouts/partials/head.html b/layouts/partials/head.html index ffd8423..a2149d0 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -11,6 +11,10 @@ <link rel="stylesheet" href="/css/normalize.css"> <link rel="stylesheet" href="/css/main.css"> +{{ with .OutputFormats.Get "rss" -}} + +{{ printf ` <link rel="%s" type="%s" href="%s" title="%s" />` .Rel .MediaType.Type .Permalink $.Site.Title | safeHTML }} +{{ end -}} </head> <body> |