2020-08-24 01:48:03 -05:00
|
|
|
{{ define "main" }}
|
2021-01-02 07:08:21 -06:00
|
|
|
{{- partial "inject/content-before.html" . -}}
|
2021-04-19 05:01:09 -05:00
|
|
|
<article class="card {{ if .Site.Params.discreteCards }}discrete{{ end }} single">
|
2020-08-24 01:48:03 -05:00
|
|
|
<h1>{{ .Title }}</h1>
|
2021-07-06 16:17:14 -05:00
|
|
|
{{ if (.Params.showDate | default true) }}
|
|
|
|
<p class="date">
|
2021-07-07 07:33:45 -05:00
|
|
|
<span title='{{ i18n "date" }}'> </span>
|
|
|
|
{{- partial "date.html" .Date -}}
|
2021-07-06 16:17:14 -05:00
|
|
|
</p>
|
|
|
|
{{ end }}
|
2021-03-10 02:07:13 -06:00
|
|
|
{{ if .Params.Image }}
|
|
|
|
<img src="{{ .Params.Image }}" alt="" />
|
|
|
|
{{ end }}
|
2021-12-22 17:46:39 -06:00
|
|
|
{{ if (.Params.toc | default false) }}
|
|
|
|
<div class="articleToc">
|
|
|
|
{{ .TableOfContents }}
|
|
|
|
<hr />
|
|
|
|
</div>
|
|
|
|
{{ end }}
|
2020-08-24 01:48:03 -05:00
|
|
|
<div>{{ .Content }}</div>
|
|
|
|
</article>
|
2021-04-19 04:14:05 -05:00
|
|
|
{{ if .Params.tags }}
|
|
|
|
{{ if not .Site.Params.discreteCards }}<hr />{{ end }}
|
|
|
|
<p class="articleTagsContainer">
|
|
|
|
<span> </span>
|
2021-07-07 07:33:45 -05:00
|
|
|
<strong>{{ i18n "tagsColumn" }}</strong>
|
2021-06-16 04:08:07 -05:00
|
|
|
{{ range sort .Params.tags }}
|
2021-04-19 04:14:05 -05:00
|
|
|
<a
|
|
|
|
{{ if site.Params.discreteTags | default false }}
|
|
|
|
class="discreteTag"
|
|
|
|
{{ end }}
|
|
|
|
href="/tags/{{ . | urlize }}">#{{ . }}</a>
|
|
|
|
{{ end }}
|
|
|
|
</p>
|
|
|
|
{{ end }}
|
2021-01-02 07:08:21 -06:00
|
|
|
{{- partial "inject/content-after.html" . -}}
|
2021-06-28 03:20:05 -05:00
|
|
|
{{- partial "share_on_fediverse.html" . -}}
|
2021-06-16 02:56:00 -05:00
|
|
|
{{- partial "commento.html" . -}}
|
|
|
|
{{- partial "cactus_chat.html" . -}}
|
2021-04-15 00:46:53 -05:00
|
|
|
{{- partial "related_articles.html" . -}}
|
2020-08-24 01:48:03 -05:00
|
|
|
{{ end }}
|