about summary refs log tree commit diff
path: root/layouts/partials/header.html
diff options
context:
space:
mode:
authorNgô Ngọc Đức Huy <huyngo@disroot.org>2023-09-02 11:04:18 +0700
committerNgô Ngọc Đức Huy <huyngo@disroot.org>2023-09-02 11:04:18 +0700
commit6bc2879991c9e022c7f699c43821240c353ee3ba (patch)
tree826dc92c8bb152d7222516ad62bc72b4bb5a73e6 /layouts/partials/header.html
parent97a9a323478455bcc9a2e4a5dcd541047f6781b8 (diff)
downloadvictor-6bc2879991c9e022c7f699c43821240c353ee3ba.tar.gz
Add class for styling
Diffstat (limited to 'layouts/partials/header.html')
-rw-r--r--layouts/partials/header.html5
1 files changed, 3 insertions, 2 deletions
diff --git a/layouts/partials/header.html b/layouts/partials/header.html
index 991a2da..8364ba8 100644
--- a/layouts/partials/header.html
+++ b/layouts/partials/header.html
@@ -1,9 +1,9 @@
 <nav>
 	{{ $current := .RelPermalink }}
 	{{ if eq $current .Site.Home.RelPermalink }}
-	<a aria-current="page">{{ .Site.Title }}</a>
+	<a class="homepage" aria-current="page">{{ .Site.Title }}</a>
 	{{ else }}
-	<a href="{{ .Site.Home.RelPermalink }}" >{{ .Site.Title }}</a>
+	<a class="homepage" href="{{ .Site.Home.RelPermalink }}" >{{ .Site.Title }}</a>
 	{{ end}}
 
 	{{ range .Site.Menus.main }}
@@ -14,3 +14,4 @@
 	{{ end }}
 	{{ end }}
 </nav>
+{{ partial "header-extra.html" . }}