Compare commits

..

No commits in common. "a49100eee9c37817c8ed34be775b1dadc504b756" and "ded609da7dfd3eec8f1002560bfb00bc66db2c0b" have entirely different histories.

6 changed files with 7 additions and 7 deletions

View file

@ -11,7 +11,7 @@
{{ $profile_image := resources.Get (printf "img/%s" .Site.Params.avatar) }} {{ $profile_image := resources.Get (printf "img/%s" .Site.Params.avatar) }}
{{ $profile_width := 75 }} {{ $profile_width := 75 }}
{{ $profile_image := $profile_image.Resize (printf "%dx webp q75" $profile_width) }} {{ $profile_image := $profile_image.Resize (printf "%dx webp q75" $profile_width) }}
<img class="u-photo" width="{{ $profile_width }}" height="{{ $profile_width }}" src="{{ $profile_image.Permalink }}"/> <img class="u-photo" width="{{ $profile_width }}" height="{{ $profile_width }}" src="{{ $profile_image.RelPermalink }}"/>
<span > {{ .Site.Params.Author }}</span> <span > {{ .Site.Params.Author }}</span>
</div> </div>
{{ .Scratch.Set "beforeDateString" "Published on "}} {{ .Scratch.Set "beforeDateString" "Published on "}}

View file

@ -11,7 +11,7 @@
{{ $profile_image := resources.Get (printf "img/%s" .Site.Params.avatar) }} {{ $profile_image := resources.Get (printf "img/%s" .Site.Params.avatar) }}
{{ $profile_width := 75 }} {{ $profile_width := 75 }}
{{ $profile_image := $profile_image.Resize (printf "%dx webp q75" $profile_width) }} {{ $profile_image := $profile_image.Resize (printf "%dx webp q75" $profile_width) }}
<img class="u-photo" width="{{ $profile_width }}" height="{{ $profile_width }}" src="{{ $profile_image.Permalink }}"/> <img class="u-photo" width="{{ $profile_width }}" height="{{ $profile_width }}" src="{{ $profile_image.RelPermalink }}"/>
<span > {{ .Site.Params.Author }}</span> <span > {{ .Site.Params.Author }}</span>
</div> </div>
{{ .Scratch.Set "beforeDateString" "Published on "}} {{ .Scratch.Set "beforeDateString" "Published on "}}

View file

@ -9,7 +9,7 @@
{{ $profile_image := resources.Get (printf "img/%s" .Site.Params.avatar) }} {{ $profile_image := resources.Get (printf "img/%s" .Site.Params.avatar) }}
{{ $profile_width := 250 }} {{ $profile_width := 250 }}
{{ $profile_image := $profile_image.Resize (printf "%dx webp q75" $profile_width) }} {{ $profile_image := $profile_image.Resize (printf "%dx webp q75" $profile_width) }}
<img class="avatarMask u-photo" width="{{ $profile_width }}" height="{{ $profile_width }}" src="{{ $profile_image.Permalink }}" alt="Photo of {{ .Site.Params.Author }}"> <img class="avatarMask u-photo" width="{{ $profile_width }}" height="{{ $profile_width }}" src="{{ $profile_image.RelPermalink }}" alt="Photo of {{ .Site.Params.Author }}">
<!-- <img src="{{ .Site.BaseURL }}img/avatar-border.svg" alt="Photo of {{ .Site.Params.Author }}"> --> <!-- <img src="{{ .Site.BaseURL }}img/avatar-border.svg" alt="Photo of {{ .Site.Params.Author }}"> -->
</div> </div>
<!-- author --> <!-- author -->
@ -64,7 +64,7 @@
{{ else }} {{ else }}
{{ $name = .Params.taxon.name }} {{ $name = .Params.taxon.name }}
{{ end }} {{ end }}
<p><strong>Nature Observation: </strong><a href="{{ .Permalink }}/observations">{{ title $name }}</a></p> <p><strong>Nature Observation: </strong><a href="{{ .Permalink }}">{{ title $name }}</a></p>
{{ end }} {{ end }}

View file

@ -11,7 +11,7 @@
{{ $profile_image := resources.Get (printf "img/%s" .Site.Params.avatar) }} {{ $profile_image := resources.Get (printf "img/%s" .Site.Params.avatar) }}
{{ $profile_width := 75 }} {{ $profile_width := 75 }}
{{ $profile_image := $profile_image.Resize (printf "%dx webp q75" $profile_width) }} {{ $profile_image := $profile_image.Resize (printf "%dx webp q75" $profile_width) }}
<img class="u-photo" width="{{ $profile_width }}" height="{{ $profile_width }}" src="{{ $profile_image.Permalink }}"/> <img class="u-photo" width="{{ $profile_width }}" height="{{ $profile_width }}" src="{{ $profile_image.RelPermalink }}"/>
<span > {{ .Site.Params.Author }}</span> <span > {{ .Site.Params.Author }}</span>
</div> </div>
<!-- content --> <!-- content -->

View file

@ -28,7 +28,7 @@
{{ $profile_image := resources.Get (printf "img/%s" .Site.Params.avatar) }} {{ $profile_image := resources.Get (printf "img/%s" .Site.Params.avatar) }}
{{ $profile_width := 75 }} {{ $profile_width := 75 }}
{{ $profile_image := $profile_image.Resize (printf "%dx webp q75" $profile_width) }} {{ $profile_image := $profile_image.Resize (printf "%dx webp q75" $profile_width) }}
<img class="avatarMask u-photo" width="{{ $profile_width }}" height="{{ $profile_width }}" src="{{ $profile_image.Permalink }}" alt="Photo of {{ .Site.Params.Author }}"> <img class="avatarMask u-photo" width="{{ $profile_width }}" height="{{ $profile_width }}" src="{{ $profile_image.RelPermalink }}" alt="Photo of {{ .Site.Params.Author }}">
<div style="display: none"> <div style="display: none">
<!-- email / description (for h-card) --> <!-- email / description (for h-card) -->
<a class="u-email" href="mailto://{{ .Site.Params.email }}"></a> <a class="u-email" href="mailto://{{ .Site.Params.email }}"></a>

View file

@ -11,7 +11,7 @@
{{ $profile_image := resources.Get (printf "img/%s" .Site.Params.avatar) }} {{ $profile_image := resources.Get (printf "img/%s" .Site.Params.avatar) }}
{{ $profile_width := 75 }} {{ $profile_width := 75 }}
{{ $profile_image := $profile_image.Resize (printf "%dx webp q75" $profile_width) }} {{ $profile_image := $profile_image.Resize (printf "%dx webp q75" $profile_width) }}
<img class="u-photo" width="{{ $profile_width }}" height="{{ $profile_width }}" src="{{ $profile_image.Permalink }}"/> <img class="u-photo" width="{{ $profile_width }}" height="{{ $profile_width }}" src="{{ $profile_image.RelPermalink }}"/>
<span > {{ .Site.Params.Author }}</span> <span > {{ .Site.Params.Author }}</span>
</div> </div>
{{ .Scratch.Set "beforeDateString" "Published on "}} {{ .Scratch.Set "beforeDateString" "Published on "}}