2022-05-29 12:52:49 -04:00
|
|
|
{{ define "main"}}
|
|
|
|
{{ .Scratch.Set "customTitleHeaderSet" true }}
|
|
|
|
{{ .Scratch.Set "customTitleHeader" "Tracks" }}
|
|
|
|
{{ .Scratch.Set "customTitleHeaderLink" "/tracks" }}
|
|
|
|
{{ partial "header.html" . }}
|
|
|
|
<main>
|
|
|
|
<article class="h-entry">
|
|
|
|
<h1 class='title p-name'>{{ .Title }}</h1>
|
|
|
|
<a style="display: none" class="u-url" href="{{ .Permalink }}"></a>
|
|
|
|
<div style="display: none;" rel="author" class="h-card p-author">
|
2023-09-26 16:30:27 -04:00
|
|
|
{{ $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 }}"/>
|
2022-05-29 12:52:49 -04:00
|
|
|
<span > {{ .Site.Params.Author }}</span>
|
|
|
|
</div>
|
|
|
|
{{ .Scratch.Set "beforeDateString" "Published on "}}
|
|
|
|
{{ partial "date.html" . }}
|
|
|
|
{{ partial "reading_time.html" . }}
|
|
|
|
{{ partial "tags/page.html" . }}
|
|
|
|
<!-- content -->
|
|
|
|
<div class="e-content">
|
2022-06-02 20:32:21 -04:00
|
|
|
{{ .Scratch.Set "gpxFile" .Params.gpx }}
|
2023-01-05 00:35:01 -05:00
|
|
|
{{ partial "external/gpxstudio.html" . }}
|
2022-05-29 12:52:49 -04:00
|
|
|
{{ .Content }}
|
|
|
|
</div>
|
|
|
|
</article>
|
|
|
|
{{ partial "webmentions.html" . }}
|
|
|
|
</main>
|
|
|
|
{{ end }}
|