diff --git a/template/small-tn-normal.html b/template/small-tn-normal.html new file mode 100644 index 0000000..5cb3771 --- /dev/null +++ b/template/small-tn-normal.html @@ -0,0 +1,6 @@ +{{ range . }} {{ if not (isEmpty .ID) }} +
+ {{ template "thumbnail-dt.html" . }} {{ template "thumbnail-tt.html" . }} {{ + template "thumbnail-at.html" . }} +
+{{ end }} {{ end }} diff --git a/template/tag.html b/template/tag.html index 5101d53..4dfcd45 100644 --- a/template/tag.html +++ b/template/tag.html @@ -18,6 +18,13 @@

{{ .Tag.Metadata.abstract }}

+ {{ if .Data.Popular.Recent }} +

Popular artworks

+
+ {{ template "small-tn-normal.html" .Data.Popular.Recent }} {{ template + "small-tn-normal.html" .Data.Popular.Permanent }} +
+ {{ end }} {{ template "footer.html" }}