From 7930397d897e197ba3507cbda9c29001a2bff292 Mon Sep 17 00:00:00 2001 From: Amolith Date: Mon, 27 Oct 2025 11:03:09 -0600 Subject: [PATCH] feat(webui): preload css, syntax is only for blobs Implements: bug-0fb4c59 Co-authored-by: Crush --- pkg/web/templates/base.html | 7 ++++++- pkg/web/templates/blob.html | 4 ++++ 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/pkg/web/templates/base.html b/pkg/web/templates/base.html index 332c02b7981be4479d349a317831ad2b1228d55d..c46d5cd931004f2ef632ffe93ccb609e214d75fb 100644 --- a/pkg/web/templates/base.html +++ b/pkg/web/templates/base.html @@ -11,9 +11,14 @@ {{if .Description}}{{end}} + + + + - + + {{block "page-styles" .}}{{end}} diff --git a/pkg/web/templates/blob.html b/pkg/web/templates/blob.html index 81923ac0f8c12889cb9e4b92d74ec98a745130df..0ed1e7918d499bc93ebc5e08de5cbc4b222a6aae 100644 --- a/pkg/web/templates/blob.html +++ b/pkg/web/templates/blob.html @@ -1,3 +1,7 @@ +{{define "page-styles"}} + +{{end}} + {{define "content"}}