a.no-underline class

This commit is contained in:
Pau
2022-12-27 01:31:14 +01:00
parent 64e060d51a
commit 4719c8a4d5
6 changed files with 14 additions and 6 deletions

View File

@ -3,8 +3,8 @@
{{ if eq (.Title | lower) "about" }}
<div class="column is-one-third">
<div class="headshot">
{{ $img := relURL "img/headshot_example.png" }}
{{ if isset $.Site.Params.about "headshot" }}
{{ $img := relURL "img/headshot_example.png" }}
{{ if isset $.Site.Params.about "headshot" }}
{{ if fileExists ( printf "static/img/%s" $.Site.Params.about.headshot ) }}
{{ $img := relURL ( printf "img/%s" $.Site.Params.about.headshot )}}
<img src='{{ $img }}'>