Add a menu link back to the home page

master
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> <ul>
{{ if not .IsHome }}
<li><a href="{{ .Site.BaseURL }}">Home</a></li>
{{ end }}
{{- $currentPage := . -}} {{- $currentPage := . -}}
{{- range .Site.Menus.main -}} {{- range .Site.Menus.main -}}
{{- if .HasChildren -}} {{- if .HasChildren -}}