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/404.html | 5 ----- 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 ----------- themes/xmin/layouts/partials/foot_custom.html | 0 themes/xmin/layouts/partials/footer.html | 9 -------- themes/xmin/layouts/partials/head_custom.html | 0 themes/xmin/layouts/partials/header.html | 19 ---------------- 9 files changed, 119 deletions(-) delete mode 100644 themes/xmin/layouts/404.html 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 delete mode 100644 themes/xmin/layouts/partials/foot_custom.html delete mode 100644 themes/xmin/layouts/partials/footer.html delete mode 100644 themes/xmin/layouts/partials/head_custom.html delete mode 100644 themes/xmin/layouts/partials/header.html (limited to 'themes/xmin/layouts') diff --git a/themes/xmin/layouts/404.html b/themes/xmin/layouts/404.html deleted file mode 100644 index 2f77920..0000000 --- a/themes/xmin/layouts/404.html +++ /dev/null @@ -1,5 +0,0 @@ -{{ define "main" }} - -404 Not Found - -{{- end }} 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 }} diff --git a/themes/xmin/layouts/partials/foot_custom.html b/themes/xmin/layouts/partials/foot_custom.html deleted file mode 100644 index e69de29..0000000 diff --git a/themes/xmin/layouts/partials/footer.html b/themes/xmin/layouts/partials/footer.html deleted file mode 100644 index 3f46ea5..0000000 --- a/themes/xmin/layouts/partials/footer.html +++ /dev/null @@ -1,9 +0,0 @@ - - - diff --git a/themes/xmin/layouts/partials/head_custom.html b/themes/xmin/layouts/partials/head_custom.html deleted file mode 100644 index e69de29..0000000 diff --git a/themes/xmin/layouts/partials/header.html b/themes/xmin/layouts/partials/header.html deleted file mode 100644 index b3dbf64..0000000 --- a/themes/xmin/layouts/partials/header.html +++ /dev/null @@ -1,19 +0,0 @@ - - - - - - {{ .Title }} | {{ .Site.Title }} - - {{ partial "head_custom.html" . }} - - - - -- cgit 1.4.1