MC → 🐙, tweak title

This commit is contained in:
3wc 2021-08-26 00:55:50 +02:00
parent ed1621c1c8
commit 322b6abe35
3 changed files with 6 additions and 6 deletions

View File

@ -1,16 +1,16 @@
baseURL = 'http://example.org/' baseURL = 'http://example.org/'
languageCode = 'en-us' languageCode = 'en-us'
title = 'SITENAME' title = 'Sophie Lewis'
theme = "sophie-lewis" theme = "sophie-lewis"
[params] [params]
navbar = ["about", "writing", "videos", "get-in-touch"] navbar = ["about", "writing", "videos", "get-in-touch"]
[params.header] [params.header]
name = "Sophie Lewis" name = "Sophie Lewis"
subtitle = "Writer & Philosopher" subtitle = "Writer, Theorist, Teacher"
[params.about] [params.about]
#headshot = # headshot = "headshot.png"
# DON'T EDIT BELOW # DON'T EDIT BELOW

View File

@ -4,9 +4,9 @@
<div class="columns"> <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" }}
{{ if isset $.Site.Params.about "headshot" }} {{ if isset $.Site.Params.about "headshot" }}
{{ if fileExists ( printf "static/img/%s" $.Site.Params.about.headshot ) }} {{ if fileExists ( printf "themes/sophie-lewis/static/img/%s" $.Site.Params.about.headshot ) }}
{{ $img := relURL ( printf "img/%s" $.Site.Params.about.headshot )}} {{ $img := relURL ( printf "img/%s" $.Site.Params.about.headshot )}}
<img src='{{ $img }}'> <img src='{{ $img }}'>
{{ else }} {{ else }}
@ -28,4 +28,4 @@
{{.Content}} {{.Content}}
</div> </div>
{{ end }} {{ end }}
{{ end }} {{ end }}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.5 MiB

After

Width:  |  Height:  |  Size: 319 KiB