blob: 48a15b76d3cf99340558ae0645d3b26978e4fc8d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
{{ .Scratch.Set "navbarType" "transparent" }}
{{ partial "header.html" . }}
{{ partial "nav.html" . }}
<!-- Loading the components -->
{{ $globalData := . }}
{{ $components := .Site.Data.config.components }}
{{ range $components }}
{{ if gt (len $components) 0 }}
{{ partial ( printf "%s.html" .) $globalData }}
{{ else }}
<h3 class="text-center">Oops! There is no component registered in config.json file</h3>
{{ end }}
{{ end }}
{{ partial "footer.html" . }}
{{ partial "footer-end.html" . }}
|