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

github.com/eddiewebb/hugo-resume.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/index.html')
-rw-r--r--layouts/index.html8
1 files changed, 4 insertions, 4 deletions
diff --git a/layouts/index.html b/layouts/index.html
index 487f05f..c53cc70 100644
--- a/layouts/index.html
+++ b/layouts/index.html
@@ -5,19 +5,19 @@
{{ end }}
{{ if .Site.Params.showProjects }}
{{ with .Site.GetPage "section" "projects/creations" }}
- {{ .Scratch.Add "sectionId" "projects" }}
+ {{ .Scratch.Set "sectionId" "projects" }}
{{ partial "sectionSummary" . }}
{{ end }}
{{ end }}
{{ if .Site.Params.showOpenSource }}
{{ with .Site.GetPage "section" "projects/contributions" }}
- {{ .Scratch.Add "sectionId" "open" }}
+ {{ .Scratch.Set "sectionId" "open" }}
{{ partial "sectionSummary" . }}
{{ end }}
{{ end }}
{{ if .Site.Params.showPublications }}
{{ with .Site.GetPage "section" "publications" }}
- {{ .Scratch.Add "sectionId" "publications" }}
+ {{ .Scratch.Set "sectionId" "publications" }}
{{ partial "sectionSummary" . }}
{{ end }}
{{ end }}
@@ -29,7 +29,7 @@
{{ end }}
{{ if .Site.Params.showBlog }}
{{ with .Site.GetPage "section" "blog" }}
- {{ .Scratch.Add "sectionId" "blog" }}
+ {{ .Scratch.Set "sectionId" "blog" }}
{{ partial "sectionSummary" . }}
{{ end }}
{{ end }}