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.
seuh2022/layouts/termine/cfp.html

35 lines
1.1 KiB
HTML

3 years ago
{{ define "header_css" }}{{ end }}
3 years ago
{{ define "body_classes" }}page-pages-aboutlayout{{ end }}
3 years ago
{{ define "header_classes" }}{{ end }}
3 years ago
3 years ago
{{ define "main" }}
{{ partial "hero-image-setheight.html" (dict "background" .Params.heroBackground "heading" .Params.heroHeading "subheading" .Params.heroSubHeading "section" .Section "content" .)}}
3 years ago
{{ $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>
{{ end }}
3 years ago
</div>
</div>
3 years ago
<div class="row"></div>
3 years ago
3 years ago
{{ end }}
</div>
</div>
3 years ago
{{ end }}