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 }}
{{ if .Site.Params.arguments.list }}
{{ partial "arguments.html" . }}
2017-03-16 00:00:56 +01:00
{{ end }}
2017-08-16 12:13:09 +02:00
{{ if .Site.Params.action }}
{{ partial "action.html" . }}
{{ end }}
{{ if .Site.Params.organisations }}
{{ partial "organisations.html" . }}
{{ end }}
<!-- Can be used later
{{ if .Site.Params.resources }}
{{ partial "resources.html" . }}
{{ end }}
-->
{{ if .Site.Params.spread }}
{{ partial "spread.html" . }}
2017-03-16 00:00:56 +01:00
{{ end }}
{{ if .Site.Params.language }}
{{ partial "language.html" . }}
{{ end }}
2017-03-21 12:52:42 +01:00
{{ partial "legal.html" . }}
{{ partial "sharecolumn.html" . }}
{{ partial "action-box.html" . }}
2017-03-16 00:00:56 +01:00
{{ partial "js.html" . }}
</body>
</html>