krz/skunky-art
Alternative privacy frontend for DeviantArt.
clone: git clone https://gitbay.org/krz/skunky-art.git
v1.3: 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 </head>
8 <main>
9 <header>
10 <h1><a href="{{.BasePath}}">HOME</a> | <a href="{{.BasePath}}dd">DD</a></h1>
11 <form method="get" action="{{.BasePath}}search">
12 <input type="text" name="q" placeholder="Search for ..." autocomplete="off" autocapitalize="none" spellcheck="false">
13 <select name="type">
14 <option value="all">All</option>
15 <option value="tag">Tag</option>
16 <option value="r">Groups</option>
17 </select>
18 <button type="submit">Search!</button>
19 </form>
20 </header>
21 <figure>
22 <img src="{{.BasePath}}media/emojitar/{{.Templates.Deviation.Post.Deviation.Author.Username}}?type=a" width="30px">
23 <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)}}
24 <span class="dd" title="Daily Deviation!"><b>{{.Templates.Deviation.Post.Deviation.Title}}</b></span>
25 {{else}}{{.Templates.Deviation.Post.Deviation.Title}}{{end}}
26 {{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}}
27 {{if (.Templates.Deviation.Post.Deviation.NSFW)}}[<span class="nsfw">NSFW</span>]{{end}}
28 </span>
29 <br>
30 {{if (ne .Templates.Deviation.Post.IMG "")}}
31 <a href="{{.Templates.Deviation.Post.IMG}}" title="open/download image"><img src="{{.Templates.Deviation.Post.IMG}}" width="50%"></a>
32 <br>
33 {{end}}
34 {{if (ne .Templates.Deviation.Tags "")}}
35 {{.Templates.Deviation.Tags}}<br>
36 {{end}}
37 <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>
38 <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>
39 </span>
40 {{if (ne .Templates.Deviation.Post.Description "")}}
41 <figcaption>
42 <details>
43 <summary>Description</summary>
44 {{.Templates.Deviation.Post.Description}}
45 </details>
46 </figcaption>
47 {{end}}
48 {{if ne .Templates.Deviation.Related ""}}
49 <details>
50 <summary>Related content</summary>
51 {{.Templates.Deviation.Related}}
52 </details>
53 {{end}}
54 {{if (ne .Templates.Deviation.Comments "")}}
55 {{.Templates.Deviation.Comments}}
56 {{end}}
57 </figure>
58 </main>
59</html>