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