Skip to content

Commit

Permalink
Make feeds auto-discoverable by Feed Readers
Browse files Browse the repository at this point in the history
  • Loading branch information
GreenLunar authored Dec 7, 2023
1 parent d9284e7 commit a0ad122
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" .}}" href="/atom">
<link rel="alternate" type="application/json" title="{{template "title" .}}" href="/json">
<link rel="alternate" type="application/rss+xml" title="{{template "title" .}}" href="/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 a0ad122

Please sign in to comment.