From 454e2f3cd84b6c0b02a0c2936a574d3d9c35c5a1 Mon Sep 17 00:00:00 2001 From: SayaAndy Date: Wed, 15 Oct 2025 02:43:04 +0700 Subject: feat: start switching to absolute length units in design --- views/partials/blog-page-like-button.html | 6 +++--- views/partials/catalogue-blog-cards.html | 22 +++++++++++----------- views/partials/general-page-footer.html | 8 ++++---- views/partials/general-page-header.html | 10 +++++----- 4 files changed, 23 insertions(+), 23 deletions(-) (limited to 'views/partials') diff --git a/views/partials/blog-page-like-button.html b/views/partials/blog-page-like-button.html index a16e8c0..1dfb5b8 100644 --- a/views/partials/blog-page-like-button.html +++ b/views/partials/blog-page-like-button.html @@ -1,6 +1,6 @@ \ No newline at end of file diff --git a/views/partials/catalogue-blog-cards.html b/views/partials/catalogue-blog-cards.html index 37b3f57..f96e0f1 100644 --- a/views/partials/catalogue-blog-cards.html +++ b/views/partials/catalogue-blog-cards.html @@ -1,25 +1,25 @@ {{- range .BlogPages }} -
-
- -
+
+
+ +
- + {{ .Title }} // {{ .ActionDate }} -

{{ .PublishedTime }}

+

{{ .PublishedTime }}

-

{{ .ShortDescription }}

-

- +

{{ .ShortDescription }}

+

+ {{ .LikeCount }} // - + {{ .ViewCount }}

-

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

+

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

{{- end }} \ No newline at end of file diff --git a/views/partials/general-page-footer.html b/views/partials/general-page-footer.html index af6aec9..c0774f6 100644 --- a/views/partials/general-page-footer.html +++ b/views/partials/general-page-footer.html @@ -1,7 +1,7 @@ {{ block "footer" . }}{{ end }} -

+

All the photos on saya.today are licensed under CC BY-SA 4.0 by Saya Andy © {{ .PublishedYear }}

-CC -BY -SA \ No newline at end of file +CC +BY +SA \ No newline at end of file diff --git a/views/partials/general-page-header.html b/views/partials/general-page-header.html index 6cb87b7..d13a6d8 100644 --- a/views/partials/general-page-header.html +++ b/views/partials/general-page-header.html @@ -1,8 +1,8 @@
- -

//

-

{{ .Title }}

-

{{ .PublishedDate }}

+ class="flex flex-row mb-1"> + +

//

+

{{ .Title }}

+

{{ .PublishedDate }}

{{ block "header" . }}{{ end }} -- cgit v1.3.1+13