diff options
| author | 2026-01-08 22:56:30 +0700 | |
|---|---|---|
| committer | 2026-01-08 22:56:30 +0700 | |
| commit | b9c4a002feeffdbffee21969415cda2af20583ac (patch) | |
| tree | d6568f45a489877fdc404a0ee720276b13519a02 /views/pages/blog-page.html | |
| parent | 77a43ebb42d80e3c6bbdf39b16a38f0f3ec4b30c (diff) | |
| parent | 3c865e366119084894b7241ff9bb071e0899811d (diff) | |
| download | web-0.12.0.tar.gz web-0.12.0.zip | |
v0.12.0 (#21)v0.12.0
- [feat: use floating sidebar for general pages if screen is wide
enough](https://github.com/SayaAndy/saya-today-web/commit/3c865e366119084894b7241ff9bb071e0899811d)
- [feat: nextstep-like buttons for
toolbar](https://github.com/SayaAndy/saya-today-web/commit/c8e542e883c8fec8b4a101bcd55c4d771b377e80)
- [feat: switch standard OSM to CyclOSM for maps on
site](https://github.com/SayaAndy/saya-today-web/commit/a48036d496f0af90ff437c897b77418ca8453e9c)
- feat: content stays wider with wider screens
- [fix: inset shadow getting overlapped by child
elements](https://github.com/SayaAndy/saya-today-web/commit/6983adfc3a93c06236be29fb17bfc734e622ec9d)
- [feat: move like button to header to make it more
prominent](https://github.com/SayaAndy/saya-today-web/commit/e4f6790aab7f1b447892d0ed999dff8af45ac33e)
- fix: problem with resizing content when galleries are in it
- refactor: use var for noise image in themes (to reduce css size)
- ci: update checkout action from v4 to v6
Diffstat (limited to 'views/pages/blog-page.html')
| -rw-r--r-- | views/pages/blog-page.html | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/views/pages/blog-page.html b/views/pages/blog-page.html index f95c23b..c81406f 100644 --- a/views/pages/blog-page.html +++ b/views/pages/blog-page.html @@ -1,5 +1,6 @@ {{ define "body" }} -<div class="bg-background-light flex flex-col inset-shadow-[0_0_0.4rem_black] px-8 py-4 overflow-y-auto"> +<div class="absolute w-full h-full inset-0 inset-shadow-[0_0_0.4rem_black] pointer-events-none z-20"></div> +<div class="relative bg-background-light flex flex-col px-8 py-4 overflow-y-auto"> <p class="max-xs:block [@media(max-height:32rem)]:block hidden font-andika text-2xl font-bold italic text-main-hard tracking-[.0125rem] mb-1">{{ .Title }}</p> <p class="block grow text-lg font-andika text-secondary"> <b>{{ .L.Metadata.Published }}</b>: @@ -20,9 +21,9 @@ function initLocationMap(id, x, y, relativeErrorMeters = 0) { map = L.map(id).setView([x, y], 8); - L.tileLayer('https://tile.openstreetmap.org/{z}/{x}/{y}.png', { - maxZoom: 18, - attribution: '© <a href="http://www.openstreetmap.org/copyright">OpenStreetMap</a>' + L.tileLayer('https://{s}.tile-cyclosm.openstreetmap.fr/cyclosm/{z}/{x}/{y}.png', { + maxZoom: 20, + attribution: '<a href="https://github.com/cyclosm/cyclosm-cartocss-style/releases" title="CyclOSM - Open Bicycle render">CyclOSM</a> | Map data: © <a href="https://www.openstreetmap.org/copyright">OpenStreetMap</a> contributors' }).addTo(map); if (relativeErrorMeters != 0) { @@ -62,6 +63,6 @@ </div> {{ end }} -{{ define "footer" }} +{{ define "header" }} <div hx-get="/api/v1/like" hx-target="this" hx-swap="outerHTML" hx-trigger="load"></div> {{ end }} |