diff options
author | Alan Pearce | 2020-01-11 22:42:15 +0100 |
---|---|---|
committer | Alan Pearce | 2020-01-11 22:42:15 +0100 |
commit | 9f704c758226e3983ad62bf95f1e226f4671ce28 (patch) | |
tree | 46523afc9565309a38e231f8f649fb01224ccfde /themes/xmin/layouts | |
parent | 8e93db7f9e380ae6ef2f9b4c54fda4cb6bd1b305 (diff) | |
download | website-9f704c758226e3983ad62bf95f1e226f4671ce28.tar.lz website-9f704c758226e3983ad62bf95f1e226f4671ce28.tar.zst website-9f704c758226e3983ad62bf95f1e226f4671ce28.zip |
Add post-author relationship
Diffstat (limited to 'themes/xmin/layouts')
-rw-r--r-- | themes/xmin/layouts/_default/baseof.html | 2 |
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> |