попытка реализовать галерею. так сыро потому что мне скоро уезжать

This commit is contained in:
lost+skunk 2024-06-30 14:40:27 +03:00
parent a8633b828f
commit ed031b3530
7 changed files with 372 additions and 298 deletions

View file

@ -18,7 +18,7 @@
</header>
<figure>
<img src="/media/{{.Post.Deviation.Author.Username}}?type=a" width="30px">
<span><strong><a href="/user/{{.Post.Deviation.Author.Username}}">{{.Post.Deviation.Author.Username}}</a></strong> — {{if (.Post.Deviation.DD)}}
<span><strong><a href="/group_user?type=about&q={{.Post.Deviation.Author.Username}}">{{.Post.Deviation.Author.Username}}</a></strong> — {{if (.Post.Deviation.DD)}}
<span class="dd" title="Daily Deviation!"><b>{{.Post.Deviation.Title}}</b></span>
{{else}}{{.Post.Deviation.Title}}{{end}}
{{if (ne .Post.Deviation.License "none")}}<mark title="License">{{.Post.Deviation.License}}</mark>{{end}} {{if (.Post.Deviation.AI)}}[🤖]{{end}}