summaryrefslogtreecommitdiff
path: root/static/html/head.htm
blob: 08ecf45b2b7d98d24ea903f5c14cb94fd05ef92c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
{{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 .Endpoint "group_user"}}
            {{if eq .Type 'g'}}
                gallery of
            {{else if eq .Type 'f'}}
                favourites of
            {{end}}
            {{.Templates.GroupUser.GR.Owner.Username}}
        {{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}}