Fix feed links in index template

This commit is contained in:
Jan-Lukas Else 2020-09-21 17:10:44 +02:00
parent da18db0f74
commit f5cca985bd
1 changed files with 3 additions and 3 deletions

View File

@ -3,15 +3,15 @@
<link rel="alternate" <link rel="alternate"
type="application/rss+xml" type="application/rss+xml"
title="RSS" title="RSS"
href="{{ .First }}?feed=rss"/> href="{{ .First }}.rss"/>
<link rel="alternate" <link rel="alternate"
type="application/atom+xml" type="application/atom+xml"
title="Atom" title="Atom"
href="{{ .First }}?feed=atom"/> href="{{ .First }}.atom"/>
<link rel="alternate" <link rel="alternate"
type="application/feed+json" type="application/feed+json"
title="JSON Feed" title="JSON Feed"
href="{{ .First }}?feed=json"/> href="{{ .First }}.json"/>
{{ end }} {{ end }}
{{ define "main" }} {{ define "main" }}