From d1d65c94b888c2959c9da799e4329161ede449ea Mon Sep 17 00:00:00 2001 From: Dennis Eriksen Date: Fri, 20 Jan 2023 12:06:49 +0100 Subject: Made Riker into a Zola-theme - Rikerz --- layouts/404.html | 6 ------ layouts/_default/list.html | 16 ---------------- layouts/_default/list.xml | 39 --------------------------------------- layouts/_default/single.html | 11 ----------- layouts/index.atom.xml | 36 ------------------------------------ layouts/index.html | 22 ---------------------- layouts/index.rss.xml | 39 --------------------------------------- layouts/partials/footer.html | 4 ---- layouts/partials/head.html | 25 ------------------------- layouts/sitemap.xml | 22 ---------------------- 10 files changed, 220 deletions(-) delete mode 100644 layouts/404.html delete mode 100644 layouts/_default/list.html delete mode 100644 layouts/_default/list.xml delete mode 100644 layouts/_default/single.html delete mode 100644 layouts/index.atom.xml delete mode 100644 layouts/index.html delete mode 100644 layouts/index.rss.xml delete mode 100644 layouts/partials/footer.html delete mode 100644 layouts/partials/head.html delete mode 100644 layouts/sitemap.xml (limited to 'layouts') diff --git a/layouts/404.html b/layouts/404.html deleted file mode 100644 index f3419e9..0000000 --- a/layouts/404.html +++ /dev/null @@ -1,6 +0,0 @@ -{{ partial "head" . }} -



-

404

-

Page not found, dude.

-



-{{ partial "footer" . }} diff --git a/layouts/_default/list.html b/layouts/_default/list.html deleted file mode 100644 index 7863d64..0000000 --- a/layouts/_default/list.html +++ /dev/null @@ -1,16 +0,0 @@ -{{ partial "head" . }} -
- - {{ .Content }} - - -
-{{ partial "footer" . }} diff --git a/layouts/_default/list.xml b/layouts/_default/list.xml deleted file mode 100644 index 849e0f0..0000000 --- a/layouts/_default/list.xml +++ /dev/null @@ -1,39 +0,0 @@ -{{- $pctx := . -}} -{{- if .IsHome -}}{{ $pctx = .Site }}{{- end -}} -{{- $pages := slice -}} -{{- if or $.IsHome $.IsSection -}} -{{- $pages = $pctx.RegularPages -}} -{{- else -}} -{{- $pages = $pctx.Pages -}} -{{- end -}} -{{- $limit := .Site.Config.Services.RSS.Limit -}} -{{- if ge $limit 1 -}} -{{- $pages = $pages | first $limit -}} -{{- end -}} -{{- printf "" | safeHTML }} - - - {{ if eq .Title .Site.Title }}{{ .Site.Title }}{{ else }}{{ with .Title }}{{.}} on {{ end }}{{ .Site.Title }}{{ end }} - {{ .Permalink }} - Recent content {{ if ne .Title .Site.Title }}{{ with .Title }}in {{.}} {{ end }}{{ end }}on {{ .Site.Title }} - Hugo -- gohugo.io{{ with .Site.LanguageCode }} - {{.}}{{end}}{{ with .Site.Author.email }} - {{.}}{{ with $.Site.Author.name }} ({{.}}){{end}}{{end}}{{ with .Site.Author.email }} - {{.}}{{ with $.Site.Author.name }} ({{.}}){{end}}{{end}}{{ with .Site.Copyright }} - {{.}}{{end}}{{ if not .Date.IsZero }} - {{ .Date.Format "Mon, 02 Jan 2006 15:04:05 -0700" | safeHTML }}{{ end }} - {{ with .OutputFormats.Get "RSS" }} - {{ printf "" .Permalink .MediaType | safeHTML }} - {{ end }} - {{ range where $pages "Params.hidden" "ne" "true" }} - - {{ .Title }} - {{ .Permalink }} - {{ .Date.Format "Mon, 02 Jan 2006 15:04:05 -0700" | safeHTML }} - {{ with .Site.Author.email }}{{.}}{{ with $.Site.Author.name }} ({{.}}){{end}}{{end}} - {{ .Permalink }} - {{ .Summary | html }} - - {{ end }} - - diff --git a/layouts/_default/single.html b/layouts/_default/single.html deleted file mode 100644 index 4d07a02..0000000 --- a/layouts/_default/single.html +++ /dev/null @@ -1,11 +0,0 @@ -{{ partial "head" . }} -
-
-

{{ .Title }}

- {{ .Date.Format "January 2, 2006" }} -{{ if ne (.Lastmod.Format "January 2, 2006") (.Date.Format "January 2, 2006") }}
Last modified {{ .Lastmod.Format "January 2, 2006" }}{{ end }} - -{{ .Content }} -
-
-{{ partial "footer" . }} diff --git a/layouts/index.atom.xml b/layouts/index.atom.xml deleted file mode 100644 index 7443f34..0000000 --- a/layouts/index.atom.xml +++ /dev/null @@ -1,36 +0,0 @@ -{{- $pctx := . -}} -{{- if .IsHome -}}{{ $pctx = .Site }}{{- end -}} -{{- $pages := slice -}} -{{- if or $.IsHome $.IsSection -}} -{{- $pages = $pctx.RegularPages -}} -{{- else -}} -{{- $pages = $pctx.Pages -}} -{{- end -}} -{{- $limit := .Site.Config.Services.RSS.Limit -}} -{{- if ge $limit 1 -}} -{{- $pages = $pages | first $limit -}} -{{- end -}} - - {{ if eq .Title .Site.Title }}{{ .Site.Title }}{{ else }}{{ with .Title }}{{.}} on {{ end }}{{ .Site.Title }}{{ end }} - - {{ if not .Date.IsZero }} - {{ .Date.Format "2006-01-02T15:04:05-07:00" | safeHTML }}{{end}} - {{ .Permalink }}{{ with .Site.Author.name }} - - {{.}}{{ with $.Site.Author.email }} - {{.}}{{end}} - {{end}} - Hugo -- gohugo.io - {{ range where $pages "Params.hidden" "ne" "true" }} - - {{ `<![CDATA[` | safeHTML }}{{ .Title }}]]> - - {{ .Permalink }}{{ with .Site.Params.Author }} - - {{.}} - {{end}} - {{ .Date.Format "2006-01-02T15:04:05-07:00" | safeHTML }} - {{ .Lastmod.Format "2006-01-02T15:04:05-07:00" | safeHTML }} - {{ ` - {{ end }} - diff --git a/layouts/index.html b/layouts/index.html deleted file mode 100644 index 8a7cffa..0000000 --- a/layouts/index.html +++ /dev/null @@ -1,22 +0,0 @@ -{{ partial "head" . }} - -
- -

{{ .Title }}

-
-
-

{{ .Site.Params.intro }}

-
-

Archive

- {{ range (where (where .Site.RegularPages "Params.hidden" "ne" "true") "Type" "post").GroupByDate "2006" }} -

{{ .Key }}

- {{ range .Pages }} - - {{ end }} - {{ end }} -
-
-{{ partial "footer" . }} diff --git a/layouts/index.rss.xml b/layouts/index.rss.xml deleted file mode 100644 index 849e0f0..0000000 --- a/layouts/index.rss.xml +++ /dev/null @@ -1,39 +0,0 @@ -{{- $pctx := . -}} -{{- if .IsHome -}}{{ $pctx = .Site }}{{- end -}} -{{- $pages := slice -}} -{{- if or $.IsHome $.IsSection -}} -{{- $pages = $pctx.RegularPages -}} -{{- else -}} -{{- $pages = $pctx.Pages -}} -{{- end -}} -{{- $limit := .Site.Config.Services.RSS.Limit -}} -{{- if ge $limit 1 -}} -{{- $pages = $pages | first $limit -}} -{{- end -}} -{{- printf "" | safeHTML }} - - - {{ if eq .Title .Site.Title }}{{ .Site.Title }}{{ else }}{{ with .Title }}{{.}} on {{ end }}{{ .Site.Title }}{{ end }} - {{ .Permalink }} - Recent content {{ if ne .Title .Site.Title }}{{ with .Title }}in {{.}} {{ end }}{{ end }}on {{ .Site.Title }} - Hugo -- gohugo.io{{ with .Site.LanguageCode }} - {{.}}{{end}}{{ with .Site.Author.email }} - {{.}}{{ with $.Site.Author.name }} ({{.}}){{end}}{{end}}{{ with .Site.Author.email }} - {{.}}{{ with $.Site.Author.name }} ({{.}}){{end}}{{end}}{{ with .Site.Copyright }} - {{.}}{{end}}{{ if not .Date.IsZero }} - {{ .Date.Format "Mon, 02 Jan 2006 15:04:05 -0700" | safeHTML }}{{ end }} - {{ with .OutputFormats.Get "RSS" }} - {{ printf "" .Permalink .MediaType | safeHTML }} - {{ end }} - {{ range where $pages "Params.hidden" "ne" "true" }} - - {{ .Title }} - {{ .Permalink }} - {{ .Date.Format "Mon, 02 Jan 2006 15:04:05 -0700" | safeHTML }} - {{ with .Site.Author.email }}{{.}}{{ with $.Site.Author.name }} ({{.}}){{end}}{{end}} - {{ .Permalink }} - {{ .Summary | html }} - - {{ end }} - - diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html deleted file mode 100644 index d0757f3..0000000 --- a/layouts/partials/footer.html +++ /dev/null @@ -1,4 +0,0 @@ - - diff --git a/layouts/partials/head.html b/layouts/partials/head.html deleted file mode 100644 index 6f1549e..0000000 --- a/layouts/partials/head.html +++ /dev/null @@ -1,25 +0,0 @@ - - - - - - - - {{ .Title }} {{ if ne .Title .Site.Title }} · {{ .Site.Title }}{{ end }} - - - - - -{{ with .OutputFormats.Get "rss" -}} - -{{ printf ` ` .Rel .MediaType.Type .Permalink $.Site.Title | safeHTML }} -{{ end -}} - - - -{{ if not .IsHome }} -
- -
-{{ end }} diff --git a/layouts/sitemap.xml b/layouts/sitemap.xml deleted file mode 100644 index d5ae26e..0000000 --- a/layouts/sitemap.xml +++ /dev/null @@ -1,22 +0,0 @@ -{{ printf "" | safeHTML }} - - {{ range where .Data.Pages "Params.hidden" "ne" "true" }} - - {{ .Permalink }}{{ if not .Lastmod.IsZero }} - {{ safeHTML ( .Lastmod.Format "2006-01-02T15:04:05-07:00" ) }}{{ end }}{{ with .Sitemap.ChangeFreq }} - {{ . }}{{ end }}{{ if ge .Sitemap.Priority 0.0 }} - {{ .Sitemap.Priority }}{{ end }}{{ if .IsTranslated }}{{ range .Translations }} - {{ end }} - {{ end }} - - {{ end }} - -- cgit v1.2.3