42 lines
1.1 KiB
HTML
42 lines
1.1 KiB
HTML
{{ define "main" }}
|
|
{{ partial "page-title.html" . }}
|
|
<!-- Intro-Abschnitt (optional über Frontmatter "about") -->
|
|
{{ with .Params.about }}
|
|
{{ if .enable }}
|
|
<section class="service-about section">
|
|
<div class="container">
|
|
<div class="row">
|
|
<div class="col-md-6">
|
|
{{ with .title }}<h2>{{ . | markdownify }}</h2>{{ end }}
|
|
{{ with .content }}
|
|
<div class="mt-30">{{ . | $.Page.RenderString (dict "display" "block") }}</div>
|
|
{{ end }}
|
|
</div>
|
|
{{ with .image }}
|
|
<div class="col-md-6">
|
|
<img class="img-responsive" src="{{ . | relURL }}">
|
|
</div>
|
|
{{ end }}
|
|
</div>
|
|
</div>
|
|
</section>
|
|
{{ end }}
|
|
{{ end }}
|
|
|
|
<!-- Hauptinhalt aus der Markdown-Datei -->
|
|
<section class="section">
|
|
<div class="container">
|
|
<div class="row">
|
|
<div class="col-md-12">
|
|
{{ .Content }}
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</section>
|
|
|
|
<!-- Call-to-Action (optional, falls in Frontmatter aktiviert) -->
|
|
{{ if .Params.cta.enable }}
|
|
{{ partial "cta.html" . }}
|
|
{{ end }}
|
|
|
|
{{ end }}
|