diff options
| author | 2026-04-04 03:41:43 +0700 | |
|---|---|---|
| committer | 2026-04-04 03:41:43 +0700 | |
| commit | 13428b467f752d9b53b39a3c8122998f1896ed1e (patch) | |
| tree | 120db7c5a2f411de3d00b038f073676e06148a26 /views/partials | |
| parent | b1355436e96f2dfa777e843b53896d0bb71628e3 (diff) | |
| download | web-13428b467f752d9b53b39a3c8122998f1896ed1e.tar.gz web-13428b467f752d9b53b39a3c8122998f1896ed1e.zip | |
fix: remove leading slash in path with going up
format: remove redundant var specs
Diffstat (limited to 'views/partials')
| -rw-r--r-- | views/partials/blog-page-like-button.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/views/partials/blog-page-like-button.html b/views/partials/blog-page-like-button.html index 5a85113..4d3d817 100644 --- a/views/partials/blog-page-like-button.html +++ b/views/partials/blog-page-like-button.html @@ -1,5 +1,5 @@ <button hx-put="/api/v1/like" hx-vals='{"like": {{ not .Liked }}}' hx-target="this" hx-swap="outerHTML" hx-trigger="click" class="themed-button themed-button-like flex flex-col shrink-0 w-fit h-fit mr-2 my-auto{{ if .Liked }} active{{ end }}"> <i class="fas fa-thumbs-up w-8 h-fit py-0.5 content-center text-center"></i> - <div class="h-fit px-0.5 content-center bg-(--color-background-medium) text-(--color-main-hard)">{{ .LikedCount }}</div> + <div class="h-fit px-0.5 content-center bg-background-medium text-main-hard">{{ .LikedCount }}</div> </button>
\ No newline at end of file |