Skip to content

Commit

Permalink
use .Blogo.Url to solve the url problem
Browse files Browse the repository at this point in the history
  • Loading branch information
pluja authored Dec 8, 2023
1 parent 93bfd24 commit f4de970
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions templates/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +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="/atom">
<link rel="alternate" type="application/json" title="{{template "title" .}} (JSON Feed)" href="/json">
<link rel="alternate" type="application/rss+xml" title="{{template "title" .}} (RSS Feed)" href="/rss">
<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

0 comments on commit f4de970

Please sign in to comment.