minor changes
This commit is contained in:
parent
4faf51a079
commit
d2ab31fa7a
@ -5,7 +5,7 @@
|
|||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-lg-8">
|
<div class="col-lg-8">
|
||||||
<div class="row">
|
<div class="row">
|
||||||
{{ $paginator := .Paginate ( where .Data.Pages "Type" "post") }}
|
{{ $paginator := .Paginate (where .Data.Pages "Type" "post") }}
|
||||||
{{ range $paginator.Pages }}
|
{{ range $paginator.Pages }}
|
||||||
<div class="col-md-6 d-flex align-items-stretch">
|
<div class="col-md-6 d-flex align-items-stretch">
|
||||||
{{ partial "card-article" . }}
|
{{ partial "card-article" . }}
|
||||||
|
@ -8,7 +8,7 @@
|
|||||||
{{ if eq $.Data.Plural "tags" }}
|
{{ if eq $.Data.Plural "tags" }}
|
||||||
<a href="{{ `tags/` | relURL }}{{ $name | urlize | lower }}">{{ $name }}</a>
|
<a href="{{ `tags/` | relURL }}{{ $name | urlize | lower }}">{{ $name }}</a>
|
||||||
{{ else if eq $.Data.Plural "categories" }}
|
{{ else if eq $.Data.Plural "categories" }}
|
||||||
<a href="{{ `categories/` | relURL }}{{ $name | urlize | lower }}">{{ if (index $transliterations $name) }}{{ index $transliterations $name }}{{ else }}{{ $name | title }}{{end}}</a>
|
<a href="{{ `categories/` | relURL }}{{ $name | urlize | lower }}">{{ with (index $transliterations $name) }}{{ . }}{{ else }}{{ $name | title }}{{end}}</a>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
</div>
|
</div>
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
<div class="container">
|
<div class="container">
|
||||||
<h2 class="mb-4">Weitere Begabtenförderungsangebote</h2>
|
<h2 class="mb-4">Weitere Begabtenförderungsangebote</h2>
|
||||||
<div class="row" data-pagefind-ignore="all">
|
<div class="row" data-pagefind-ignore="all">
|
||||||
{{ range partial "related" . }}
|
{{ range partial "data/related" . }}
|
||||||
{{ partial "card-btn" . }}
|
{{ partial "card-btn" . }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
</div>
|
</div>
|
||||||
|
@ -22,7 +22,7 @@
|
|||||||
<div class="container">
|
<div class="container">
|
||||||
<h2 class="mb-4">Andere Arbeitsgemeinschaften</h2>
|
<h2 class="mb-4">Andere Arbeitsgemeinschaften</h2>
|
||||||
<div class="row">
|
<div class="row">
|
||||||
{{ range partial "related" . }}
|
{{ range partial "data/related" . }}
|
||||||
<div class="col-lg-4 col-sm-6">
|
<div class="col-lg-4 col-sm-6">
|
||||||
{{ partial "ganztag" . }}
|
{{ partial "ganztag" . }}
|
||||||
</div>
|
</div>
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
<div class="container">
|
<div class="container">
|
||||||
<h2 class="mb-4">Weitere Wettbewerbe</h2>
|
<h2 class="mb-4">Weitere Wettbewerbe</h2>
|
||||||
<div class="row" data-pagefind-ignore="all">
|
<div class="row" data-pagefind-ignore="all">
|
||||||
{{ range partial "related" . }}
|
{{ range partial "data/related" . }}
|
||||||
<div class="col-lg-4 col-sm-6">
|
<div class="col-lg-4 col-sm-6">
|
||||||
{{ partial "card-category" . }}
|
{{ partial "card-category" . }}
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user