summaryrefslogtreecommitdiff
path: root/html
diff options
context:
space:
mode:
authorlost+skunk <[email protected]>2024-07-09 17:24:56 +0300
committerlost+skunk <[email protected]>2024-07-09 17:24:56 +0300
commit8391cc34a95a82cf025b96e4352246a245d06d61 (patch)
tree52ab2d43820c1bf14c494e1b13328e5a8c00485d /html
parent0f528ee9fa8b84c5e7532e22480b8b4b3ff7d5ba (diff)
downloadskunky-art-8391cc34a95a82cf025b96e4352246a245d06d61.tar.gz
skunky-art-8391cc34a95a82cf025b96e4352246a245d06d61.tar.bz2
skunky-art-8391cc34a95a82cf025b96e4352246a245d06d61.zip
Улучшение парсинга описания/комментариев в формате JSON
Diffstat (limited to 'html')
-rw-r--r--html/deviantion.htm10
1 files changed, 8 insertions, 2 deletions
diff --git a/html/deviantion.htm b/html/deviantion.htm
index 27f1f0a..34f5fda 100644
--- a/html/deviantion.htm
+++ b/html/deviantion.htm
@@ -3,6 +3,7 @@
<head>
<title>SkunkyArt | {{.Templates.Deviation.Post.Deviation.Author.Username}} - {{.Templates.Deviation.Post.Deviation.Title}}</title>
<link rel="stylesheet" href="{{.BasePath}}gui/css/skunky.css">
+ <meta name="referrer" content="no-referrer" />
</head>
<main>
<header>
@@ -33,10 +34,15 @@
{{if (ne .Templates.Deviation.Tags "")}}
{{.Templates.Deviation.Tags}}<br>
{{end}}
- <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>
+ <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>
+ <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>
+ </span>
{{if (ne .Templates.Deviation.Post.Description "")}}
<figcaption>
- {{.Templates.Deviation.Post.Description}}
+ <details>
+ <summary>Description</summary>
+ {{.Templates.Deviation.Post.Description}}
+ </details>
</figcaption>
{{end}}
{{if ne .Templates.Deviation.Related ""}}