From 2a9167cb7eed6a7a19c0ce265774125b969e6bd1 Mon Sep 17 00:00:00 2001 From: ryfrd Date: Thu, 14 Aug 2025 15:16:47 +0100 Subject: [PATCH] . --- themes/etch/archetypes/default.md | 2 - themes/etch/assets/css/main.css | 245 --------------------- themes/etch/assets/css/min770px.css | 52 ----- themes/etch/assets/css/syntax.css | 59 ----- themes/etch/i18n/en.toml | 19 -- themes/etch/layouts/404.html | 2 - themes/etch/layouts/_default/baseof.html | 11 - themes/etch/layouts/_default/li.html | 3 - themes/etch/layouts/_default/list.html | 3 - themes/etch/layouts/_default/rss.xml | 41 ---- themes/etch/layouts/_default/single.html | 17 -- themes/etch/layouts/_default/taxonomy.html | 8 - themes/etch/layouts/index.html | 4 - themes/etch/layouts/partials/footer.html | 3 - themes/etch/layouts/partials/head.html | 27 --- themes/etch/layouts/partials/header.html | 12 - themes/etch/layouts/partials/posts.html | 5 - themes/etch/layouts/shortcodes/toc.html | 4 - 18 files changed, 517 deletions(-) delete mode 100644 themes/etch/archetypes/default.md delete mode 100644 themes/etch/assets/css/main.css delete mode 100644 themes/etch/assets/css/min770px.css delete mode 100644 themes/etch/assets/css/syntax.css delete mode 100644 themes/etch/i18n/en.toml delete mode 100644 themes/etch/layouts/404.html delete mode 100644 themes/etch/layouts/_default/baseof.html delete mode 100644 themes/etch/layouts/_default/li.html delete mode 100644 themes/etch/layouts/_default/list.html delete mode 100644 themes/etch/layouts/_default/rss.xml delete mode 100644 themes/etch/layouts/_default/single.html delete mode 100644 themes/etch/layouts/_default/taxonomy.html delete mode 100644 themes/etch/layouts/index.html delete mode 100644 themes/etch/layouts/partials/footer.html delete mode 100644 themes/etch/layouts/partials/head.html delete mode 100644 themes/etch/layouts/partials/header.html delete mode 100644 themes/etch/layouts/partials/posts.html delete mode 100644 themes/etch/layouts/shortcodes/toc.html diff --git a/themes/etch/archetypes/default.md b/themes/etch/archetypes/default.md deleted file mode 100644 index ac36e06..0000000 --- a/themes/etch/archetypes/default.md +++ /dev/null @@ -1,2 +0,0 @@ -+++ -+++ diff --git a/themes/etch/assets/css/main.css b/themes/etch/assets/css/main.css deleted file mode 100644 index abefc85..0000000 --- a/themes/etch/assets/css/main.css +++ /dev/null @@ -1,245 +0,0 @@ -*, *:before, *:after { - box-sizing: border-box; -} - -html { - font-size: 62.5%; -} - -/* html a { color: magenta; } */ - -body { - font-size: 16px; - font-size: 1.6rem; - font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"; - width: 100%; - margin: 0 auto; - padding: 0 16px; - line-height: 1.6; - overflow-wrap: break-word; -} - -header#banner { - margin: 25px 0; -} - -header#banner h2 { - display: inline; - font-size: 21px; - font-size: 2.1rem; - margin: 0 8px 0 0; -} - -header#banner nav { - display: inline-block; -} - -header#banner nav ul { - list-style-type: none; - font-size: 1.05em; - text-transform: lowercase; - margin: 0; - padding: 0; -} - -header#banner nav ul li { - display: inline; - margin: 0 3px; -} - -main#content h1, -main#content h2, -main#content h3, -main#content h4, -main#content h5, -main#content h6 { - margin-bottom: 0; - line-height: 1.15; -} - -main#content h3 { - font-size: 19px; - font-size: 1.9rem; -} - -main#content h1 + p, -main#content h2 + p, -main#content h3 + p, -main#content h4 + p, -main#content h5 + p, -main#content h6 + p { - margin-top: 5px; -} - -main#content p { - margin: 16px 0; -} - -main#content hr { - height: 1px; - border: 0; - background: #d8d8d8; -} - -main#content abbr { - cursor: help; -} - -/* index.html styles */ -main#content ul#posts { - list-style-type: none; - font-size: 16px; - font-size: 1.6rem; - margin-top: 0; - padding: 0; -} - -main#content ul#posts li { - margin: 5px 0; - padding: 0; -} - -main#content ul#posts small { - font-size: 0.8em; - margin-left: 10px; -} - -/* single.html styles */ -main#content header#post-header h1 { - display: block; - font-size: 23px; - font-size: 2.3rem; - font-weight: 600; - line-height: 1.15; -} - -main#content header#post-header > div { - display: block; - font-size: 0.85em; -} - -main#content #toc { - border: 1px solid #b1b1b1; - border-radius: 1px; - line-height: 26px; - margin: 16px 0; - padding: 9px 14px; -} - -main#content #toc h4 { - font-size: 1.06em; - margin: 0; -} - -main#content #toc nav#TableOfContents { - margin-top: 4px; -} - -main#content #toc nav#TableOfContents > ul, main#content #toc nav#TableOfContents > ol { - margin-left: -40px; -} - -main#content #toc ul, main#content #toc ol { - font-size: 0.98em; - margin: 0; - padding: 0 0 0 40px; -} - -main#content #toc ul { - list-style-type: none; -} - -main#content #toc ol { - counter-reset: item; -} - -main#content #toc ol li { - display: block; -} - -main#content #toc ol li:before { - content: counters(item, ".") ". "; - counter-increment: item; -} - -main#content img { - max-width: 100%; - margin: 0 auto; -} - -main#content figure { - margin: 16px 0; -} - -main#content figure img { - display: block; - max-width: 100%; - margin: 0 auto; -} - -main#content figure figcaption { - font-size: 0.92em; - font-style: italic; - line-height: 22px; - text-align: center; - margin-top: 6px; - padding: 0 10px; -} - -main#content figure figcaption h4 { - font-style: normal; - display: inline; - margin: 0; -} - -main#content figure figcaption p { - display: inline; - margin: 0; - padding-left: 8px; -} - -main#content blockquote { - font-style: italic; - margin-top: 10px; - margin-bottom: 10px; - margin-left: 50px; - padding-left: 15px; - border-left: 3px solid #ccc; -} - -main#content code, -main#content pre { - font-family: 'Menlo', monospace; - font-style: italic; -} - -main#content code { - font-size: 0.96em; - padding: 0 5px; -} - -main#content pre { - display: block; - overflow-x: auto; - font-size: 14px; - font-size: 1.4rem; - white-space: pre; - margin: 20px 0; - padding: 1.5rem 1.5rem; - line-height: 1.4; -} - -main#content pre code { - padding: 0; -} - -main#content .footnotes { - font-size: 0.9em; -} - -footer#footer { - font-size: 14px; - font-size: 1.4rem; - font-weight: 400; - margin: 40px 0; -} diff --git a/themes/etch/assets/css/min770px.css b/themes/etch/assets/css/min770px.css deleted file mode 100644 index 076fdee..0000000 --- a/themes/etch/assets/css/min770px.css +++ /dev/null @@ -1,52 +0,0 @@ -@media (min-width: 770px) { -body { - width: 600px; - line-height: 1.5; -} - -main#content hr { - width: 108%; - margin-left: -3.8%; -} - -/* index.html styles */ -header#banner h2 { - font-size: 25px; - font-size: 2.5rem; -} - -main#content h3 { - font-size: 20px; - font-size: 2rem; -} - -main#content ul#posts { - font-size: 18px; - font-size: 1.8rem; -} - -/* single.html styles */ -main#content header#post-header h1 { - font-size: 24px; - font-size: 2.4rem; -} - -main#content img { - max-width: 108%; - margin-left: -3.8%; -} - -main#content figure { - margin-left: -3.8%; -} - -main#content figure img { - max-width: 108%; -} - -main#content pre { - width: 108%; - margin-left: -3.8%; - padding: 1.5rem 2.2rem; -} -} diff --git a/themes/etch/assets/css/syntax.css b/themes/etch/assets/css/syntax.css deleted file mode 100644 index 350286e..0000000 --- a/themes/etch/assets/css/syntax.css +++ /dev/null @@ -1,59 +0,0 @@ -/* Background */ .chroma { color: #f8f8f2; background-color: #272822 } -/* Error */ .chroma .err { color: #960050; background-color: #1e0010 } -/* LineTableTD */ .chroma .lntd { vertical-align: top; padding: 0; margin: 0; border: 0; } -/* LineTable */ .chroma .lntable { border-spacing: 0; padding: 0; margin: 0; border: 0; width: auto; overflow: auto; display: block; } -/* LineHighlight */ .chroma .hl { display: block; width: 100%;background-color: #ffffcc } -/* LineNumbersTable */ .chroma .lnt { margin-right: 0.4em; padding: 0 0.4em 0 0.4em;color: #7f7f7f } -/* LineNumbers */ .chroma .ln { margin-right: 0.4em; padding: 0 0.4em 0 0.4em;color: #7f7f7f } -/* Keyword */ .chroma .k { color: #66d9ef } -/* KeywordConstant */ .chroma .kc { color: #66d9ef } -/* KeywordDeclaration */ .chroma .kd { color: #66d9ef } -/* KeywordNamespace */ .chroma .kn { color: #f92672 } -/* KeywordPseudo */ .chroma .kp { color: #66d9ef } -/* KeywordReserved */ .chroma .kr { color: #66d9ef } -/* KeywordType */ .chroma .kt { color: #66d9ef } -/* NameAttribute */ .chroma .na { color: #a6e22e } -/* NameClass */ .chroma .nc { color: #a6e22e } -/* NameConstant */ .chroma .no { color: #66d9ef } -/* NameDecorator */ .chroma .nd { color: #a6e22e } -/* NameException */ .chroma .ne { color: #a6e22e } -/* NameFunction */ .chroma .nf { color: #a6e22e } -/* NameOther */ .chroma .nx { color: #a6e22e } -/* NameTag */ .chroma .nt { color: #f92672 } -/* Literal */ .chroma .l { color: #ae81ff } -/* LiteralDate */ .chroma .ld { color: #e6db74 } -/* LiteralString */ .chroma .s { color: #e6db74 } -/* LiteralStringAffix */ .chroma .sa { color: #e6db74 } -/* LiteralStringBacktick */ .chroma .sb { color: #e6db74 } -/* LiteralStringChar */ .chroma .sc { color: #e6db74 } -/* LiteralStringDelimiter */ .chroma .dl { color: #e6db74 } -/* LiteralStringDoc */ .chroma .sd { color: #e6db74 } -/* LiteralStringDouble */ .chroma .s2 { color: #e6db74 } -/* LiteralStringEscape */ .chroma .se { color: #ae81ff } -/* LiteralStringHeredoc */ .chroma .sh { color: #e6db74 } -/* LiteralStringInterpol */ .chroma .si { color: #e6db74 } -/* LiteralStringOther */ .chroma .sx { color: #e6db74 } -/* LiteralStringRegex */ .chroma .sr { color: #e6db74 } -/* LiteralStringSingle */ .chroma .s1 { color: #e6db74 } -/* LiteralStringSymbol */ .chroma .ss { color: #e6db74 } -/* LiteralNumber */ .chroma .m { color: #ae81ff } -/* LiteralNumberBin */ .chroma .mb { color: #ae81ff } -/* LiteralNumberFloat */ .chroma .mf { color: #ae81ff } -/* LiteralNumberHex */ .chroma .mh { color: #ae81ff } -/* LiteralNumberInteger */ .chroma .mi { color: #ae81ff } -/* LiteralNumberIntegerLong */ .chroma .il { color: #ae81ff } -/* LiteralNumberOct */ .chroma .mo { color: #ae81ff } -/* Operator */ .chroma .o { color: #f92672 } -/* OperatorWord */ .chroma .ow { color: #f92672 } -/* Comment */ .chroma .c { color: #75715e } -/* CommentHashbang */ .chroma .ch { color: #75715e } -/* CommentMultiline */ .chroma .cm { color: #75715e } -/* CommentSingle */ .chroma .c1 { color: #75715e } -/* CommentSpecial */ .chroma .cs { color: #75715e } -/* CommentPreproc */ .chroma .cp { color: #75715e } -/* CommentPreprocFile */ .chroma .cpf { color: #75715e } -/* GenericDeleted */ .chroma .gd { color: #f92672 } -/* GenericEmph */ .chroma .ge { font-style: italic } -/* GenericInserted */ .chroma .gi { color: #a6e22e } -/* GenericStrong */ .chroma .gs { font-weight: bold } -/* GenericSubheading */ .chroma .gu { color: #75715e } diff --git a/themes/etch/i18n/en.toml b/themes/etch/i18n/en.toml deleted file mode 100644 index e30f8ce..0000000 --- a/themes/etch/i18n/en.toml +++ /dev/null @@ -1,19 +0,0 @@ -# Learn how to use Date format (date, created, updated) -# -> https://gohugo.io/functions/dateformat/ - -[posts] - -[posts.title] -other = "Posts" - -[posts.date] -other = "Jan 2, 2006" - - -[post] - -[post.created] -other = "January 2, 2006" - -[post.updated] -other = "Updated January 2, 2006" diff --git a/themes/etch/layouts/404.html b/themes/etch/layouts/404.html deleted file mode 100644 index b142951..0000000 --- a/themes/etch/layouts/404.html +++ /dev/null @@ -1,2 +0,0 @@ -uhoh -404 diff --git a/themes/etch/layouts/_default/baseof.html b/themes/etch/layouts/_default/baseof.html deleted file mode 100644 index 0a5d1f7..0000000 --- a/themes/etch/layouts/_default/baseof.html +++ /dev/null @@ -1,11 +0,0 @@ - - - {{- partial "head.html" . -}} - - {{- partial "header.html" . -}} -
- {{- block "main" . }}{{- end }} -
- {{- partial "footer.html" . -}} - - diff --git a/themes/etch/layouts/_default/li.html b/themes/etch/layouts/_default/li.html deleted file mode 100644 index 004a88f..0000000 --- a/themes/etch/layouts/_default/li.html +++ /dev/null @@ -1,3 +0,0 @@ -
  • - {{ .Title }} - -
  • diff --git a/themes/etch/layouts/_default/list.html b/themes/etch/layouts/_default/list.html deleted file mode 100644 index 97af0e3..0000000 --- a/themes/etch/layouts/_default/list.html +++ /dev/null @@ -1,3 +0,0 @@ -{{ define "main" }} -{{- partial "posts.html" . -}} -{{ end }} diff --git a/themes/etch/layouts/_default/rss.xml b/themes/etch/layouts/_default/rss.xml deleted file mode 100644 index 4accedd..0000000 --- a/themes/etch/layouts/_default/rss.xml +++ /dev/null @@ -1,41 +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 .Site.Pages "Kind" "page" }} - {{ if or (eq .Section "posts") (eq .Section "post") }} - - {{ .Title }} - {{ .Permalink }} - {{ .Date.Format "Mon, 02 Jan 2006 15:04:05 -0700" | safeHTML }} - {{ with .Site.Author.email }}{{.}}{{ with $.Site.Author.name }} ({{.}}){{end}}{{end}} - {{ .Permalink }} - {{ .Content | html }} - - {{ end }} - {{ end }} - - diff --git a/themes/etch/layouts/_default/single.html b/themes/etch/layouts/_default/single.html deleted file mode 100644 index 281e064..0000000 --- a/themes/etch/layouts/_default/single.html +++ /dev/null @@ -1,17 +0,0 @@ -{{ define "main" }} -
    -
    -

    {{ .Title }}

    -
    - {{- if isset .Params "date" -}} - {{ if eq .Lastmod .Date }} - - {{ else }} - - {{ end }} - {{- end -}} -
    -
    - {{- .Content -}} -
    -{{ end }} diff --git a/themes/etch/layouts/_default/taxonomy.html b/themes/etch/layouts/_default/taxonomy.html deleted file mode 100644 index 86677c2..0000000 --- a/themes/etch/layouts/_default/taxonomy.html +++ /dev/null @@ -1,8 +0,0 @@ -{{ define "main" }} -

    {{ .Title }}

    - -{{ end }} diff --git a/themes/etch/layouts/index.html b/themes/etch/layouts/index.html deleted file mode 100644 index b134404..0000000 --- a/themes/etch/layouts/index.html +++ /dev/null @@ -1,4 +0,0 @@ -{{ define "main" }} -{{ .Content }} -{{ partial "posts.html" . }} -{{ end }} diff --git a/themes/etch/layouts/partials/footer.html b/themes/etch/layouts/partials/footer.html deleted file mode 100644 index 52985c0..0000000 --- a/themes/etch/layouts/partials/footer.html +++ /dev/null @@ -1,3 +0,0 @@ - diff --git a/themes/etch/layouts/partials/head.html b/themes/etch/layouts/partials/head.html deleted file mode 100644 index 5a7f189..0000000 --- a/themes/etch/layouts/partials/head.html +++ /dev/null @@ -1,27 +0,0 @@ - - - - {{ with .Site.Params.description -}} - - {{ end }} - {{ printf `` ("favicon.ico" | absURL) | safeHTML }} - {{ with .OutputFormats.Get "rss" -}} - {{ printf `` .Rel .MediaType.Type .Permalink $.Site.Title | safeHTML }} - {{ end -}} - - {{ $resources := slice -}} - - {{ $resources = $resources | append (resources.Get "css/main.css") -}} - - {{ $resources = $resources | append (resources.Get "css/min770px.css") -}} - - {{ if .Site.Params.highlight -}} - {{ $resources = $resources | append (resources.Get "css/syntax.css") -}} - {{ end -}} - - {{ $css := $resources | resources.Concat "css/style.css" | minify }} - {{ printf `` $css.RelPermalink | safeHTML }} - - - {{ .Title }} - diff --git a/themes/etch/layouts/partials/header.html b/themes/etch/layouts/partials/header.html deleted file mode 100644 index 9a66449..0000000 --- a/themes/etch/layouts/partials/header.html +++ /dev/null @@ -1,12 +0,0 @@ - diff --git a/themes/etch/layouts/partials/posts.html b/themes/etch/layouts/partials/posts.html deleted file mode 100644 index 5572a6c..0000000 --- a/themes/etch/layouts/partials/posts.html +++ /dev/null @@ -1,5 +0,0 @@ - diff --git a/themes/etch/layouts/shortcodes/toc.html b/themes/etch/layouts/shortcodes/toc.html deleted file mode 100644 index 22da6e7..0000000 --- a/themes/etch/layouts/shortcodes/toc.html +++ /dev/null @@ -1,4 +0,0 @@ -