diff options
| author | 2025-09-10 14:20:54 +0700 | |
|---|---|---|
| committer | 2025-09-10 14:20:54 +0700 | |
| commit | 2e93141f1f53410d6c38122b918972581ec4aa8d (patch) | |
| tree | 8530dcb7ab9ebff4e42bcc41c6d5b3ecb78344da /internal/router/api-v1-blog-search.go | |
| parent | 46a7e3ea25eb0d5b95a303018159cc59807a1367 (diff) | |
| parent | e372d8ad15ca9026fffb9248991e3df48c72b5f6 (diff) | |
| download | web-0.8.2.tar.gz web-0.8.2.zip | |
v0.8.2 (#9)v0.8.2
- feat: add page views
- feat: more responsive header size to keep it in one row
- feat: add contacts on main page
- refactor: move like and view count into separate row in blog card
Diffstat (limited to 'internal/router/api-v1-blog-search.go')
| -rw-r--r-- | internal/router/api-v1-blog-search.go | 1 |
1 files changed, 1 insertions, 0 deletions
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 } |