blob: f8faec7896ffc60f46b79a486c47cfcf1b7d6221 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
{{ "<!-- HOMEPAGE.HTML -->" | safeHTML }}
{{ $sections := .Site.Params.homepage.sections }}
{{ if in $sections "home" }}
{{ partial "sections/home.html" . }}
{{ end }}
{{ if in $sections "about" }}
{{ partial "sections/about.html" . }}
{{ end }}
{{ if in $sections "services" }}
{{ partial "sections/services.html" . }}
{{ end }}
{{ if in $sections "skills" }}
{{ partial "sections/skills.html" . }}
{{ end }}
{{ if in $sections "projects" }}
{{ range .Site.Params.projects.categories }}
{{ with $.Site.GetPage "section" . }}
{{ partial "sections/projects.html" . }}
{{ end }}
{{ end }}
{{ end }}
{{ if in $sections "contact" }}
{{ partial "sections/contact.html" . }}
{{ end }}
|