From 5dfd71bfe1c0e25da413f00256a302b13c88d26d Mon Sep 17 00:00:00 2001 From: Anhgelus Morhtuuzh Date: Thu, 2 Oct 2025 21:30:34 +0200 Subject: perf(backend): generate content during load --- backend/templates/base.html | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) (limited to 'backend/templates') diff --git a/backend/templates/base.html b/backend/templates/base.html index 34a7c7f..bef493f 100644 --- a/backend/templates/base.html +++ b/backend/templates/base.html @@ -1,5 +1,5 @@ - + @@ -15,6 +15,7 @@ + {{ if ne .PubDate "" }}{{ end }} @@ -31,13 +32,9 @@ {{ if .Article }} -
- {{ template "body" . }} -
+
{{ template "body" . }}
{{ else }} -
- {{ template "body" . }} -
+
{{ template "body" . }}
{{ end }}