From cd6644ea4ddc78597934ab0ef5ba50e3c3daa927 Mon Sep 17 00:00:00 2001 From: Mitja Felicijan Date: Sat, 8 Jul 2023 23:25:41 +0200 Subject: Moved to a simpler SSG --- themes/simple/layouts/section/section.json | 5 ----- themes/simple/layouts/section/section.xml | 27 --------------------------- 2 files changed, 32 deletions(-) delete mode 100644 themes/simple/layouts/section/section.json delete mode 100644 themes/simple/layouts/section/section.xml (limited to 'themes/simple/layouts/section') diff --git a/themes/simple/layouts/section/section.json b/themes/simple/layouts/section/section.json deleted file mode 100644 index b8f3786..0000000 --- a/themes/simple/layouts/section/section.json +++ /dev/null @@ -1,5 +0,0 @@ -{{- $.Scratch.Add "index" slice -}} -{{- range .Site.RegularPages -}} -{{- $.Scratch.Add "index" (dict "title" .Title "tags" .Params.tags "type" .Type "permalink" .RelPermalink "summary" .Summary) -}} -{{- end -}} -{{- $.Scratch.Get "index" | jsonify -}} diff --git a/themes/simple/layouts/section/section.xml b/themes/simple/layouts/section/section.xml deleted file mode 100644 index 889cf08..0000000 --- a/themes/simple/layouts/section/section.xml +++ /dev/null @@ -1,27 +0,0 @@ - - - - - {{ .Site.Author.name }}'s Notes - {{ .Permalink }} - {{ .Site.Params.description }} - en-us - - {{ range (where .Site.RegularPages "Section" "notes") }} - - - {{ .Title }} - {{ .Permalink }} - {{ .Date.Format "Mon, 02 Jan 2006 15:04:05 -0700" | safeHTML }} - {{ with .Site.Author.email }}{{.}}{{ with $.Site.Author.name }} ({{.}}){{end}}{{end}} - {{ .Permalink }} - - {{ " - {{ " - - - {{end}} - - - - -- cgit v1.2.3