From 27b4ffbec120500e1fec8f7d6f0749632ddcadf1 Mon Sep 17 00:00:00 2001 From: Chaoming Li Date: Sun, 17 Nov 2024 22:49:12 +1100 Subject: [PATCH] Update theme files and layouts --- layouts/_default/baseof.html | 7 ++++++- layouts/index.html | 33 +++------------------------------ 2 files changed, 9 insertions(+), 31 deletions(-) diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index 773ee4b..b8faaeb 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -15,7 +15,12 @@ - + {{ $css := resources.Get "css/main.css" }} + {{ $css = $css | resources.PostCSS }} + {{ if hugo.IsProduction }} + {{ $css = $css | minify | fingerprint | resources.PostProcess }} + {{ end }} + diff --git a/layouts/index.html b/layouts/index.html index 9308769..d1824ad 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -1,35 +1,8 @@ {{ define "main" }} -
-
-
-
-

- Unlock the Hidden Revenue in Your User Journeys -

-

- Transform your user experience with powerful analytics and insights that drive growth and engagement. -

- -
-
-
- Analytics Dashboard -
- -
-
-
-
-
-
+{{ if .Content }} + {{ .Content }} +{{ end }}