45 lines
1.8 KiB
HTML
45 lines
1.8 KiB
HTML
|
<!DOCTYPE html>
|
||
|
<html>
|
||
|
{{- partial "head.html" . -}}
|
||
|
<body>
|
||
|
{{- partial "header.html" . -}}
|
||
|
<div id="content">
|
||
|
{{ partial "section-app-header.html" (dict "Data" .Params.SectionHeader "Site" .Site) }}
|
||
|
<br>
|
||
|
<!-- About section -->
|
||
|
<section class="center content-center padding-container">
|
||
|
<h1>{{ .Params.About.Title }}</h1>
|
||
|
<p>{{ .Params.About.Content | markdownify }}</p>
|
||
|
</section>
|
||
|
<!--<img class="center" src="{{ .Params.About.Screenshot | safeHTMLAttr }}"/>-->
|
||
|
<!-- other sections -->
|
||
|
{{ range .Params.Sections }}
|
||
|
<section class="center content-center columns-container padding-container">
|
||
|
{{ if eq .Type "text|image" }}
|
||
|
<div class="column col2 text-right vertical-center">
|
||
|
{{ .Content | markdownify }}
|
||
|
</div>
|
||
|
<div class="column col2">
|
||
|
<img class="vertical-center fill-width" src="/img/{{ .Image }}.png"/>
|
||
|
</div>
|
||
|
{{ else if eq .Type "image|text" }}
|
||
|
<div class="column col2">
|
||
|
<img class="vertical-center fill-width" src="/img/{{ .Image }}.png"/>
|
||
|
</div>
|
||
|
<div class="column col2 text-left vertical-center">
|
||
|
{{ .Content | markdownify }}
|
||
|
</div>
|
||
|
{{ else if eq .Type "text-image" }}
|
||
|
<div class="column text-center">
|
||
|
{{ .Content | markdownify }}
|
||
|
<img src="/img/{{ .Image }}"/>
|
||
|
</div>
|
||
|
{{ end }}
|
||
|
</section>
|
||
|
<br>
|
||
|
{{ end }}
|
||
|
</div>
|
||
|
{{- partial "footer.html" . -}}
|
||
|
</body>
|
||
|
</html>
|