You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
40 lines
1.2 KiB
HTML
40 lines
1.2 KiB
HTML
{{ define "header_css" }}{{ end }}
|
|
{{ define "body_classes" }}page-pages-aboutlayout{{ end }}
|
|
{{ define "header_classes" }}{{ end }}
|
|
|
|
{{ define "main" }}
|
|
{{ partial "hero-image-setheight.html" (dict "background" .Params.heroBackground "heading" .Params.heroHeading "subheading" .Params.heroSubHeading "section" .Section "content" .)}}
|
|
|
|
{{ $headless := .Site.GetPage "/termine/cfp" }}
|
|
{{ $subpages := $headless.Resources.ByType "page" }}
|
|
{{ $subpages := sort $subpages ".Params.weight" }}
|
|
|
|
<div class="strip bg-cover bg-position-top bg-overlay" style="background-image: url('{{ .Params.background | relURL }}');">
|
|
<div class="container pt-17 pb-17">
|
|
{{ range $subpages }}
|
|
|
|
<div class="row">
|
|
<div class="col-12 col-md-4 ">
|
|
<h2 class="text-primary text-capitalize">{{ .Title }}</h2>
|
|
</div>
|
|
<div class="col-12 col-md-8 ">
|
|
{{ .Content }}
|
|
{{ if .Params.button }}
|
|
<a class="button" href="{{ .Params.buttonLink | relURL }}">{{ .Params.button }}</a>
|
|
<br/>
|
|
{{ end }}
|
|
</div>
|
|
</div>
|
|
|
|
<div class="row"></div>
|
|
|
|
{{ end }}
|
|
</div>
|
|
</div>
|
|
|
|
{{ end }}
|
|
|
|
{{ define "template" }}
|
|
{{ partial "show-template" (dict "Which" .Kind "Template" "layouts/termine/cfp.html") }}
|
|
{{ end }}
|