Skip to content

Commit

Permalink
Merge pull request #3 from GreenLunar/patch-1
Browse files Browse the repository at this point in the history
Make feeds auto-discoverable by Feed Readers
  • Loading branch information
pluja authored Feb 20, 2024
2 parents cd34d09 + f4de970 commit ff4ab4f
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion templates/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@
<link rel='stylesheet' href='/static/css/style.css'>
{{block "extraHead" .}} {{end}}
<title>{{template "title" .}}</title>
<link rel="alternate" type="application/atom+xml" title="{{template "title" .}} (Atom Syndication)" href="{{.Blogo.Url}}/atom">
<link rel="alternate" type="application/json" title="{{template "title" .}} (JSON Feed)" href="{{.Blogo.Url}}/json">
<link rel="alternate" type="application/rss+xml" title="{{template "title" .}} (RSS Feed)" href="{{.Blogo.Url}}/rss">
</head>
<body class="flex flex-col items-center justify-center min-h-screen py-4 font-mono text-gray-900 bg-amber-50 dark:bg-zinc-900 dark:text-gray-300">
<main class="py-8 font-mono">
Expand Down Expand Up @@ -54,4 +57,4 @@
</body>
{{block "extraOutterBody" .}} {{end}}
</html>
{{end}}
{{end}}

0 comments on commit ff4ab4f

Please sign in to comment.