all repos — homestead @ c881670effad6628d31cd1d89098d713e19a51d0

Code for my website

Add post-author relationship

Alan Pearce
commit

c881670effad6628d31cd1d89098d713e19a51d0

parent

e6376fbc95ca0d399838115a15eb80ea5f289b37

1 file changed, 1 insertion(+), 1 deletion(-)

jump to
M themes/xmin/layouts/_default/baseof.htmlthemes/xmin/layouts/_default/baseof.html
@@ -14,7 +14,7 @@ <body>
<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>