From 280efabd02dd386f0a680cc3555f1b4d9875fa60 Mon Sep 17 00:00:00 2001 From: Reorx Date: Wed, 13 Apr 2022 17:23:43 +0800 Subject: tune link styles, add color to menu, content, footer links --- layouts/partials/header.html | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) (limited to 'layouts/partials/header.html') diff --git a/layouts/partials/header.html b/layouts/partials/header.html index f172b3b..a80249d 100644 --- a/layouts/partials/header.html +++ b/layouts/partials/header.html @@ -126,12 +126,11 @@
  • - - {{- .Pre }} - {{- .Name -}} - {{ .Post -}} - + {{- cond $is_search (" accesskey=/" | safeHTMLAttr) ("" | safeHTMLAttr ) }} + {{- if eq $menu_item_url $page_url }} class="active" {{- end }}> + {{- .Pre }} + {{- .Name -}} + {{ .Post -}}
  • {{- end }} -- cgit v1.2.3