1
mirror of https://github.com/jlelse/GoBlog synced 2024-06-02 17:34:27 +00:00

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

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" }}