update theme
This commit is contained in:
parent
920db1a5ce
commit
43ddb22f80
17 changed files with 1462 additions and 207 deletions
|
@ -1,13 +1,16 @@
|
|||
<li class="comment">
|
||||
<article class="comment__body">
|
||||
<article class="comment__body" itemprop="comment" itemscope itemtype="https://schema.org/Comment">
|
||||
<header class="comment__header">
|
||||
<h3 class="comment__author">{{ .Params.author }}</h3>
|
||||
<h3 class="comment__author" itemprop="author">{{ .Params.author }}</h3>
|
||||
{{- $publishDate := time .Params.publishDate -}}
|
||||
<p class="comment__publish-date">
|
||||
<time class="dt-published" datetime="{{ $publishDate.Format "2006-01-02T15:04:05-07:00" }}" itemprop="datePublished">{{ $publishDate.Format "January 2" }}<sup>{{ if in (slice 1 21 31) $publishDate.Day }}st{{ else if in (slice 2 22) $publishDate.Day}}nd{{ else if in (slice 3 23) $publishDate.Day }}rd{{ else }}th{{ end }}</sup>, 1{{ $publishDate.Format "2006" | lang.NumFmt 0 }} <abbr style="font-variant: small-caps; font-size: 0.8em;" title="Holocene Era">HE</abbr></time>
|
||||
</p>
|
||||
{{- with .Params.source -}}
|
||||
<p class="comment__source">Source: {{ . }}</p>
|
||||
{{- end -}}
|
||||
</header>
|
||||
|
||||
{{ .Inner | markdownify }}
|
||||
|
||||
<footer class="comment__footer">
|
||||
{{ with .Params.source }}<p class="comment__source">Source: {{ . }}</p>{{ end }}
|
||||
</footer>
|
||||
{{- .Inner | markdownify -}}
|
||||
</article>
|
||||
</li>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue