diff --git a/config.toml b/config.toml index 9f5f2e3..4d2d84f 100644 --- a/config.toml +++ b/config.toml @@ -1,16 +1,16 @@ baseURL = 'http://example.org/' languageCode = 'en-us' -title = 'SITENAME' +title = 'Sophie Lewis' theme = "sophie-lewis" [params] navbar = ["about", "writing", "videos", "get-in-touch"] [params.header] name = "Sophie Lewis" - subtitle = "Writer & Philosopher" + subtitle = "Writer, Theorist, Teacher" [params.about] - #headshot = + # headshot = "headshot.png" # DON'T EDIT BELOW diff --git a/themes/sophie-lewis/layouts/_default/single.html b/themes/sophie-lewis/layouts/_default/single.html index 7c893f2..3213dd3 100644 --- a/themes/sophie-lewis/layouts/_default/single.html +++ b/themes/sophie-lewis/layouts/_default/single.html @@ -4,9 +4,9 @@
- {{ $img := relURL "img/headshot_example.png"}} + {{ $img := relURL "img/headshot_example.png" }} {{ 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 )}} {{ else }} @@ -28,4 +28,4 @@ {{.Content}}
{{ end }} -{{ end }} \ No newline at end of file +{{ end }} diff --git a/themes/sophie-lewis/static/img/headshot_example.png b/themes/sophie-lewis/static/img/headshot_example.png index 99198bb..ea2ab16 100644 Binary files a/themes/sophie-lewis/static/img/headshot_example.png and b/themes/sophie-lewis/static/img/headshot_example.png differ