krz/skunky-art

Alternative privacy frontend for DeviantArt.

clone: git clone https://gitbay.org/krz/skunky-art.git

v1.3.3: static/html/head.htm · raw

 1{{define "head"}}
 2<head>
 3    <title>SkunkyArt |
 4        {{if eq .Endpoint "search"}}
 5            "{{.QueryRaw}}"
 6        {{else if eq .Endpoint "post"}}
 7            {{.Templates.Deviation.Post.Deviation.Author.Username}} — {{.Templates.Deviation.Post.Deviation.Title}}
 8        {{else if eq .Endpoint "group_user"}}
 9            {{if eq .Type 'g'}}
10                gallery of
11            {{else if eq .Type 'f'}}
12                favourites of
13            {{end}}
14            {{.Templates.GroupUser.GR.Owner.Username}}
15        {{else}}
16            {{.Endpoint}}
17        {{end}}
18    </title>
19
20    <base href="{{.BasePath}}">
21    <meta name="referrer" content="no-referrer" />
22    <link rel="stylesheet" href="{{.BasePath}}stylesheet">
23    <link rel="icon" type="image/x-icon" href="{{.BasePath}}favicon.ico">
24    <meta name="viewport" content="width=device-width, height=device-height, initial-scale=0.4, user-scalable=no; user-scalable=0"/>
25</head>
26{{end}}