Add headshot

This commit is contained in:
David Eisinger
2024-02-05 11:57:42 -05:00
parent c66e538e3b
commit 2cda4b8f4e
3 changed files with 3 additions and 3 deletions

View File

@@ -4,4 +4,4 @@ date: 2023-05-09T09:51:10-04:00
draft: false
---
Placeholder
{{<dither "headshot.png" />}}

Binary file not shown.

View File

@@ -1,6 +1,6 @@
{{ $file := printf "%s%s" .Page.RelPermalink (.Get 0) }}
{{ $file := printf "%s%s" .Page.File.Dir (.Get 0) }}
{{ $geo := .Get 1 }}
{{ $img := resources.GetRemote (printf "%s%s?geo=%s" (getenv "DITHER_SERVER") $file $geo) }}
{{ $img := resources.GetRemote (printf "%s/%s?geo=%s" (getenv "DITHER_SERVER") $file $geo) }}
{{ $imgClass := .Get 2 }}
<a href="{{ $img.RelPermalink }}">