From edaf609e338fcdd2d622878fc7d4178c7d7652da Mon Sep 17 00:00:00 2001 From: Ngô Ngọc Đức Huy Date: Fri, 4 Aug 2023 10:19:40 +0700 Subject: Mark current page as current page --- layouts/_default/baseof.html | 2 +- layouts/partials/header.html | 14 ++++++++++++-- 2 files changed, 13 insertions(+), 3 deletions(-) diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index f53932d..86a13fe 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -9,7 +9,7 @@ SPDX-License-Identifier: MIT {{ block "head" . }} - {{ partial "head.html" . }} + {{ partialCached "head.html" . }} {{ end }} diff --git a/layouts/partials/header.html b/layouts/partials/header.html index 7b35a2a..58625fe 100644 --- a/layouts/partials/header.html +++ b/layouts/partials/header.html @@ -1,6 +1,16 @@ -- cgit 1.4.1