From b1a1651ad7e7faf7a87aca8fea1cdad156f3606e Mon Sep 17 00:00:00 2001 From: SayaAndy Date: Sat, 16 Aug 2025 11:48:09 +0700 Subject: feat: clickable tags (to search explicitly one) feat: show published time in client's timezone feat: make 'ram' theme default fix: show tags header in catalogue --- views/partials/catalogue-blog-card-tags.html | 1 + views/partials/catalogue-blog-cards.html | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) create mode 100644 views/partials/catalogue-blog-card-tags.html (limited to 'views/partials') diff --git a/views/partials/catalogue-blog-card-tags.html b/views/partials/catalogue-blog-card-tags.html new file mode 100644 index 0000000..374314a --- /dev/null +++ b/views/partials/catalogue-blog-card-tags.html @@ -0,0 +1 @@ +{{ range $i, $tag := .Tags }}{{ if ne $i 0 }}, {{ end }}{{ $tag }}{{ end }} \ No newline at end of file diff --git a/views/partials/catalogue-blog-cards.html b/views/partials/catalogue-blog-cards.html index a9e4010..406ef9b 100644 --- a/views/partials/catalogue-blog-cards.html +++ b/views/partials/catalogue-blog-cards.html @@ -12,7 +12,7 @@

{{ .PublishedTime }}

{{ .ShortDescription }}

-

{{ .L.TagsLabel }} {{ .Tags }}

+

{{ $.L.TagsLabel }} {{ template "catalogue-blog-card-tags.html" . }}

{{- end }} \ No newline at end of file -- cgit v1.3.1+13