Add a menu link back to the home page

pull/3/head v0.1.4
Kevin C. Coram 2019-11-24 21:39:29 -05:00
parent fddbc125f7
commit c9621cb516
Signed by: kevin
GPG Key ID: 0342351B3D61AD35
1 changed files with 3 additions and 0 deletions

View File

@ -1,4 +1,7 @@
<ul>
{{ if not .IsHome }}
<li><a href="{{ .Site.BaseURL }}">Home</a></li>
{{ end }}
{{- $currentPage := . -}}
{{- range .Site.Menus.main -}}
{{- if .HasChildren -}}