This is a web feed, also known as an RSS feed. Subscribe by copying the URL into your RSS reader.
++ + {{- partial "date.html" .Date -}} + {{ if and (site.Params.tagsInArticlePreview | default true) .Params.tags }} + | + + {{ range sort .Params.tags }} + #{{ . }} + {{ end }} + {{ end }} +
+ {{ if .Site.Params.imageInArticlePreview }} + {{ if .Params.Image }} + + {{ if or (hasPrefix .Params.Image "/") (hasPrefix .Params.Image "http://") (hasPrefix .Params.Image "https://") }} + + {{ else }} + + {{ end }} + + {{ end }} + {{end}} + {{ if (site.Params.articleSummary | default true) }} ++ {{ if .Params.description }} + {{ .Params.description }} + {{ else }} + {{.Summary }} + {{ end }} +
+ +
+
+ {{- partial "date.html" .Date -}}
+ {{ if and (site.Params.tagsInArticlePreview | default true) .Params.tags }}
+
+
+ {{ range sort .Params.tags }}
+ #{{ . }}
+ {{ end }}
+ {{ end }}
+
+ + {{- partial "date.html" .Date -}} +
+ {{ end }} + {{ if and (.Params.toc | default false) (.Site.Params.tocBeforeImage | default false) }} + {{- partial "toc.html" . -}} + {{ end }} + {{ if .Params.Image }} + + {{ end }} + {{ if and (.Params.toc | default false) (not (.Site.Params.tocBeforeImage | default false)) }} + {{- partial "toc.html" . -}} + {{ end }} ++ + {{ i18n "tagsColumn" }} + {{ range sort .Params.tags }} + #{{ . }} + {{ end }} +
+{{ end }} +{{- partial "inject/content-after.html" . -}} +{{ if .Params.showShare | default true }} + {{- partial "share_on_fediverse.html" . -}} +{{ end }} +{{- partial "commento.html" . -}} +{{- partial "cactus_chat.html" . -}} +{{- partial "related_articles.html" . -}} diff --git a/layouts/partials/toc.html b/layouts/partials/toc.html new file mode 100644 index 0000000..d99f4d7 --- /dev/null +++ b/layouts/partials/toc.html @@ -0,0 +1,4 @@ +