krz/skunky-art
Alternative privacy frontend for DeviantArt.
clone: git clone https://gitbay.org/krz/skunky-art.git
v1.3.1: html/deviantion.htm · raw
1<!DOCTYPE html>
2<html>
3 <head>
4 <title>SkunkyArt | {{.Templates.Deviation.Post.Deviation.Author.Username}} - {{.Templates.Deviation.Post.Deviation.Title}}</title>
5 <link rel="stylesheet" href="{{.BasePath}}stylesheet">
6 <meta name="referrer" content="no-referrer" />
7 <link rel="icon" type="image/x-icon" href="{{.BasePath}}favicon.ico">
8 </head>
9 <main>
10 <header>
11 <h1><a href="{{.BasePath}}">HOME</a> | <a href="{{.BasePath}}dd">DD</a></h1>
12 <form method="get" action="{{.BasePath}}search">
13 <input type="text" name="q" placeholder="Search for ..." autocomplete="off" autocapitalize="none" spellcheck="false">
14 <select name="type">
15 <option value="all">All</option>
16 <option value="tag">Tag</option>
17 <option value="r">Groups</option>
18 </select>
19 <button type="submit">Search!</button>
20 </form>
21 </header>
22 <figure>
23 <img src="{{.BasePath}}media/emojitar/{{.Templates.Deviation.Post.Deviation.Author.Username}}?type=a" width="30px">
24 <span><strong><a href="{{.BasePath}}group_user?type=about&q={{.Templates.Deviation.Post.Deviation.Author.Username}}">{{.Templates.Deviation.Post.Deviation.Author.Username}}</a></strong> — {{if (.Templates.Deviation.Post.Deviation.DD)}}
25 <span class="dd" title="Daily Deviation!"><b>{{.Templates.Deviation.Post.Deviation.Title}}</b></span>
26 {{else}}{{.Templates.Deviation.Post.Deviation.Title}}{{end}}
27 {{if (ne .Templates.Deviation.Post.Deviation.License "none")}}<mark title="License">{{.Templates.Deviation.Post.Deviation.License}}</mark>{{end}} {{if (.Templates.Deviation.Post.Deviation.AI)}}[🤖]{{end}}
28 {{if (.Templates.Deviation.Post.Deviation.NSFW)}}[<span class="nsfw">NSFW</span>]{{end}}
29 </span>
30 <br>
31 {{if (ne .Templates.Deviation.Post.IMG "")}}
32 <a href="{{.Templates.Deviation.Post.IMG}}" title="open/download image"><img src="{{.Templates.Deviation.Post.IMG}}" width="50%"></a>
33 <br>
34 {{end}}
35 {{if (ne .Templates.Deviation.Tags "")}}
36 {{.Templates.Deviation.Tags}}<br>
37 {{end}}
38 <span>Published: <strong>{{.Templates.Deviation.StringTime}}</strong>; Views: <strong>{{.Templates.Deviation.Post.Deviation.Stats.Views}}</strong>; Favourites: <strong>{{.Templates.Deviation.Post.Deviation.Stats.Favourites}}</strong>; Downloads: <strong>{{.Templates.Deviation.Post.Deviation.Stats.Downloads}}</strong>
39 <br><a target="_blank" href="https://www.deviantart.com/{{.Templates.Deviation.Post.Deviation.Author.Username}}/art/art-{{.Templates.Deviation.Post.Deviation.ID}}">Redirect to original</a>
40 </span>
41 {{if (ne .Templates.Deviation.Post.Description "")}}
42 <figcaption>
43 <details>
44 <summary>Description</summary>
45 {{.Templates.Deviation.Post.Description}}
46 </details>
47 </figcaption>
48 {{end}}
49 {{if ne .Templates.Deviation.Related ""}}
50 <details>
51 <summary>Related content</summary>
52 {{.Templates.Deviation.Related}}
53 </details>
54 {{end}}
55 {{if (ne .Templates.Deviation.Comments "")}}
56 {{.Templates.Deviation.Comments}}
57 {{end}}
58 </figure>
59 </main>
60</html>