2020-01-16 03:07:43 +00:00
|
|
|
{{ define "main"}}
|
2022-05-08 22:02:35 +00:00
|
|
|
{{ .Scratch.Set "customTitleHeaderSet" true }}
|
|
|
|
{{ .Scratch.Set "customTitleHeader" "Blog" }}
|
|
|
|
{{ .Scratch.Set "customTitleHeaderLink" "/blog" }}
|
|
|
|
{{ partial "header.html" . }}
|
|
|
|
<main>
|
2022-02-15 06:13:11 +00:00
|
|
|
<article class="h-entry">
|
2022-05-16 21:23:55 +00:00
|
|
|
<h1 class='title p-name'>{{ .Title }}</h1>
|
2022-05-08 22:02:35 +00:00
|
|
|
<a style="display: none" class="u-url" href="{{ .Permalink }}"></a>
|
2022-05-16 21:23:55 +00:00
|
|
|
<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-16 21:23:55 +00:00
|
|
|
<span > {{ .Site.Params.Author }}</span>
|
|
|
|
</div>
|
2022-05-08 22:02:35 +00:00
|
|
|
{{ .Scratch.Set "beforeDateString" "Published on "}}
|
|
|
|
{{ partial "date.html" . }}
|
|
|
|
{{ partial "reading_time.html" . }}
|
2022-05-08 22:06:32 +00:00
|
|
|
{{ partial "tags/page.html" . }}
|
2022-05-08 22:02:35 +00:00
|
|
|
<!-- content -->
|
|
|
|
<div class="e-content">
|
|
|
|
{{ .Content }}
|
|
|
|
</div>
|
2022-02-15 06:13:11 +00:00
|
|
|
</article>
|
2023-08-15 01:35:48 +00:00
|
|
|
{{ partial "sharepost.html" . }}
|
2023-01-04 02:04:24 +00:00
|
|
|
<a href='mailto:{{ .Site.Params.email }}?subject=Re: "{{ .Title }}"' class="reply-button">Reply via Email</a>
|
2022-06-03 00:22:35 +00:00
|
|
|
|
2022-05-08 22:02:35 +00:00
|
|
|
{{ partial "webmentions.html" . }}
|
|
|
|
</main>
|
|
|
|
<!-- Metadata -->
|
|
|
|
<script type="application/ld+json">
|
|
|
|
{
|
|
|
|
"@context": "https://schema.org",
|
|
|
|
"@type": "NewsArticle",
|
|
|
|
"headline": "{{ .Title }}",
|
|
|
|
"image": [
|
2022-12-02 04:31:17 +00:00
|
|
|
"{{ .Site.BaseURL }}img/{{ .Site.Params.avatar }}"
|
2022-05-08 22:02:35 +00:00
|
|
|
],
|
|
|
|
"datePublished": "{{ .Date.Format "2006-01-02" }}",
|
|
|
|
"author": [{
|
|
|
|
"@type": "Person",
|
|
|
|
"name": "{{ .Site.Params.Author }}",
|
|
|
|
"url": "{{ .Site.BaseURL }}",
|
|
|
|
"email": "mailto://{{ .Site.Params.email }}",
|
2022-12-02 04:31:17 +00:00
|
|
|
"image": "{{ .Site.BaseURL }}img/{{ .Site.Params.avatar }}"
|
2022-05-08 22:02:35 +00:00
|
|
|
}]
|
|
|
|
}
|
|
|
|
</script>
|
|
|
|
{{ partial "footer.html" . }}
|
2020-01-16 03:07:43 +00:00
|
|
|
{{ end }}
|