37 lines
1.3 KiB
HTML
37 lines
1.3 KiB
HTML
{{ define "title" }}
|
|
{{ .Page.Title | plainify }} | {{ .Site.Title }}
|
|
{{ end }}
|
|
|
|
{{ define "main-class" }}--section layouts-cv-organisations-section{{ end }}
|
|
|
|
{{ define "main-header" }}
|
|
{{ if .IsDescendant ( .GetPage "/cv/organisations" ) }}
|
|
<header class="site-content__header">
|
|
<div class="article-header__featured-image"
|
|
{{ if .Params.featured_image }}
|
|
{{ with .Resources.GetMatch .Params.featured_image }}
|
|
style="background-image: url({{ .RelPermalink }})"
|
|
{{ end }}
|
|
{{ end }}>
|
|
<div class="article-header__title-wrapper{{ if .Params.title_in_logo }} article-header__title-wrapper--no-title{{ end }}">
|
|
<h2 class="article-header__title">{{ if ( .Params.markup_title ) }}{{ .Params.markup_title | safeHTML }}{{ else }}{{ .Title }}{{ end }}</h2>
|
|
</div>
|
|
</div>
|
|
</header>
|
|
{{ else }}
|
|
<header class="site-content__header">
|
|
<h2 class="page-title">{{ .Title | safeHTML }}.</h2>
|
|
{{- .Content -}}
|
|
</header>
|
|
{{ end }}
|
|
{{ end }}
|
|
|
|
{{ define "main-body" }}
|
|
{{ with .GetPage "cv/organisations" }}
|
|
{{ partial "cv/organisations/organisations-table.html.tmpl" . }}
|
|
{{ end }}
|
|
{{ end }}
|
|
|
|
{{ define "main-footer" }}
|
|
|
|
{{ end }}
|