Changes About

This commit is contained in:
Pau 2022-12-23 10:12:05 +01:00
parent fea15f0f44
commit d4e211c930

View File

@ -1,7 +1,6 @@
{{ define "main" }}
{{ $content_class := $.Page.Params.title | lower }}
{{ if eq (.Title | lower) "about" }}
<div class="columns">
<div class="column is-one-third">
<div class="headshot">
{{ $img := relURL "img/headshot_example.png" }}
@ -17,12 +16,9 @@
{{ end }}
</div>
</div>
<div class="column">
<div id="content" class='section {{ $content_class }}'>
{{.Content}}
</div>
</div>
</div>
{{ else }}
<div id="content" class='section {{ $content_class }}'>
{{.Content}}