summary refs log tree commit diff stats
path: root/themes/xmin
diff options
context:
space:
mode:
Diffstat (limited to 'themes/xmin')
-rw-r--r--themes/xmin/layouts/_default/baseof.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/themes/xmin/layouts/_default/baseof.html b/themes/xmin/layouts/_default/baseof.html
index 1705460..1ddc669 100644
--- a/themes/xmin/layouts/_default/baseof.html
+++ b/themes/xmin/layouts/_default/baseof.html
@@ -14,7 +14,7 @@
     <nav>
       <ul>
         {{- range .Site.Menus.main }}
-        <li><a href="{{ .URL | relURL }}">{{ .Name }}</a></li>
+        <li><a {{- if eq .URL "/" }} class="author"{{ end }} href="{{ .URL | relURL }}">{{ .Name }}</a></li>
         {{- end }}
       </ul>
     </nav>