added frame metadata to AmContext and used that to replace the amsterdam_genRefresh variable
This commit is contained in:
+2
-2
@@ -14,8 +14,8 @@
|
||||
<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 }}
|
||||
<meta http-equiv="refresh" content="{{ GlobalConfig.Site.TopRefresh }}">
|
||||
{{ range k, v := .FrameMetadata(0) }}
|
||||
<meta http-equiv="{{ k }}" content="{{ v }}">
|
||||
{{ end }}
|
||||
<script src="https://cdn.tailwindcss.com"></script>
|
||||
<link rel="stylesheet" href="/static/css/ams_style.css" />
|
||||
|
||||
Reference in New Issue
Block a user