publiccode.si/layouts/index.html

49 lines
1.3 KiB
HTML

<!DOCTYPE html>
{{ $data := index .Site.Data .Site.Language.Lang }}
<html lang="{{ with .Site.LanguageCode }}{{ . }}{{ else }}en-US{{ end }}">
<head>
{{ partial "head.html" . }}
</head>
<body id="page-top">
{{ if or .Site.Params.navigation.links.about .Site.Params.navigation.links.reasons .Site.Params.navigation.links.resources .Site.Params.navigation.links.contact }}
{{ partial "nav.html" . }}
{{ end }}
{{ if .Site.Params.start }}
{{ partial "start.html" . }}
{{ end }}
{{ if .Site.Params.about }}
{{ partial "about.html" . }}
{{ end }}
{{ if .Site.Params.reasons.list }}
{{ partial "reasons.html" . }}
{{ end }}
{{ if $data.resources }}
{{ partial "resources.html" . }}
{{ end }}
{{ if .Site.Params.spread }}
{{ partial "spread.html" . }}
{{ end }}
{{ if .Site.Params.contact }}
{{ partial "contact.html" . }}
{{ end }}
{{ if .Site.Params.language }}
{{ partial "language.html" . }}
{{ end }}
{{ if $data.resources }}
{{ partial "modals.html" . }}
{{ end }}
{{ partial "sharecolumn.html" . }}
{{ partial "js.html" . }}
</body>
</html>