diff options
Diffstat (limited to 'static/html/head.htm')
| -rw-r--r-- | static/html/head.htm | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/static/html/head.htm b/static/html/head.htm new file mode 100644 index 0000000..f7f6b91 --- /dev/null +++ b/static/html/head.htm @@ -0,0 +1,24 @@ +{{define "head"}} +<head> + <title>SkunkyArt | + {{if eq .Endpoint "search"}} + "{{.QueryRaw}}" + {{else if eq .Endpoint "post"}} + {{.Templates.Deviation.Post.Deviation.Author.Username}} — {{.Templates.Deviation.Post.Deviation.Title}} + {{else if eq .Type 'a'}} + {{if .Templates.GroupUser.GR.Owner.Username}} + {{.Templates.GroupUser.GR.Owner.Username}} + {{else}} + gallery of {{.Templates.GroupUser.GR.Owner.Username}} + {{end}} + {{else}} + {{.Endpoint}} + {{end}} + </title> + + <base href="{{.BasePath}}"> + <meta name="referrer" content="no-referrer" /> + <link rel="stylesheet" href="{{.BasePath}}stylesheet"> + <link rel="icon" type="image/x-icon" href="{{.BasePath}}favicon.ico"> +</head> +{{end}}
\ No newline at end of file |
