mirror of
https://github.com/Brandon-Rozek/website-theme.git
synced 2025-12-13 01:40:24 +00:00
Compare commits
8 commits
ded609da7d
...
a49100eee9
| Author | SHA1 | Date | |
|---|---|---|---|
| a49100eee9 | |||
| 9a879c7a40 | |||
| d9c51c967d | |||
| 91552d5841 | |||
| e344944c34 | |||
| 39126b0d06 | |||
| e253bf878d | |||
| fb67108120 |
6 changed files with 7 additions and 7 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 "}}
|
||||
|
|
|
|||
|
|
@ -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 "}}
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@
|
|||
{{ $profile_image := resources.Get (printf "img/%s" .Site.Params.avatar) }}
|
||||
{{ $profile_width := 250 }}
|
||||
{{ $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.RelPermalink }}" alt="Photo of {{ .Site.Params.Author }}">
|
||||
<img class="avatarMask u-photo" width="{{ $profile_width }}" height="{{ $profile_width }}" src="{{ $profile_image.Permalink }}" alt="Photo of {{ .Site.Params.Author }}">
|
||||
<!-- <img src="{{ .Site.BaseURL }}img/avatar-border.svg" alt="Photo of {{ .Site.Params.Author }}"> -->
|
||||
</div>
|
||||
<!-- author -->
|
||||
|
|
@ -64,7 +64,7 @@
|
|||
{{ else }}
|
||||
{{ $name = .Params.taxon.name }}
|
||||
{{ end }}
|
||||
<p><strong>Nature Observation: </strong><a href="{{ .Permalink }}">{{ title $name }}</a></p>
|
||||
<p><strong>Nature Observation: </strong><a href="{{ .Permalink }}/observations">{{ title $name }}</a></p>
|
||||
{{ end }}
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
<!-- content -->
|
||||
|
|
|
|||
|
|
@ -28,7 +28,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="avatarMask u-photo" width="{{ $profile_width }}" height="{{ $profile_width }}" src="{{ $profile_image.RelPermalink }}" alt="Photo of {{ .Site.Params.Author }}">
|
||||
<img class="avatarMask u-photo" width="{{ $profile_width }}" height="{{ $profile_width }}" src="{{ $profile_image.Permalink }}" alt="Photo of {{ .Site.Params.Author }}">
|
||||
<div style="display: none">
|
||||
<!-- email / description (for h-card) -->
|
||||
<a class="u-email" href="mailto://{{ .Site.Params.email }}"></a>
|
||||
|
|
|
|||
|
|
@ -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