From 75b25817344b79eca98e7ab5852bcd1fcfac27a9 Mon Sep 17 00:00:00 2001 From: Derek Severin Date: Thu, 4 Jul 2019 16:10:57 +0700 Subject: GetPage update & minor spelling correction --- exampleSite/config.toml | 2 +- layouts/partials/homepage.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/exampleSite/config.toml b/exampleSite/config.toml index 646e52e..599d6d9 100644 --- a/exampleSite/config.toml +++ b/exampleSite/config.toml @@ -97,7 +97,7 @@ theme = "hugo-myportfolio-theme" # - single: parent.posts_order # - list of sections: # - default: title. - # - common to all, efined globally here. + # - common to all, defined globally here. # - can be overriden at page level # - list: in "_index.md" # - single: in "index.md" (or "post.md" if post is not a bundle) diff --git a/layouts/partials/homepage.html b/layouts/partials/homepage.html index f8faec7..f815a26 100644 --- a/layouts/partials/homepage.html +++ b/layouts/partials/homepage.html @@ -20,7 +20,7 @@ {{ if in $sections "projects" }} {{ range .Site.Params.projects.categories }} - {{ with $.Site.GetPage "section" . }} + {{ with $.Site.GetPage . }} {{ partial "sections/projects.html" . }} {{ end }} {{ end }} -- cgit v1.2.3