diff --git a/exampleSite/static/img/workday.jpg b/exampleSite/static/img/workday.jpg new file mode 100644 index 0000000..2e5eea4 Binary files /dev/null and b/exampleSite/static/img/workday.jpg differ diff --git a/layouts/partials/nav.html b/layouts/partials/nav.html index a40fd79..65a775d 100644 --- a/layouts/partials/nav.html +++ b/layouts/partials/nav.html @@ -54,9 +54,9 @@ {{ $totalProjects := (len .Pages) }} {{ $numberOfProjectsToShow := .Site.Params.home.numberOfProjectsToShow | default $totalProjects }} {{ if $isHome }} - {{ .Title }} + {{ .Title }} {{ else if le $totalProjects $numberOfProjectsToShow }} - {{ .Title }} + {{ .Title }} {{ else }} {{ if $pageIsInProjects }} @@ -73,7 +73,7 @@ {{ if not (and $pageIsInBlog (eq .Page.Kind "section")) }} {{ with .Site.GetPage "section" "/blog" }} {{ if $isHome }} - {{ .Title }} + {{ .Title }} {{ else }} {{ if $pageIsInBlog }}