From 91796f21c74558ec438f3b346ae95d125333a0a9 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Sat, 11 Jan 2020 19:10:05 +0100 Subject: Add h-feed support --- themes/xmin/layouts/_default/baseof.html | 4 ++-- themes/xmin/layouts/_default/list.html | 11 +++++++---- 2 files changed, 9 insertions(+), 6 deletions(-) (limited to 'themes/xmin/layouts') diff --git a/themes/xmin/layouts/_default/baseof.html b/themes/xmin/layouts/_default/baseof.html index 6757396..16332b8 100644 --- a/themes/xmin/layouts/_default/baseof.html +++ b/themes/xmin/layouts/_default/baseof.html @@ -1,9 +1,9 @@ - + - {{ .Title }} | {{ .Site.Title }} + {{ .Title }} | {{ .Site.Title }} {{ range .AlternativeOutputFormats -}} {{ printf `` .Permalink .Rel .MediaType.Type $.Site.Title | safeHTML }} diff --git a/themes/xmin/layouts/_default/list.html b/themes/xmin/layouts/_default/list.html index bf0af50..6780bba 100644 --- a/themes/xmin/layouts/_default/list.html +++ b/themes/xmin/layouts/_default/list.html @@ -1,18 +1,21 @@ {{ define "main" }} -{{if not .IsHome }} +{{ if not .IsHome }}

{{ .Title | markdownify }}

+{{ else }} +

{{ .Site.Title | markdownify }}

{{ end }} + {{ .Content }} -- cgit 1.4.1