From b74e9e85afe7a3db9f2f329cc7b5a1632aa16d02 Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Wed, 5 Oct 2022 17:58:37 -0700 Subject: ref(fcuny/notes): delete notes The notes are at https://github.com/fcuny/notes.fcuny.net --- users/fcuny/notes/layouts/_default/baseof.html | 10 ------ users/fcuny/notes/layouts/_default/list.html | 10 ------ users/fcuny/notes/layouts/_default/single.html | 40 ------------------------ users/fcuny/notes/layouts/index.html | 22 ------------- users/fcuny/notes/layouts/partials/head.html | 17 ---------- users/fcuny/notes/layouts/partials/header.html | 5 --- users/fcuny/notes/layouts/partials/postlist.html | 12 ------- users/fcuny/notes/layouts/taxonomy/tag.html | 6 ---- 8 files changed, 122 deletions(-) delete mode 100644 users/fcuny/notes/layouts/_default/baseof.html delete mode 100644 users/fcuny/notes/layouts/_default/list.html delete mode 100644 users/fcuny/notes/layouts/_default/single.html delete mode 100644 users/fcuny/notes/layouts/index.html delete mode 100644 users/fcuny/notes/layouts/partials/head.html delete mode 100644 users/fcuny/notes/layouts/partials/header.html delete mode 100644 users/fcuny/notes/layouts/partials/postlist.html delete mode 100644 users/fcuny/notes/layouts/taxonomy/tag.html (limited to 'users/fcuny/notes/layouts') diff --git a/users/fcuny/notes/layouts/_default/baseof.html b/users/fcuny/notes/layouts/_default/baseof.html deleted file mode 100644 index 0c72fb1..0000000 --- a/users/fcuny/notes/layouts/_default/baseof.html +++ /dev/null @@ -1,10 +0,0 @@ - - - {{ partial "head.html" . }} - - {{- partial "header.html" . -}} -
- {{ block "main" . }}{{ end }} -
- - diff --git a/users/fcuny/notes/layouts/_default/list.html b/users/fcuny/notes/layouts/_default/list.html deleted file mode 100644 index d2c59a7..0000000 --- a/users/fcuny/notes/layouts/_default/list.html +++ /dev/null @@ -1,10 +0,0 @@ -{{ define "main" }} - -
- - {{ $pgs := where .Data.Pages "Params.hidden" "ne" "true" }} - {{ partial "postlist" $pgs }} - -
- -{{ end }} diff --git a/users/fcuny/notes/layouts/_default/single.html b/users/fcuny/notes/layouts/_default/single.html deleted file mode 100644 index 7f594ad..0000000 --- a/users/fcuny/notes/layouts/_default/single.html +++ /dev/null @@ -1,40 +0,0 @@ -{{ define "main" }} - -
- -

{{ .Title }}

- -
- {{- $pub := .Date.Format "Jan 2, 2006" -}} - {{- $mod := "" -}} - {{- if (not .GitInfo) }} - {{- $mod = .Lastmod.Format "Jan 2, 2006" -}} - {{ else }} - {{- $mod = .Page.GitInfo.CommitDate.Format "Jan 2, 2006" -}} - {{ end -}} - {{ if eq $pub $mod }} -
published {{ $pub }}
- {{ else }} -
published {{ $pub }} - last modified {{ $mod }}
- {{ end }} - {{ if .Params.tags }} -
- {{ if eq (len .Params.tags) 1 }} - tag: - {{ else }} - tags: - {{ end }} - {{ range $idx, $tag := .Params.tags }} - {{ $tag }} - {{ end }} -
- {{ end }} -
- -
-{{ .Content }} -
- -
- -{{ end }} diff --git a/users/fcuny/notes/layouts/index.html b/users/fcuny/notes/layouts/index.html deleted file mode 100644 index 8ddc67d..0000000 --- a/users/fcuny/notes/layouts/index.html +++ /dev/null @@ -1,22 +0,0 @@ -{{ define "main" }} - -
- - A place to collect random notes. - - - -
- -{{ end }} diff --git a/users/fcuny/notes/layouts/partials/head.html b/users/fcuny/notes/layouts/partials/head.html deleted file mode 100644 index 6e5a6fb..0000000 --- a/users/fcuny/notes/layouts/partials/head.html +++ /dev/null @@ -1,17 +0,0 @@ - - - - - - - {{ $css := "/css/custom.css" }} - - - - - - - - - {{ .Title }} - diff --git a/users/fcuny/notes/layouts/partials/header.html b/users/fcuny/notes/layouts/partials/header.html deleted file mode 100644 index 798463c..0000000 --- a/users/fcuny/notes/layouts/partials/header.html +++ /dev/null @@ -1,5 +0,0 @@ -
- -
diff --git a/users/fcuny/notes/layouts/partials/postlist.html b/users/fcuny/notes/layouts/partials/postlist.html deleted file mode 100644 index 3d5cf04..0000000 --- a/users/fcuny/notes/layouts/partials/postlist.html +++ /dev/null @@ -1,12 +0,0 @@ -{{ range .GroupByDate "2006" }} -

{{ .Key }}

- -{{ end }} diff --git a/users/fcuny/notes/layouts/taxonomy/tag.html b/users/fcuny/notes/layouts/taxonomy/tag.html deleted file mode 100644 index 2b7d98a..0000000 --- a/users/fcuny/notes/layouts/taxonomy/tag.html +++ /dev/null @@ -1,6 +0,0 @@ -{{ define "main" }} - - {{ $pgs := where .Data.Pages "Params.hidden" "ne" "true" }} - {{ partial "postlist" $pgs }} - -{{ end }} -- cgit 1.4.1