head.htm 955 B

1234567891011121314151617181920212223242526
  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. <base href="{{.BasePath}}">
  20. <meta name="referrer" content="no-referrer" />
  21. <link rel="stylesheet" href="{{.BasePath}}stylesheet">
  22. <link rel="icon" type="image/x-icon" href="{{.BasePath}}favicon.ico">
  23. <meta name="viewport" content="width=device-width, height=device-height, initial-scale=0.4, user-scalable=no; user-scalable=0"/>
  24. </head>
  25. {{end}}