slight correction in template

This commit is contained in:
gutmet 2020-10-29 12:11:08 +01:00
parent 9b2d4c9faf
commit 21feba10a9

View File

@ -30,7 +30,7 @@ var defaultTemplate string = `<!DOCTYPE html>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="icon" href="data:;base64,iVBORw0KGgo=">
{{if .PostCollection}}
<link rel="alternate" type="application/rss+xml" title="RSS" href="/blog{{.Blogname}}/feed.rss">
<link rel="alternate" type="application/rss+xml" title="RSS" href="/{{.Blogdir}}/feed.rss">
{{end}}
<style>
{{.Style}}
@ -141,7 +141,7 @@ var bsStarterTemplate string = `
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<link rel="icon" href="data:;base64,iVBORw0KGgo=">
{{if .PostCollection}}
<link rel="alternate" type="application/rss+xml" title="RSS" href="/blog{{.Blogname}}/feed.rss">
<link rel="alternate" type="application/rss+xml" title="RSS" href="/{{.Blogdir}}/feed.rss">
{{end}}
<title>{{.Title}}</title>
<style>