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 --- .../layouts/_default/_markup/render-image.html | 11 --- themes/simple/layouts/_default/baseof.html | 14 --- themes/simple/layouts/_default/index.json | 5 - themes/simple/layouts/_default/index.xml | 27 ------ themes/simple/layouts/_default/list.html | 48 ---------- themes/simple/layouts/_default/notes.html | 101 --------------------- themes/simple/layouts/_default/single.html | 61 ------------- 7 files changed, 267 deletions(-) delete mode 100644 themes/simple/layouts/_default/_markup/render-image.html delete mode 100644 themes/simple/layouts/_default/baseof.html delete mode 100644 themes/simple/layouts/_default/index.json delete mode 100644 themes/simple/layouts/_default/index.xml delete mode 100644 themes/simple/layouts/_default/list.html delete mode 100644 themes/simple/layouts/_default/notes.html delete mode 100644 themes/simple/layouts/_default/single.html (limited to 'themes/simple/layouts/_default') diff --git a/themes/simple/layouts/_default/_markup/render-image.html b/themes/simple/layouts/_default/_markup/render-image.html deleted file mode 100644 index d3df1fd..0000000 --- a/themes/simple/layouts/_default/_markup/render-image.html +++ /dev/null @@ -1,11 +0,0 @@ -{{ $cachebuster := delimit (shuffle (split (md5 "6fab11c6669976d759d2992eff1dd5be") "" )) "" }} - -
- - {{ .Text }} - -
{{ .Text }}
-
diff --git a/themes/simple/layouts/_default/baseof.html b/themes/simple/layouts/_default/baseof.html deleted file mode 100644 index 79c7684..0000000 --- a/themes/simple/layouts/_default/baseof.html +++ /dev/null @@ -1,14 +0,0 @@ - - - -{{ partial "head.html" . }} - - - {{ partial "navigation.html" . }} -
- {{ block "main" . }}{{ end }} -
- {{ partial "footer.html" . }} - - - \ No newline at end of file diff --git a/themes/simple/layouts/_default/index.json b/themes/simple/layouts/_default/index.json deleted file mode 100644 index b8f3786..0000000 --- a/themes/simple/layouts/_default/index.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/_default/index.xml b/themes/simple/layouts/_default/index.xml deleted file mode 100644 index 1f29133..0000000 --- a/themes/simple/layouts/_default/index.xml +++ /dev/null @@ -1,27 +0,0 @@ - - - - - {{ .Site.Author.name }}'s Blog - {{ .Permalink }} - {{ .Site.Params.description }} - en-us - - {{ range (where .Site.RegularPages "Section" "posts") }} - - - {{ .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}} - - - - diff --git a/themes/simple/layouts/_default/list.html b/themes/simple/layouts/_default/list.html deleted file mode 100644 index 6362b0f..0000000 --- a/themes/simple/layouts/_default/list.html +++ /dev/null @@ -1,48 +0,0 @@ -{{ define "main" }} -
- - - {{ partial "search.html" . }} - - - - -

For interesting notes and - small experiments I usually partake - in, check the Notes page.

-
- -

Blog posts

- - - - -
- - - {{ partial "side-projects.html" . }} - -
- - - {{ partial "openring.html" . }} - -
-{{ end }} diff --git a/themes/simple/layouts/_default/notes.html b/themes/simple/layouts/_default/notes.html deleted file mode 100644 index f624814..0000000 --- a/themes/simple/layouts/_default/notes.html +++ /dev/null @@ -1,101 +0,0 @@ -{{ define "main" }} -
- - - {{ partial "search.html" . }} - -
-

Notes, notes and notes

-

- Notes about things I learn, things I do, things I want to remember, - but never do. You can subscribe to this - RSS feed - which contains only the notes without the blog posts. -

-
- -
- - - - - - - - - - - - -
-{{ end }} diff --git a/themes/simple/layouts/_default/single.html b/themes/simple/layouts/_default/single.html deleted file mode 100644 index 095ff25..0000000 --- a/themes/simple/layouts/_default/single.html +++ /dev/null @@ -1,61 +0,0 @@ -{{ define "main" }} -
- - - {{ partial "search.html" . }} - - -
-
-

{{ .Title }}

- - {{ if not (eq .Type "pages") }} - - {{ end }} -
- - {{ if not .Params.hidetoc }} -
- {{ if ge (len .TableOfContents) 100 }} -

Table of contents

-
{{ .TableOfContents }}
- {{ end }} -
- {{ end }} - -
- {{.Content}} -
-
- - {{ if not (eq .Type "pages") }} -
- {{ end }} - - - {{ if not (eq .Type "pages") }} -
- {{ partial "comments.html" . }} -
- {{ end }} - - {{ if not (eq .Type "pages") }} -
- {{ end }} - - - {{ if not (eq .Type "pages") }} - {{ partial "read-more.html" . }} - {{ end }} - - {{ if in .Type "posts" }} -
- {{ end }} - - - {{ if in .Type "posts" }} - {{ partial "openring.html" . }} - {{ end }} - -
-{{ end }} -- cgit v1.2.3