2018-03-01 01:38:59 +00:00
|
|
|
{{ define "title" }}
|
|
|
|
{{ .Title }} · {{ .Site.Title }}
|
|
|
|
{{ end }}
|
|
|
|
{{ define "content" }}
|
2018-10-03 18:06:20 +00:00
|
|
|
<section class="container post">
|
|
|
|
<article>
|
|
|
|
<header>
|
2018-10-15 01:24:13 +00:00
|
|
|
<div class="post-title">
|
|
|
|
<h1 class="title">{{ .Title }}</h1>
|
|
|
|
</div>
|
|
|
|
<div class="post-meta">
|
2020-02-18 22:54:05 +00:00
|
|
|
<div class="meta-tag posted-on">
|
2020-02-20 14:57:29 +00:00
|
|
|
<span class="icon svg-icon">{{ partial "svg/calendar.svg" }}</span>
|
2020-02-18 22:54:05 +00:00
|
|
|
<time datetime='{{ .Date.Format "2006-01-02T15:04:05Z07:00" }}'>
|
|
|
|
{{ .Date.Format (.Site.Params.dateFormat | default "January 2, 2006" ) }}
|
|
|
|
</time>
|
|
|
|
</div>
|
|
|
|
<div class="meta-tag reading-time">
|
2020-02-20 14:57:29 +00:00
|
|
|
<span class="icon svg-icon">{{ partial "svg/clock.svg" }}</span>
|
2020-02-18 22:54:05 +00:00
|
|
|
{{ i18n "reading_time" .ReadingTime }}
|
2018-10-27 12:43:26 +00:00
|
|
|
</div>
|
2020-02-18 22:12:32 +00:00
|
|
|
<div class="taxonomy">
|
|
|
|
{{ with .Page.Params.Categories }}{{ partial "taxonomy/categories.html" . }}{{ end }}
|
|
|
|
{{ with .Page.Params.Tags }}{{ partial "taxonomy/tags.html" . }}{{ end }}
|
|
|
|
</div>
|
2018-10-15 01:24:13 +00:00
|
|
|
</div>
|
2018-10-03 18:06:20 +00:00
|
|
|
</header>
|
|
|
|
|
|
|
|
<div>
|
2020-01-27 18:46:37 +00:00
|
|
|
{{ if .Params.featured_image }}
|
2020-02-14 20:07:59 +00:00
|
|
|
<img class="featured-image" src='{{ .Params.featured_image }}' alt="Featured image"/>
|
2020-01-27 18:46:37 +00:00
|
|
|
{{ end }}
|
2018-10-03 18:06:20 +00:00
|
|
|
{{ .Content }}
|
|
|
|
</div>
|
|
|
|
|
2020-01-27 18:46:37 +00:00
|
|
|
|
2018-10-03 18:06:20 +00:00
|
|
|
<footer>
|
2020-09-12 23:26:35 +00:00
|
|
|
{{ if .Site.Params.talkyardServerUrl }}
|
|
|
|
<section class="comment-section">
|
|
|
|
<h2>Comments</h2>
|
|
|
|
<script>talkyardServerUrl='{{ .Site.Params.talkyardServerUrl }}';</script>
|
|
|
|
<script async defer src="{{ .Site.Params.talkyardScriptUrl }}"></script>
|
|
|
|
<div class="talkyard-comments" data-discussion-id="{{ .Params.discussionId }}" style="margin-top: 45px;">
|
|
|
|
<noscript>Please enable Javascript to view comments.</noscript>
|
|
|
|
</div>
|
|
|
|
</section>
|
|
|
|
{{ end }}
|
2019-06-29 12:46:18 +00:00
|
|
|
{{ partial "posts/commento.html" . }}
|
2019-08-21 13:03:15 +00:00
|
|
|
{{ partial "posts/utteranc.html" . }}
|
2018-10-03 18:06:20 +00:00
|
|
|
</footer>
|
|
|
|
</article>
|
|
|
|
|
2019-06-14 16:27:38 +00:00
|
|
|
{{ partial "posts/math.html" . }}
|
2018-10-03 18:06:20 +00:00
|
|
|
</section>
|
2018-03-01 01:38:59 +00:00
|
|
|
{{ end }}
|