diff options
| author | William Hergès <william@herges.fr> | 2025-08-01 12:54:51 +0200 |
|---|---|---|
| committer | William Hergès <william@herges.fr> | 2025-08-01 12:54:51 +0200 |
| commit | b87964e81f99e03dd5ed2983d3788ae2170de237 (patch) | |
| tree | 87f67980eda97dc8e228588ad0d33004156649f1 /templates | |
| parent | b7829c52685fe019e9de66f562206f909bd67876 (diff) | |
feat(config): supports external link for images
Diffstat (limited to 'templates')
| -rw-r--r-- | templates/page/index.gohtml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/page/index.gohtml b/templates/page/index.gohtml index f0ebaea..21d4423 100644 --- a/templates/page/index.gohtml +++ b/templates/page/index.gohtml @@ -2,7 +2,7 @@ <main style="{{ .GetBackground }}"> <div class="presentation"> <figure> - <img src="{{ getStaticPath .Person.Image }}" alt="{{ .Person.Name }}'s image"> + <img src="{{ getImage .Person.Image }}" alt="{{ .Person.Name }}'s image"> </figure> <div class="presentation__information"> <h2>{{ .Person.Name }}</h2> |
