From f9a621d56c54110d5938ad0071bbace325773070 Mon Sep 17 00:00:00 2001 From: SayaAndy Date: Wed, 10 Sep 2025 13:55:30 +0700 Subject: feat: add page views feat: more responsive header size to keep it in one row refactor: move like and view count into separate row in blog card --- internal/router/api-v1-blog-search.go | 1 + 1 file changed, 1 insertion(+) (limited to 'internal/router/api-v1-blog-search.go') diff --git a/internal/router/api-v1-blog-search.go b/internal/router/api-v1-blog-search.go index 946b830..69be651 100644 --- a/internal/router/api-v1-blog-search.go +++ b/internal/router/api-v1-blog-search.go @@ -79,6 +79,7 @@ func Api_V1_BlogSearch(l map[string]*locale.LocaleConfig, langs []string, b2Clie "Thumbnail": page.Metadata.Thumbnail, "Tags": page.Metadata.Tags, "LikeCount": CCache.GetLikeCount(page.FileName), + "ViewCount": CCache.GetViewCount(page.FileName), }) break } -- cgit v1.3.1+17