about summary refs log tree commit diff stats
path: root/themes/xmin
diff options
context:
space:
mode:
authorAlan Pearce2020-01-11 22:42:15 +0100
committerAlan Pearce2020-01-11 22:42:15 +0100
commit9f704c758226e3983ad62bf95f1e226f4671ce28 (patch)
tree46523afc9565309a38e231f8f649fb01224ccfde /themes/xmin
parent8e93db7f9e380ae6ef2f9b4c54fda4cb6bd1b305 (diff)
downloadwebsite-9f704c758226e3983ad62bf95f1e226f4671ce28.tar.lz
website-9f704c758226e3983ad62bf95f1e226f4671ce28.tar.zst
website-9f704c758226e3983ad62bf95f1e226f4671ce28.zip
Add post-author relationship
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>