From bb72d16cce4b2cee6a31f0aa3fdcf5cad8890de9 Mon Sep 17 00:00:00 2001 From: William Carroll Date: Mon, 27 Dec 2021 09:38:35 -0400 Subject: refactor(wpcarro/blog): Prefer depot.web.blog Hugo is a bit too heavyweight for my taste. Change-Id: I331bc5898bd40f1a03bbde8ad69fe3cc9f72c18b Reviewed-on: https://cl.tvl.fyi/c/depot/+/4704 Reviewed-by: wpcarro Autosubmit: wpcarro Tested-by: BuildkiteCI --- .../website/blog/themes/tailwind/layouts/404.html | 12 --- .../themes/tailwind/layouts/_default/baseof.html | 87 ---------------------- .../themes/tailwind/layouts/_default/list.html | 7 -- .../themes/tailwind/layouts/_default/single.html | 28 ------- .../blog/themes/tailwind/layouts/index.html | 18 ----- .../tailwind/layouts/partials/back-home.html | 1 - .../themes/tailwind/layouts/partials/posts.html | 12 --- .../themes/tailwind/layouts/taxonomy/terms.html | 13 ---- 8 files changed, 178 deletions(-) delete mode 100644 users/wpcarro/website/blog/themes/tailwind/layouts/404.html delete mode 100644 users/wpcarro/website/blog/themes/tailwind/layouts/_default/baseof.html delete mode 100644 users/wpcarro/website/blog/themes/tailwind/layouts/_default/list.html delete mode 100644 users/wpcarro/website/blog/themes/tailwind/layouts/_default/single.html delete mode 100644 users/wpcarro/website/blog/themes/tailwind/layouts/index.html delete mode 100644 users/wpcarro/website/blog/themes/tailwind/layouts/partials/back-home.html delete mode 100644 users/wpcarro/website/blog/themes/tailwind/layouts/partials/posts.html delete mode 100644 users/wpcarro/website/blog/themes/tailwind/layouts/taxonomy/terms.html (limited to 'users/wpcarro/website/blog/themes/tailwind/layouts') diff --git a/users/wpcarro/website/blog/themes/tailwind/layouts/404.html b/users/wpcarro/website/blog/themes/tailwind/layouts/404.html deleted file mode 100644 index afa69fec743e..000000000000 --- a/users/wpcarro/website/blog/themes/tailwind/layouts/404.html +++ /dev/null @@ -1,12 +0,0 @@ -{{ define "heading"}} -
- ← {{ i18n "back_home" }} -

{{ i18n "not_found_page_title" }}

-
-{{ end }} - -{{ define "content" }} -
- Page Not Found -
-{{ end }} diff --git a/users/wpcarro/website/blog/themes/tailwind/layouts/_default/baseof.html b/users/wpcarro/website/blog/themes/tailwind/layouts/_default/baseof.html deleted file mode 100644 index 2cc783dae038..000000000000 --- a/users/wpcarro/website/blog/themes/tailwind/layouts/_default/baseof.html +++ /dev/null @@ -1,87 +0,0 @@ - - - - - - {{ hugo.Generator }} - - - - - - - - - - - - - - - - - - - - - - {{ if .IsHome }}{{ .Site.Title }}{{ else }}{{ .Title }} - {{ .Site.Title }}{{ end }} - - - - - - {{ with .OutputFormats.Get "RSS" }} - - {{ end }} - - - {{ if .IsTranslated }} - {{ range .Translations }} - - {{ end }} - {{ end }} - - - - - - - -
-
- -
- {{ block "heading" . }} -
- {{ partial "back-home.html" . }} -

{{ .Title }}

-
- {{ end }} -
- - - {{ if .IsTranslated }} - - {{ end }} -
- - - {{ block "content" . }}{{ end }} - -
-

- © {{ now.Format "2006"}}. Thank you for reading. -

-
-
- - {{ template "_internal/google_analytics.html" . }} - - - diff --git a/users/wpcarro/website/blog/themes/tailwind/layouts/_default/list.html b/users/wpcarro/website/blog/themes/tailwind/layouts/_default/list.html deleted file mode 100644 index d781ce752a4a..000000000000 --- a/users/wpcarro/website/blog/themes/tailwind/layouts/_default/list.html +++ /dev/null @@ -1,7 +0,0 @@ -{{ define "content" }} -
- {{ range site.RegularPages.GroupByDate "2006" -}} - {{ partial "posts.html" . }} - {{ end }} -
-{{ end }} diff --git a/users/wpcarro/website/blog/themes/tailwind/layouts/_default/single.html b/users/wpcarro/website/blog/themes/tailwind/layouts/_default/single.html deleted file mode 100644 index e4485f324e9c..000000000000 --- a/users/wpcarro/website/blog/themes/tailwind/layouts/_default/single.html +++ /dev/null @@ -1,28 +0,0 @@ -{{ define "heading" }} -
- {{ partial "back-home.html" . }} - - -

{{ .Title }}

- - - - {{ with .Params.tags }} -
    - {{ range . }} -
  1. - {{ . }} -
  2. - {{ end }} -
- {{ end }} -
-{{ end }} - -{{ define "content" }} -
- {{ .Content }} - - {{ template "_internal/disqus.html" . }} -
-{{ end }} diff --git a/users/wpcarro/website/blog/themes/tailwind/layouts/index.html b/users/wpcarro/website/blog/themes/tailwind/layouts/index.html deleted file mode 100644 index 4869c466b613..000000000000 --- a/users/wpcarro/website/blog/themes/tailwind/layouts/index.html +++ /dev/null @@ -1,18 +0,0 @@ -{{ define "heading" }} -{{ if .Site.Params.Avatar }} - -{{ end }} - -
-

{{ .Site.Title }}

-

{{ .Site.Params.tagline }}

-
-{{ end }} - -{{ define "content" }} -
- {{ range site.RegularPages.GroupByDate "2006" -}} - {{ partial "posts.html" . }} - {{ end }} -
-{{ end }} diff --git a/users/wpcarro/website/blog/themes/tailwind/layouts/partials/back-home.html b/users/wpcarro/website/blog/themes/tailwind/layouts/partials/back-home.html deleted file mode 100644 index 4064d5256137..000000000000 --- a/users/wpcarro/website/blog/themes/tailwind/layouts/partials/back-home.html +++ /dev/null @@ -1 +0,0 @@ -← {{ i18n "back_home" }} diff --git a/users/wpcarro/website/blog/themes/tailwind/layouts/partials/posts.html b/users/wpcarro/website/blog/themes/tailwind/layouts/partials/posts.html deleted file mode 100644 index 0ebd4ca7e9b4..000000000000 --- a/users/wpcarro/website/blog/themes/tailwind/layouts/partials/posts.html +++ /dev/null @@ -1,12 +0,0 @@ -
-

{{ .Key }}

- -
    - {{ range .Pages -}} -
  1. - - {{ .Title }} -
  2. - {{- end }} -
-
diff --git a/users/wpcarro/website/blog/themes/tailwind/layouts/taxonomy/terms.html b/users/wpcarro/website/blog/themes/tailwind/layouts/taxonomy/terms.html deleted file mode 100644 index 76da49ed0a09..000000000000 --- a/users/wpcarro/website/blog/themes/tailwind/layouts/taxonomy/terms.html +++ /dev/null @@ -1,13 +0,0 @@ -{{ define "content" }} -
-
    - {{ range .Pages -}} -
  1. - - {{ .Title }} - -
  2. - {{- end }} -
-
-{{ end }} -- cgit 1.4.1