SkunkyArt/html/deviantion.htm

46 lines
2.8 KiB
HTML
Raw Normal View History

<!DOCTYPE html>
<html>
<head>
2024-07-05 21:46:25 +00:00
<title>SkunkyArt | {{.Templates.Deviation.Post.Deviation.Author.Username}} - {{.Templates.Deviation.Post.Deviation.Title}}</title>
<link rel="stylesheet" href="{{.BasePath}}gui/css/skunky.css">
</head>
<main>
<header>
2024-07-05 21:46:25 +00:00
<h1><a href="{{.BasePath}}">HOME</a> | <a href="{{.BasePath}}dd">DD</a></h1>
<form method="get" action="{{.BasePath}}search">
<input type="text" name="q" placeholder="Search for ..." autocomplete="off" autocapitalize="none" spellcheck="false">
<select name="type">
<option value="all">All</option>
<option value="tag">Tag</option>
</select>
<button type="submit">Search!</button>
</form>
</header>
<figure>
2024-07-05 21:46:25 +00:00
<img src="{{.BasePath}}media/emojitar/{{.Templates.Deviation.Post.Deviation.Author.Username}}?type=a" width="30px">
<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)}}
<span class="dd" title="Daily Deviation!"><b>{{.Templates.Deviation.Post.Deviation.Title}}</b></span>
{{else}}{{.Templates.Deviation.Post.Deviation.Title}}{{end}}
{{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}}
{{if (.Templates.Deviation.Post.Deviation.NSFW)}}[<span class="nsfw">NSFW</span>]{{end}}
</span>
<br>
2024-07-05 21:46:25 +00:00
{{if (ne .Templates.Deviation.Post.IMG "")}}
<a href="{{.Templates.Deviation.Post.IMG}}" title="open/download image"><img src="{{.Templates.Deviation.Post.IMG}}" width="50%"></a>
<br>
{{end}}
2024-07-05 21:46:25 +00:00
{{if (ne .Templates.Deviation.Tags "")}}
{{.Templates.Deviation.Tags}}<br>
{{end}}
2024-07-05 21:46:25 +00:00
<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></span>
{{if (ne .Templates.Deviation.Post.Description "")}}
2024-06-27 11:51:46 +00:00
<figcaption>
2024-07-05 21:46:25 +00:00
{{.Templates.Deviation.Post.Description}}
2024-06-27 11:51:46 +00:00
</figcaption>
{{end}}
2024-07-05 21:46:25 +00:00
{{if (ne .Templates.Deviation.Comments "")}}
{{.Templates.Deviation.Comments}}
{{end}}
</figure>
</main>
</html>