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-08 22:02:35 +00:00
|
|
|
<h1 class='title'>{{ .Title }}</h1>
|
|
|
|
<a style="display: none" class="u-url" href="{{ .Permalink }}"></a>
|
|
|
|
{{ .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>
|
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": [
|
|
|
|
"{{ .Site.BaseURL }}/img/{{ .Site.Params.avatar }}"
|
|
|
|
],
|
|
|
|
"datePublished": "{{ .Date.Format "2006-01-02" }}",
|
|
|
|
"author": [{
|
|
|
|
"@type": "Person",
|
|
|
|
"name": "{{ .Site.Params.Author }}",
|
|
|
|
"url": "{{ .Site.BaseURL }}",
|
|
|
|
"email": "mailto://{{ .Site.Params.email }}",
|
|
|
|
"image": "{{ .Site.BaseURL }}/img/{{ .Site.Params.avatar }}"
|
|
|
|
}]
|
|
|
|
}
|
|
|
|
</script>
|
|
|
|
{{ partial "footer.html" . }}
|
2020-01-16 03:07:43 +00:00
|
|
|
{{ end }}
|