diff options
| author | 2026-05-02 12:58:40 +0700 | |
|---|---|---|
| committer | 2026-05-02 12:58:40 +0700 | |
| commit | 2d727cc1eeb926f5b5ee578a0ee54269e0390a96 (patch) | |
| tree | 40c43fefdf44bd4495b3f56bb5253c6691c8a0f2 /views/partials | |
| parent | ced61eee79d1c06864cd1d580fa6c549365ba213 (diff) | |
| download | web-2d727cc1eeb926f5b5ee578a0ee54269e0390a96.tar.gz web-2d727cc1eeb926f5b5ee578a0ee54269e0390a96.zip | |
refactor: parametrize static & photo storage url
refactor: parametrize allow origins
Diffstat (limited to 'views/partials')
| -rw-r--r-- | views/partials/catalogue-blog-cards.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/views/partials/catalogue-blog-cards.html b/views/partials/catalogue-blog-cards.html index 7096c0d..0492c38 100644 --- a/views/partials/catalogue-blog-cards.html +++ b/views/partials/catalogue-blog-cards.html @@ -2,7 +2,7 @@ <hr class="first-of-type:hidden border-t-2 border-dotted border-main-hard"> <div class="w-full flex flex-row items-stretch"> <div class="relative min-h-24 flex flex-col w-28 overflow-hidden shrink-0 mask-r-from-70% mask-r-to-100%"> - <img onclick="return changeUrl('{{ .ArticleLink }}');" class="h-full min-h-24 w-full cursor-pointer select-none object-cover block absolute" src="https://f003.backblazeb2.com/file/sayana-photos/webp-320p/{{ .Thumbnail }}.webp"> + <img onclick="return changeUrl('{{ .ArticleLink }}');" class="h-full min-h-24 w-full cursor-pointer select-none object-cover block absolute" src="{{ printf $.ThumbnailBaseUrl .Thumbnail }}"> <div class="w-full h-6 flex flex-row mt-auto relative"> <div class="flex-1/2 flex flex-row justify-center select-none bg-linear-180 {{ if .Liked }}from-accent-deep/40 to-accent-deep/80 text-background-dark{{ else }}from-accent-light/40 to-accent-light/80 text-main-hard{{ end }}"> <svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="-2 -2 28 28" id="Smiley-Thumbs-Up--Streamline-Freehand"> |