From 5de7de4e64cb20183ebfe86e16578f4abd62a23e Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Sat, 14 Nov 2020 21:17:02 +0100 Subject: Port theme to zola template --- themes/xmin/layouts/_default/baseof.html | 31 ------------------------------- themes/xmin/layouts/_default/list.html | 23 ----------------------- themes/xmin/layouts/_default/single.html | 19 ------------------- themes/xmin/layouts/_default/terms.html | 13 ------------- 4 files changed, 86 deletions(-) delete mode 100644 themes/xmin/layouts/_default/baseof.html delete mode 100644 themes/xmin/layouts/_default/list.html delete mode 100644 themes/xmin/layouts/_default/single.html delete mode 100644 themes/xmin/layouts/_default/terms.html (limited to 'themes/xmin/layouts/_default') diff --git a/themes/xmin/layouts/_default/baseof.html b/themes/xmin/layouts/_default/baseof.html deleted file mode 100644 index f934ea8..0000000 --- a/themes/xmin/layouts/_default/baseof.html +++ /dev/null @@ -1,31 +0,0 @@ - - - - - - {{ .Title }} | {{ .Site.Title }} - - {{- range .AlternativeOutputFormats }} - {{ printf `` .Permalink .Rel .MediaType.Type $.Site.Title | safeHTML }} - {{- end }} - - - - - - {{ block "main" . }} - {{ end }} - - - - diff --git a/themes/xmin/layouts/_default/list.html b/themes/xmin/layouts/_default/list.html deleted file mode 100644 index 6780bba..0000000 --- a/themes/xmin/layouts/_default/list.html +++ /dev/null @@ -1,23 +0,0 @@ -{{ define "main" }} - -{{ if not .IsHome }} -

{{ .Title | markdownify }}

-{{ else }} -

{{ .Site.Title | markdownify }}

-{{ end }} - - -{{ .Content }} - - - -{{- end }} diff --git a/themes/xmin/layouts/_default/single.html b/themes/xmin/layouts/_default/single.html deleted file mode 100644 index b69ed7c..0000000 --- a/themes/xmin/layouts/_default/single.html +++ /dev/null @@ -1,19 +0,0 @@ -{{ define "main" }} -
-
-

{{ .Title | markdownify }}

- {{ if (gt .Params.date 0) }}{{ end }} -

- {{- range $i := (slice "categories" "tags") }} - {{- with ($.Param $i) }} - {{ $i | title }}: {{ range $k := . }}{{$k}} {{ end }} - {{- end }} - {{- end }} -

-
- -
- {{ .Content }} -
-
-{{- end }} diff --git a/themes/xmin/layouts/_default/terms.html b/themes/xmin/layouts/_default/terms.html deleted file mode 100644 index 15de7a9..0000000 --- a/themes/xmin/layouts/_default/terms.html +++ /dev/null @@ -1,13 +0,0 @@ -{{ define "main" }} - -

{{ .Title }}

- - - -{{- end }} -- cgit 1.4.1