publiccode.si/site/layouts/index.html

55 lines
1.5 KiB
HTML
Raw Normal View History

2017-03-16 00:00:56 +01:00
<!DOCTYPE html>
{{ $data := index .Site.Data .Site.Language.Lang }}
2017-03-16 00:00:56 +01:00
<html lang="{{ with .Site.LanguageCode }}{{ . }}{{ else }}en-US{{ end }}">
<head>
{{ partial "head.html" . }}
</head>
<body id="page-top">
2017-03-20 13:37:30 +01:00
{{ if or .Site.Params.navigation.links.about .Site.Params.navigation.links.reasons .Site.Params.navigation.links.resources .Site.Params.navigation.links.contact }}
2017-03-16 00:00:56 +01:00
{{ partial "nav.html" . }}
{{ end }}
2017-03-20 13:37:30 +01:00
{{ if .Site.Params.start }}
{{ partial "start.html" . }}
2017-03-16 00:00:56 +01:00
{{ end }}
{{ if .Site.Params.about }}
{{ partial "about.html" . }}
{{ end }}
2017-03-20 13:37:30 +01:00
{{ if .Site.Params.reasons.list }}
{{ partial "reasons.html" . }}
2017-03-16 00:00:56 +01:00
{{ end }}
{{ if $data.resources }}
2017-03-20 13:37:30 +01:00
{{ partial "resources.html" . }}
2017-03-16 00:00:56 +01:00
{{ end }}
{{ if .Site.Params.sign }}
{{ partial "sign.html" . }}
{{ end }}
{{ if .Site.Params.spread }}
{{ partial "spread.html" . }}
2017-03-16 00:00:56 +01:00
{{ end }}
{{ if .Site.Params.contact }}
{{ partial "contact.html" . }}
{{ end }}
{{ if .Site.Params.language }}
{{ partial "language.html" . }}
{{ end }}
2017-03-21 12:52:42 +01:00
{{ partial "legal.html" . }}
2017-03-16 00:00:56 +01:00
{{ if $data.resources }}
2017-03-16 00:00:56 +01:00
{{ partial "modals.html" . }}
{{ end }}
{{ partial "sharecolumn.html" . }}
2017-03-16 00:00:56 +01:00
{{ partial "js.html" . }}
</body>
</html>