factored out the need for amsterdam_pageTitle by having FrameTitle be a separate bit of metadata in AmContext
This commit is contained in:
+1
-1
@@ -11,7 +11,7 @@
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>{{ amsterdam_pageTitle | raw }} - {{ GlobalConfig.Site.Title }}</title>
|
||||
<title>{{ .FrameTitle() | raw }} - {{ GlobalConfig.Site.Title }}</title>
|
||||
<link rel="icon" href="/img/builtin/AmsterdamIcon32.png" type="image/png" />
|
||||
<link rel="shortcut icon" href="/img/builtin/AmsterdamIcon32.ico" />
|
||||
{{ if isset(amsterdam_genRefresh) && GlobalConfig.Site.TopRefresh > 0 }}
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
<div class="bg-{{ tone }}-600 px-6 py-4">
|
||||
<h1 class="text-white text-2xl font-bold text-center flex items-center justify-center gap-3">
|
||||
{{ if destructive }}<span class="text-3xl">⚠️</span>{{ end }}
|
||||
{{ amsterdam_pageTitle }}
|
||||
{{ .FrameTitle() | raw }}
|
||||
{{ if destructive }}<span class="text-3xl">⚠️</span>{{ end }}
|
||||
</h1>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user