1
1
<!DOCTYPE html>
2
- < html lang ="en " {{ if ne .Config.UI.Theme "auto" }}class="{{ .Config.UI.Theme }} "{{ end }} >
3
- < head >
4
- < meta charset ="UTF-8 ">
5
- < meta name ="viewport " content ="width=device-width, initial-scale=1.0 ">
6
- < link rel ="stylesheet " href ="/static/tailwind.css?v={{ .Version }} " />
7
- < link rel ="icon " type ="image/png " href ="/static/icon.png " />
8
- < title > {{ .Config.UI.PageTitle }}</ title >
9
- </ head >
10
- < body class ="mx-auto min-h-dvh w-full md:w-3/4 p-6 md:p-8 lg:p-6 lg:w-1/2 flex flex-col justify-between bg-neutral-50 dark:bg-zinc-900 ">
11
- < div >
12
- {{ template "content" . }}
13
- </ div >
2
+ < html lang ="en " {{ if ne .Config.UI.Theme "auto" }}class="{{ .Config.UI.Theme }} " {{ end }} >
14
3
15
- < div class ="mt-6 text-center text-gray-400 dark:text-gray-200 ">
16
- Built with < a class ="text-avocado-600 hover:text-avocado-500 " href ="https://github.com/henrywhitaker3/prompage "> PromPage</ a > |
17
- Checked {{ .Age }} ago
18
- </ div >
4
+ < head >
5
+ < meta charset ="UTF-8 ">
6
+ < meta name ="viewport " content ="width=device-width, initial-scale=1.0 ">
7
+ < link rel ="stylesheet " href ="/static/tailwind.css?v={{ .Version }} " />
8
+ < link rel ="icon " type ="image/png " href ="/static/icon.png " />
9
+ < title > {{ .Config.UI.PageTitle }}</ title >
10
+ </ head >
19
11
20
- {{ template "scripts" . }}
21
- </ body >
22
- </ html >
12
+ < body
13
+ class ="mx-auto min-h-dvh w-full md:w-3/4 p-6 md:p-8 lg:p-6 lg:w-1/2 flex flex-col justify-between bg-neutral-50 dark:bg-zinc-900 ">
14
+ {{ if .Config.UI.Header.Enabled }}
15
+ < div class ="mb-4 ">
16
+ < a class ="flex flex-row items-center " href ="/ " title ="{{ .Config.UI.PageTitle }} ">
17
+ {{ if ne .Config.UI.Header.Logo "" }}
18
+ < img class ="max-h-[100px] " src ="{{ .Config.UI.Header.Logo }} " />
19
+ {{ end }}
20
+ < h1 class ="text-4xl text-black dark:text-white "> {{ .Config.UI.PageTitle }}</ h1 >
21
+ </ a >
22
+ </ div >
23
+ {{ end }}
24
+ < div >
25
+ {{ template "content" . }}
26
+ </ div >
27
+
28
+ < div class ="mt-6 text-center text-gray-400 dark:text-gray-200 ">
29
+ Built with < a class ="text-avocado-600 hover:text-avocado-500 "
30
+ href ="https://github.com/henrywhitaker3/prompage "> PromPage</ a > |
31
+ Checked {{ .Age }} ago
32
+ </ div >
33
+
34
+ {{ template "scripts" . }}
35
+ </ body >
36
+
37
+ </ html >
0 commit comments