diff options
| author | Francesco Tomaselli <tomaselli.fr@gmail.com> | 2024-08-13 19:20:40 +0200 | 
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-08-13 19:20:40 +0200 | 
| commit | fcbc8882f28293ab0e2048d432cab42778479244 (patch) | |
| tree | b9d137bab1e55f13139fe65f4259eedc2e208c4f | |
| parent | c4dc247623cefc3be28e01a5ac1cc27fc5188ce6 (diff) | |
| parent | 6a2bf3a1cb10a68173e2ad6cb6abcf5d7ac657d3 (diff) | |
Merge pull request #14 from jder/main
Add RSS feed link
| -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 bf00a74..508b391 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -1,6 +1,10 @@  <meta charset="utf-8">  <meta name="viewport" content="width=device-width"> +{{ with .OutputFormats.Get "rss" -}} +  {{ printf `<link rel=%q type=%q href=%q title=%q>` .Rel .MediaType.Type .Permalink site.Title | safeHTML }} +{{ end }} +  {{- if .IsHome -}}  <meta name="description" content="{{ site.Params.Description }}" />  {{- else -}} | 
