website-theme/layouts/tracks/single.html

29 lines
988 B
HTML
Raw Normal View History

2022-05-29 16:52:49 +00: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">
2022-12-02 04:31:17 +00:00
<img class="u-photo" src="{{ .Site.BaseURL }}img/avatar.jpg"/>
2022-05-29 16:52:49 +00: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-03 00:32:21 +00:00
{{ .Scratch.Set "gpxFile" .Params.gpx }}
2023-01-05 05:35:01 +00:00
{{ partial "external/gpxstudio.html" . }}
2022-05-29 16:52:49 +00:00
{{ .Content }}
</div>
</article>
{{ partial "webmentions.html" . }}
</main>
{{ partial "footer.html" . }}
{{ end }}