Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/2-REC/hugo-myportfolio-theme.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDerek Severin <severinderek@gmail.com>2019-07-04 12:10:57 +0300
committerDerek Severin <severinderek@gmail.com>2019-07-04 12:10:57 +0300
commit75b25817344b79eca98e7ab5852bcd1fcfac27a9 (patch)
tree1936a1a553ad831dd805dd90a83d51093c8f8116
parent8abb9c9e388ee164c80118388c1dfa9fb9e96cfe (diff)
GetPage update & minor spelling correction
-rw-r--r--exampleSite/config.toml2
-rw-r--r--layouts/partials/homepage.html2
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 }}