Initial commit: Add telonma homepage

This commit is contained in:
2024-12-19 13:52:17 +01:00
commit eabd1921ab
222 changed files with 27012 additions and 0 deletions

View File

@@ -0,0 +1,18 @@
<section class="wrapper style1">
<div class="container">
{{ with .item.heading }}<h2>{{ . }}</h2>{{ end }}
{{- $pages := (.ctx.Site.GetPage .item.content_type).RegularPagesRecursive }}
{{- range $idx, $itm := first (.item.max | default 4) $pages }}
{{- $rowpos := mod $idx 2 }}
{{- if eq $rowpos 0 }}
<div class="row">
{{ end }}
{{- .Render "shortblock" -}}
{{ if or (eq $rowpos 1) (eq $idx (len $pages)) -}}
</div>
{{- end }}
{{- end }}
</div>
</section>