From ef2cc9c04a345ea046b49a1fcf8a9b3db43cbaf7 Mon Sep 17 00:00:00 2001 From: Somrat <58769763+tfsomrat@users.noreply.github.com> Date: Mon, 18 Mar 2024 15:38:49 +0600 Subject: [PATCH] remove cache from footer --- layouts/_default/baseof.html | 14 ++++++-------- package.json | 8 ++++---- 2 files changed, 10 insertions(+), 12 deletions(-) diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index 135bbb2..b4a8a10 100755 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -38,13 +38,11 @@ {{ block "main" . }}{{ end }} - - {{ if hugo.IsProduction }} - {{ partialCached "essentials/footer.html" . }} - {{ partialCached "essentials/script.html" . }} - {{ else }} - {{ partial "essentials/footer.html" . }} - {{ partial "essentials/script.html" . }} - {{ end }} + + {{ partial "essentials/footer.html" . }} + + + + {{ partialCached "essentials/script.html" . }} diff --git a/package.json b/package.json index 4c4b192..d8aba72 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "hugoplate", "description": "hugo tailwindcss boilerplate", - "version": "1.12.3", + "version": "1.12.4", "license": "MIT", "author": "zeon.studio", "scripts": { @@ -22,12 +22,12 @@ "@fullhuman/postcss-purgecss": "^5.0.0", "@tailwindcss/forms": "^0.5.7", "@tailwindcss/typography": "^0.5.10", - "autoprefixer": "^10.4.17", - "postcss": "^8.4.35", + "autoprefixer": "^10.4.18", + "postcss": "^8.4.36", "postcss-cli": "^11.0.0", "prettier": "^3.2.5", "prettier-plugin-go-template": "0.0.15", - "prettier-plugin-tailwindcss": "^0.5.11", + "prettier-plugin-tailwindcss": "^0.5.12", "tailwind-bootstrap-grid": "^5.1.0", "tailwindcss": "^3.4.1" }