mirror of
https://github.com/Brandon-Rozek/website-theme.git
synced 2025-12-08 16:20:24 +00:00
Switching images to use absolute urls
This commit is contained in:
parent
d9c51c967d
commit
9a879c7a40
6 changed files with 6 additions and 6 deletions
|
|
@ -11,7 +11,7 @@
|
|||
{{ $profile_image := resources.Get (printf "img/%s" .Site.Params.avatar) }}
|
||||
{{ $profile_width := 75 }}
|
||||
{{ $profile_image := $profile_image.Resize (printf "%dx webp q75" $profile_width) }}
|
||||
<img class="u-photo" width="{{ $profile_width }}" height="{{ $profile_width }}" src="{{ $profile_image.RelPermalink }}"/>
|
||||
<img class="u-photo" width="{{ $profile_width }}" height="{{ $profile_width }}" src="{{ $profile_image.Permalink }}"/>
|
||||
<span > {{ .Site.Params.Author }}</span>
|
||||
</div>
|
||||
{{ .Scratch.Set "beforeDateString" "Published on "}}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue