From 53964138f51dafa1966dffda6af90ffbff404546 Mon Sep 17 00:00:00 2001 From: Vidhu Kant Sharma Date: Sun, 27 Aug 2023 19:35:44 +0530 Subject: added syntax highlight to pages that need it --- layouts/partials/head.html | 3 +++ 1 file changed, 3 insertions(+) diff --git a/layouts/partials/head.html b/layouts/partials/head.html index e528534..c6c621f 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -19,6 +19,9 @@ {{ else if eq .Kind "home" }} {{ end }} + {{ if .Params.highlight }} + + {{ end }} {{ if .Title }}{{ .Title }}{{ if eq .Section "blog" }}{{ if not .IsPage }} Blog Posts{{ end }}{{ end }} | {{if .Site.Params.domain }}{{ .Site.Params.domain }}{{ else }}{{ .Site.Title }}{{ end }}{{ else }}{{ .Site.Title }}{{ end }} -- cgit v1.2.3