From: Rich Kreider Date: Mon, 30 Mar 2026 02:33:19 +0000 (-0400) Subject: change tag titles to lower X-Git-Url: https://git.kreider.io/?a=commitdiff_plain;p=kreider.io.git change tag titles to lower --- diff --git a/build.sh b/build.sh index dcc947c..dad0f06 100755 --- a/build.sh +++ b/build.sh @@ -2,7 +2,7 @@ echo Building... -hugo --gc --minify -s /srv/www/kreider.io/hugo_source +hugo --gc --minify -s /srv/hugo chown www-data:www-data -R /srv/www/kreider.io/web diff --git a/hugo.toml b/hugo.toml index dcc542a..38f7e60 100644 --- a/hugo.toml +++ b/hugo.toml @@ -1,4 +1,4 @@ -baseURL = 'https://example.org/' +baseURL = 'https://kreider.io/' locale = 'en-us' title = 'Rich Kreider' theme = 'dead-simple' @@ -15,14 +15,14 @@ weight = 1 [[menu.main]] name = "Tags" -url = "https://hugo-dead-simple.netlify.com/tags" +url = "/tags" weight = 3 -#[markup.highlight] -#codeFences = true -#style = "bw" -#lineNumbersInTable = false -#noClasses = false +[markup.highlight] +codeFences = true +style = "bw" +lineNumbersInTable = false +noClasses = false [markup.goldmark.extensions.passthrough] enable = true @@ -47,20 +47,20 @@ home = ["HTML"] block = true title = true - [markup.highlight] - anchorLineNos = false - codeFences = true - guessSyntax = false - hl_Lines = '' - hl_inline = false - lineAnchors = '' - lineNoStart = 1 - lineNos = false - lineNumbersInTable = true - noClasses = true - noHl = false - style = 'rrt' - tabWidth = 4 +# [markup.highlight] +# anchorLineNos = false +# codeFences = true +# guessSyntax = false +# hl_Lines = '' +# hl_inline = false +# lineAnchors = '' +# lineNoStart = 1 +# lineNos = false +# lineNumbersInTable = true +# noClasses = true +# noHl = false +# style = 'rrt' +# tabWidth = 4 [markup.tableOfContents] startLevel = 2 @@ -68,11 +68,5 @@ home = ["HTML"] ordered = false [params] -description = "FOO" +description = "Rich Kreider's Website" noSearch = false - [params.theme_config] - appearance = "auto" - back_home_text = "~/home" - date_format = "2006-01-02" - isListGroupByDate = true - isShowFooter = false diff --git a/themes/default/archetypes/default.md b/themes/default/archetypes/default.md deleted file mode 100644 index 25b6752..0000000 --- a/themes/default/archetypes/default.md +++ /dev/null @@ -1,5 +0,0 @@ -+++ -date = '{{ .Date }}' -draft = true -title = '{{ replace .File.ContentBaseName "-" " " | title }}' -+++ diff --git a/themes/default/assets/css/components/footer.css b/themes/default/assets/css/components/footer.css deleted file mode 100644 index abe2b5a..0000000 --- a/themes/default/assets/css/components/footer.css +++ /dev/null @@ -1,4 +0,0 @@ -footer { - border-top: 1px solid #222; - margin-top: 1rem; -} diff --git a/themes/default/assets/css/components/header.css b/themes/default/assets/css/components/header.css deleted file mode 100644 index 8efea1e..0000000 --- a/themes/default/assets/css/components/header.css +++ /dev/null @@ -1,4 +0,0 @@ -header { - border-bottom: 1px solid #222; - margin-bottom: 1rem; -} diff --git a/themes/default/assets/css/main.css b/themes/default/assets/css/main.css deleted file mode 100644 index 2ccbb6f..0000000 --- a/themes/default/assets/css/main.css +++ /dev/null @@ -1,34 +0,0 @@ -/* https://bettermotherfuckingwebsite.com /*/ - -body { - margin: 40px auto; - max-width: 650px; - line-height: 1.6; - font-size: 18px; - color: #444; - padding: 0 10px; -} - -h1, h2, h3 { - line-height: 1.2; -} -/* -* { - background-color: #000022; - color: #00d56d; - font-family: monospace; - font-size: unset; -} -tr.alt_color:nth-child(even) {background-color: unset;} -blockquote {background: #000033;} -table, th, td {border: 1px solid #39c5bb;} -@media screen and (max-width: 600px) {table.tidy tr td{border-bottom: 2px dotted #002255;}} - -a:link {color:#00d56d;} -a:visited {color:#00d56d;} -a:hover {color: red!important; background-color:white!important;} -a.nohov:hover{background:none!important;color:white!important;} -hr, hr.dim {border-top: 1px solid #666666;} -.noprebg pre, code{background: none} -*.dimmed {color: #666666 !important;} -*/ diff --git a/themes/default/assets/js/main.js b/themes/default/assets/js/main.js deleted file mode 100644 index e2aac52..0000000 --- a/themes/default/assets/js/main.js +++ /dev/null @@ -1 +0,0 @@ -console.log('This site was generated by Hugo.'); diff --git a/themes/default/content/_index.md b/themes/default/content/_index.md deleted file mode 100644 index 652623b..0000000 --- a/themes/default/content/_index.md +++ /dev/null @@ -1,9 +0,0 @@ -+++ -title = 'Home' -date = 2023-01-01T08:00:00-07:00 -draft = false -+++ - -Laborum voluptate pariatur ex culpa magna nostrud est incididunt fugiat -pariatur do dolor ipsum enim. Consequat tempor do dolor eu. Non id id anim anim -excepteur excepteur pariatur nostrud qui irure ullamco. diff --git a/themes/default/content/posts/_index.md b/themes/default/content/posts/_index.md deleted file mode 100644 index e7066c0..0000000 --- a/themes/default/content/posts/_index.md +++ /dev/null @@ -1,7 +0,0 @@ -+++ -title = 'Posts' -date = 2023-01-01T08:30:00-07:00 -draft = false -+++ - -Tempor est exercitation ad qui pariatur quis adipisicing aliquip nisi ea consequat ipsum occaecat. Nostrud consequat ullamco laboris fugiat esse esse adipisicing velit laborum ipsum incididunt ut enim. Dolor pariatur nulla quis fugiat dolore excepteur. Aliquip ad quis aliqua enim do consequat. diff --git a/themes/default/content/posts/post-1.md b/themes/default/content/posts/post-1.md deleted file mode 100644 index 3e3fc6b..0000000 --- a/themes/default/content/posts/post-1.md +++ /dev/null @@ -1,10 +0,0 @@ -+++ -title = 'Post 1' -date = 2023-01-15T09:00:00-07:00 -draft = false -tags = ['red'] -+++ - -Tempor proident minim aliquip reprehenderit dolor et ad anim Lorem duis sint eiusmod. Labore ut ea duis dolor. Incididunt consectetur proident qui occaecat incididunt do nisi Lorem. Tempor do laborum elit laboris excepteur eiusmod do. Eiusmod nisi excepteur ut amet pariatur adipisicing Lorem. - -Occaecat nulla excepteur dolore excepteur duis eiusmod ullamco officia anim in voluptate ea occaecat officia. Cillum sint esse velit ea officia minim fugiat. Elit ea esse id aliquip pariatur cupidatat id duis minim incididunt ea ea. Anim ut duis sunt nisi. Culpa cillum sit voluptate voluptate eiusmod dolor. Enim nisi Lorem ipsum irure est excepteur voluptate eu in enim nisi. Nostrud ipsum Lorem anim sint labore consequat do. diff --git a/themes/default/content/posts/post-2.md b/themes/default/content/posts/post-2.md deleted file mode 100644 index 22b8287..0000000 --- a/themes/default/content/posts/post-2.md +++ /dev/null @@ -1,10 +0,0 @@ -+++ -title = 'Post 2' -date = 2023-02-15T10:00:00-07:00 -draft = false -tags = ['red','green'] -+++ - -Anim eiusmod irure incididunt sint cupidatat. Incididunt irure irure irure nisi ipsum do ut quis fugiat consectetur proident cupidatat incididunt cillum. Dolore voluptate occaecat qui mollit laborum ullamco et. Ipsum laboris officia anim laboris culpa eiusmod ex magna ex cupidatat anim ipsum aute. Mollit aliquip occaecat qui sunt velit ut cupidatat reprehenderit enim sunt laborum. Velit veniam in officia nulla adipisicing ut duis officia. - -Exercitation voluptate irure in irure tempor mollit Lorem nostrud ad officia. Velit id fugiat occaecat do tempor. Sit officia Lorem aliquip eu deserunt consectetur. Aute proident deserunt in nulla aliquip dolore ipsum Lorem ut cupidatat consectetur sit sint laborum. Esse cupidatat sit sint sunt tempor exercitation deserunt. Labore dolor duis laborum est do nisi ut veniam dolor et nostrud nostrud. diff --git a/themes/default/content/posts/post-3/bryce-canyon.jpg b/themes/default/content/posts/post-3/bryce-canyon.jpg deleted file mode 100644 index 9a923be..0000000 Binary files a/themes/default/content/posts/post-3/bryce-canyon.jpg and /dev/null differ diff --git a/themes/default/content/posts/post-3/index.md b/themes/default/content/posts/post-3/index.md deleted file mode 100644 index ca42a66..0000000 --- a/themes/default/content/posts/post-3/index.md +++ /dev/null @@ -1,12 +0,0 @@ -+++ -title = 'Post 3' -date = 2023-03-15T11:00:00-07:00 -draft = false -tags = ['red','green','blue'] -+++ - -Occaecat aliqua consequat laborum ut ex aute aliqua culpa quis irure esse magna dolore quis. Proident fugiat labore eu laboris officia Lorem enim. Ipsum occaecat cillum ut tempor id sint aliqua incididunt nisi incididunt reprehenderit. Voluptate ad minim sint est aute aliquip esse occaecat tempor officia qui sunt. Aute ex ipsum id ut in est velit est laborum incididunt. Aliqua qui id do esse sunt eiusmod id deserunt eu nostrud aute sit ipsum. Deserunt esse cillum Lorem non magna adipisicing mollit amet consequat. - -![Bryce Canyon National Park](bryce-canyon.jpg) - -Sit excepteur do velit veniam mollit in nostrud laboris incididunt ea. Amet eu cillum ut reprehenderit culpa aliquip labore laborum amet sit sit duis. Laborum id proident nostrud dolore laborum reprehenderit quis mollit nulla amet veniam officia id id. Aliquip in deserunt qui magna duis qui pariatur officia sunt deserunt. diff --git a/themes/default/hugo.toml b/themes/default/hugo.toml deleted file mode 100644 index 59cbe11..0000000 --- a/themes/default/hugo.toml +++ /dev/null @@ -1,24 +0,0 @@ -baseURL = 'https://example.org/' -locale = 'en-US' -title = 'My New Hugo Project' - -[menus] - [[menus.main]] - name = 'Home' - pageRef = '/' - weight = 10 - - [[menus.main]] - name = 'Posts' - pageRef = '/posts' - weight = 20 - - [[menus.main]] - name = 'Tags' - pageRef = '/tags' - weight = 30 - -[module] - [module.hugoVersion] - extended = false - min = '0.146.0' diff --git a/themes/default/layouts/_partials/footer.html b/themes/default/layouts/_partials/footer.html deleted file mode 100644 index a7cd916..0000000 --- a/themes/default/layouts/_partials/footer.html +++ /dev/null @@ -1 +0,0 @@ -

Copyright {{ now.Year }}. All rights reserved.

diff --git a/themes/default/layouts/_partials/head.html b/themes/default/layouts/_partials/head.html deleted file mode 100644 index 02c2240..0000000 --- a/themes/default/layouts/_partials/head.html +++ /dev/null @@ -1,5 +0,0 @@ - - -{{ if .IsHome }}{{ site.Title }}{{ else }}{{ printf "%s | %s" .Title site.Title }}{{ end }} -{{ partialCached "head/css.html" . }} -{{ partialCached "head/js.html" . }} diff --git a/themes/default/layouts/_partials/head/css.html b/themes/default/layouts/_partials/head/css.html deleted file mode 100644 index 8897866..0000000 --- a/themes/default/layouts/_partials/head/css.html +++ /dev/null @@ -1,15 +0,0 @@ -{{- with resources.Get "css/main.css" }} - {{- $opts := dict - "minify" (cond hugo.IsDevelopment false true) - "sourceMap" (cond hugo.IsDevelopment "linked" "none") - }} - {{- with . | css.Build $opts }} - {{- if hugo.IsDevelopment }} - - {{- else }} - {{- with . | fingerprint }} - - {{- end }} - {{- end }} - {{- end }} -{{- end }} diff --git a/themes/default/layouts/_partials/head/js.html b/themes/default/layouts/_partials/head/js.html deleted file mode 100644 index 0210efa..0000000 --- a/themes/default/layouts/_partials/head/js.html +++ /dev/null @@ -1,15 +0,0 @@ -{{- with resources.Get "js/main.js" }} - {{- $opts := dict - "minify" (cond hugo.IsDevelopment false true) - "sourceMap" (cond hugo.IsDevelopment "linked" "none") - }} - {{- with . | js.Build $opts }} - {{- if hugo.IsDevelopment }} - - {{- else }} - {{- with . | fingerprint }} - - {{- end }} - {{- end }} - {{- end }} -{{- end }} diff --git a/themes/default/layouts/_partials/header.html b/themes/default/layouts/_partials/header.html deleted file mode 100644 index 7980a00..0000000 --- a/themes/default/layouts/_partials/header.html +++ /dev/null @@ -1,2 +0,0 @@ -

{{ site.Title }}

-{{ partial "menu.html" (dict "menuID" "main" "page" .) }} diff --git a/themes/default/layouts/_partials/menu.html b/themes/default/layouts/_partials/menu.html deleted file mode 100644 index 14245b5..0000000 --- a/themes/default/layouts/_partials/menu.html +++ /dev/null @@ -1,51 +0,0 @@ -{{- /* -Renders a menu for the given menu ID. - -@context {page} page The current page. -@context {string} menuID The menu ID. - -@example: {{ partial "menu.html" (dict "menuID" "main" "page" .) }} -*/}} - -{{- $page := .page }} -{{- $menuID := .menuID }} - -{{- with index site.Menus $menuID }} - -{{- end }} - -{{- define "_partials/inline/menu/walk.html" }} - {{- $page := .page }} - {{- range .menuEntries }} - {{- $attrs := dict "href" .URL }} - {{- if $page.IsMenuCurrent .Menu . }} - {{- $attrs = merge $attrs (dict "class" "active" "aria-current" "page") }} - {{- else if $page.HasMenuCurrent .Menu .}} - {{- $attrs = merge $attrs (dict "class" "ancestor" "aria-current" "true") }} - {{- end }} - {{- $name := .Name }} - {{- with .Identifier }} - {{- with T . }} - {{- $name = . }} - {{- end }} - {{- end }} -
  • - {{ $name }} - {{- with .Children }} - - {{- end }} -
  • - {{- end }} -{{- end }} diff --git a/themes/default/layouts/_partials/terms.html b/themes/default/layouts/_partials/terms.html deleted file mode 100644 index 8a6ebec..0000000 --- a/themes/default/layouts/_partials/terms.html +++ /dev/null @@ -1,23 +0,0 @@ -{{- /* -For a given taxonomy, renders a list of terms assigned to the page. - -@context {page} page The current page. -@context {string} taxonomy The taxonomy. - -@example: {{ partial "terms.html" (dict "taxonomy" "tags" "page" .) }} -*/}} - -{{- $page := .page }} -{{- $taxonomy := .taxonomy }} - -{{- with $page.GetTerms $taxonomy }} - {{- $label := (index . 0).Parent.LinkTitle }} -
    -
    {{ $label }}:
    - -
    -{{- end }} diff --git a/themes/default/layouts/baseof.html b/themes/default/layouts/baseof.html deleted file mode 100644 index 7d17aa5..0000000 --- a/themes/default/layouts/baseof.html +++ /dev/null @@ -1,17 +0,0 @@ - - - - {{ partial "head.html" . }} - - -
    - {{ partial "header.html" . }} -
    -
    - {{ block "main" . }}{{ end }} -
    - - - diff --git a/themes/default/layouts/home.html b/themes/default/layouts/home.html deleted file mode 100644 index 0c76425..0000000 --- a/themes/default/layouts/home.html +++ /dev/null @@ -1,9 +0,0 @@ -{{ define "main" }} - {{ .Content }} - {{ range site.RegularPages }} -
    -

    {{ .LinkTitle }}

    - {{ .Summary }} -
    - {{ end }} -{{ end }} diff --git a/themes/default/layouts/page.html b/themes/default/layouts/page.html deleted file mode 100644 index 7e286c8..0000000 --- a/themes/default/layouts/page.html +++ /dev/null @@ -1,10 +0,0 @@ -{{ define "main" }} -

    {{ .Title }}

    - - {{ $dateMachine := .Date | time.Format "2006-01-02T15:04:05-07:00" }} - {{ $dateHuman := .Date | time.Format ":date_long" }} - - - {{ .Content }} - {{ partial "terms.html" (dict "taxonomy" "tags" "page" .) }} -{{ end }} diff --git a/themes/default/layouts/section.html b/themes/default/layouts/section.html deleted file mode 100644 index 748f2f5..0000000 --- a/themes/default/layouts/section.html +++ /dev/null @@ -1,10 +0,0 @@ -{{ define "main" }} -

    {{ .Title }}

    - {{ .Content }} - {{ range .Pages }} -
    -

    {{ .LinkTitle }}

    - {{ .Summary }} -
    - {{ end }} -{{ end }} diff --git a/themes/default/layouts/taxonomy.html b/themes/default/layouts/taxonomy.html deleted file mode 100644 index c2e7875..0000000 --- a/themes/default/layouts/taxonomy.html +++ /dev/null @@ -1,7 +0,0 @@ -{{ define "main" }} -

    {{ .Title }}

    - {{ .Content }} - {{ range .Pages }} -

    {{ .LinkTitle }}

    - {{ end }} -{{ end }} diff --git a/themes/default/layouts/term.html b/themes/default/layouts/term.html deleted file mode 100644 index c2e7875..0000000 --- a/themes/default/layouts/term.html +++ /dev/null @@ -1,7 +0,0 @@ -{{ define "main" }} -

    {{ .Title }}

    - {{ .Content }} - {{ range .Pages }} -

    {{ .LinkTitle }}

    - {{ end }} -{{ end }} diff --git a/themes/default/static/favicon.ico b/themes/default/static/favicon.ico deleted file mode 100644 index 67f8b77..0000000 Binary files a/themes/default/static/favicon.ico and /dev/null differ diff --git a/themes/nsp b/themes/nsp deleted file mode 160000 index cfbfe4e..0000000 --- a/themes/nsp +++ /dev/null @@ -1 +0,0 @@ -Subproject commit cfbfe4e8ed13ba6256c9ea076690dba30dd8765b diff --git a/themes/rustic/archetypes/default.md b/themes/rustic/archetypes/default.md deleted file mode 100644 index 25b6752..0000000 --- a/themes/rustic/archetypes/default.md +++ /dev/null @@ -1,5 +0,0 @@ -+++ -date = '{{ .Date }}' -draft = true -title = '{{ replace .File.ContentBaseName "-" " " | title }}' -+++ diff --git a/themes/rustic/assets/css/components/footer.css b/themes/rustic/assets/css/components/footer.css deleted file mode 100644 index abe2b5a..0000000 --- a/themes/rustic/assets/css/components/footer.css +++ /dev/null @@ -1,4 +0,0 @@ -footer { - border-top: 1px solid #222; - margin-top: 1rem; -} diff --git a/themes/rustic/assets/css/components/header.css b/themes/rustic/assets/css/components/header.css deleted file mode 100644 index 8efea1e..0000000 --- a/themes/rustic/assets/css/components/header.css +++ /dev/null @@ -1,4 +0,0 @@ -header { - border-bottom: 1px solid #222; - margin-bottom: 1rem; -} diff --git a/themes/rustic/assets/css/main.css b/themes/rustic/assets/css/main.css deleted file mode 100644 index 6c0b660..0000000 --- a/themes/rustic/assets/css/main.css +++ /dev/null @@ -1,15 +0,0 @@ -@import "components/header.css"; -@import "components/footer.css"; - -body { - color: #222; - font-family: sans-serif; - line-height: 1.5; - margin: 1rem; - max-width: 768px; -} - -a { - color: #00e; - text-decoration: none; -} diff --git a/themes/rustic/assets/js/main.js b/themes/rustic/assets/js/main.js deleted file mode 100644 index e2aac52..0000000 --- a/themes/rustic/assets/js/main.js +++ /dev/null @@ -1 +0,0 @@ -console.log('This site was generated by Hugo.'); diff --git a/themes/rustic/content/_index.md b/themes/rustic/content/_index.md deleted file mode 100644 index 652623b..0000000 --- a/themes/rustic/content/_index.md +++ /dev/null @@ -1,9 +0,0 @@ -+++ -title = 'Home' -date = 2023-01-01T08:00:00-07:00 -draft = false -+++ - -Laborum voluptate pariatur ex culpa magna nostrud est incididunt fugiat -pariatur do dolor ipsum enim. Consequat tempor do dolor eu. Non id id anim anim -excepteur excepteur pariatur nostrud qui irure ullamco. diff --git a/themes/rustic/content/posts/_index.md b/themes/rustic/content/posts/_index.md deleted file mode 100644 index e7066c0..0000000 --- a/themes/rustic/content/posts/_index.md +++ /dev/null @@ -1,7 +0,0 @@ -+++ -title = 'Posts' -date = 2023-01-01T08:30:00-07:00 -draft = false -+++ - -Tempor est exercitation ad qui pariatur quis adipisicing aliquip nisi ea consequat ipsum occaecat. Nostrud consequat ullamco laboris fugiat esse esse adipisicing velit laborum ipsum incididunt ut enim. Dolor pariatur nulla quis fugiat dolore excepteur. Aliquip ad quis aliqua enim do consequat. diff --git a/themes/rustic/content/posts/post-1.md b/themes/rustic/content/posts/post-1.md deleted file mode 100644 index 3e3fc6b..0000000 --- a/themes/rustic/content/posts/post-1.md +++ /dev/null @@ -1,10 +0,0 @@ -+++ -title = 'Post 1' -date = 2023-01-15T09:00:00-07:00 -draft = false -tags = ['red'] -+++ - -Tempor proident minim aliquip reprehenderit dolor et ad anim Lorem duis sint eiusmod. Labore ut ea duis dolor. Incididunt consectetur proident qui occaecat incididunt do nisi Lorem. Tempor do laborum elit laboris excepteur eiusmod do. Eiusmod nisi excepteur ut amet pariatur adipisicing Lorem. - -Occaecat nulla excepteur dolore excepteur duis eiusmod ullamco officia anim in voluptate ea occaecat officia. Cillum sint esse velit ea officia minim fugiat. Elit ea esse id aliquip pariatur cupidatat id duis minim incididunt ea ea. Anim ut duis sunt nisi. Culpa cillum sit voluptate voluptate eiusmod dolor. Enim nisi Lorem ipsum irure est excepteur voluptate eu in enim nisi. Nostrud ipsum Lorem anim sint labore consequat do. diff --git a/themes/rustic/content/posts/post-2.md b/themes/rustic/content/posts/post-2.md deleted file mode 100644 index 22b8287..0000000 --- a/themes/rustic/content/posts/post-2.md +++ /dev/null @@ -1,10 +0,0 @@ -+++ -title = 'Post 2' -date = 2023-02-15T10:00:00-07:00 -draft = false -tags = ['red','green'] -+++ - -Anim eiusmod irure incididunt sint cupidatat. Incididunt irure irure irure nisi ipsum do ut quis fugiat consectetur proident cupidatat incididunt cillum. Dolore voluptate occaecat qui mollit laborum ullamco et. Ipsum laboris officia anim laboris culpa eiusmod ex magna ex cupidatat anim ipsum aute. Mollit aliquip occaecat qui sunt velit ut cupidatat reprehenderit enim sunt laborum. Velit veniam in officia nulla adipisicing ut duis officia. - -Exercitation voluptate irure in irure tempor mollit Lorem nostrud ad officia. Velit id fugiat occaecat do tempor. Sit officia Lorem aliquip eu deserunt consectetur. Aute proident deserunt in nulla aliquip dolore ipsum Lorem ut cupidatat consectetur sit sint laborum. Esse cupidatat sit sint sunt tempor exercitation deserunt. Labore dolor duis laborum est do nisi ut veniam dolor et nostrud nostrud. diff --git a/themes/rustic/content/posts/post-3/bryce-canyon.jpg b/themes/rustic/content/posts/post-3/bryce-canyon.jpg deleted file mode 100644 index 9a923be..0000000 Binary files a/themes/rustic/content/posts/post-3/bryce-canyon.jpg and /dev/null differ diff --git a/themes/rustic/content/posts/post-3/index.md b/themes/rustic/content/posts/post-3/index.md deleted file mode 100644 index ca42a66..0000000 --- a/themes/rustic/content/posts/post-3/index.md +++ /dev/null @@ -1,12 +0,0 @@ -+++ -title = 'Post 3' -date = 2023-03-15T11:00:00-07:00 -draft = false -tags = ['red','green','blue'] -+++ - -Occaecat aliqua consequat laborum ut ex aute aliqua culpa quis irure esse magna dolore quis. Proident fugiat labore eu laboris officia Lorem enim. Ipsum occaecat cillum ut tempor id sint aliqua incididunt nisi incididunt reprehenderit. Voluptate ad minim sint est aute aliquip esse occaecat tempor officia qui sunt. Aute ex ipsum id ut in est velit est laborum incididunt. Aliqua qui id do esse sunt eiusmod id deserunt eu nostrud aute sit ipsum. Deserunt esse cillum Lorem non magna adipisicing mollit amet consequat. - -![Bryce Canyon National Park](bryce-canyon.jpg) - -Sit excepteur do velit veniam mollit in nostrud laboris incididunt ea. Amet eu cillum ut reprehenderit culpa aliquip labore laborum amet sit sit duis. Laborum id proident nostrud dolore laborum reprehenderit quis mollit nulla amet veniam officia id id. Aliquip in deserunt qui magna duis qui pariatur officia sunt deserunt. diff --git a/themes/rustic/hugo.toml b/themes/rustic/hugo.toml deleted file mode 100644 index 59cbe11..0000000 --- a/themes/rustic/hugo.toml +++ /dev/null @@ -1,24 +0,0 @@ -baseURL = 'https://example.org/' -locale = 'en-US' -title = 'My New Hugo Project' - -[menus] - [[menus.main]] - name = 'Home' - pageRef = '/' - weight = 10 - - [[menus.main]] - name = 'Posts' - pageRef = '/posts' - weight = 20 - - [[menus.main]] - name = 'Tags' - pageRef = '/tags' - weight = 30 - -[module] - [module.hugoVersion] - extended = false - min = '0.146.0' diff --git a/themes/rustic/layouts/_partials/footer.html b/themes/rustic/layouts/_partials/footer.html deleted file mode 100644 index a7cd916..0000000 --- a/themes/rustic/layouts/_partials/footer.html +++ /dev/null @@ -1 +0,0 @@ -

    Copyright {{ now.Year }}. All rights reserved.

    diff --git a/themes/rustic/layouts/_partials/head.html b/themes/rustic/layouts/_partials/head.html deleted file mode 100644 index 02c2240..0000000 --- a/themes/rustic/layouts/_partials/head.html +++ /dev/null @@ -1,5 +0,0 @@ - - -{{ if .IsHome }}{{ site.Title }}{{ else }}{{ printf "%s | %s" .Title site.Title }}{{ end }} -{{ partialCached "head/css.html" . }} -{{ partialCached "head/js.html" . }} diff --git a/themes/rustic/layouts/_partials/head/css.html b/themes/rustic/layouts/_partials/head/css.html deleted file mode 100644 index 8897866..0000000 --- a/themes/rustic/layouts/_partials/head/css.html +++ /dev/null @@ -1,15 +0,0 @@ -{{- with resources.Get "css/main.css" }} - {{- $opts := dict - "minify" (cond hugo.IsDevelopment false true) - "sourceMap" (cond hugo.IsDevelopment "linked" "none") - }} - {{- with . | css.Build $opts }} - {{- if hugo.IsDevelopment }} - - {{- else }} - {{- with . | fingerprint }} - - {{- end }} - {{- end }} - {{- end }} -{{- end }} diff --git a/themes/rustic/layouts/_partials/head/js.html b/themes/rustic/layouts/_partials/head/js.html deleted file mode 100644 index 0210efa..0000000 --- a/themes/rustic/layouts/_partials/head/js.html +++ /dev/null @@ -1,15 +0,0 @@ -{{- with resources.Get "js/main.js" }} - {{- $opts := dict - "minify" (cond hugo.IsDevelopment false true) - "sourceMap" (cond hugo.IsDevelopment "linked" "none") - }} - {{- with . | js.Build $opts }} - {{- if hugo.IsDevelopment }} - - {{- else }} - {{- with . | fingerprint }} - - {{- end }} - {{- end }} - {{- end }} -{{- end }} diff --git a/themes/rustic/layouts/_partials/header.html b/themes/rustic/layouts/_partials/header.html deleted file mode 100644 index 7980a00..0000000 --- a/themes/rustic/layouts/_partials/header.html +++ /dev/null @@ -1,2 +0,0 @@ -

    {{ site.Title }}

    -{{ partial "menu.html" (dict "menuID" "main" "page" .) }} diff --git a/themes/rustic/layouts/_partials/menu.html b/themes/rustic/layouts/_partials/menu.html deleted file mode 100644 index 14245b5..0000000 --- a/themes/rustic/layouts/_partials/menu.html +++ /dev/null @@ -1,51 +0,0 @@ -{{- /* -Renders a menu for the given menu ID. - -@context {page} page The current page. -@context {string} menuID The menu ID. - -@example: {{ partial "menu.html" (dict "menuID" "main" "page" .) }} -*/}} - -{{- $page := .page }} -{{- $menuID := .menuID }} - -{{- with index site.Menus $menuID }} - -{{- end }} - -{{- define "_partials/inline/menu/walk.html" }} - {{- $page := .page }} - {{- range .menuEntries }} - {{- $attrs := dict "href" .URL }} - {{- if $page.IsMenuCurrent .Menu . }} - {{- $attrs = merge $attrs (dict "class" "active" "aria-current" "page") }} - {{- else if $page.HasMenuCurrent .Menu .}} - {{- $attrs = merge $attrs (dict "class" "ancestor" "aria-current" "true") }} - {{- end }} - {{- $name := .Name }} - {{- with .Identifier }} - {{- with T . }} - {{- $name = . }} - {{- end }} - {{- end }} -
  • - {{ $name }} - {{- with .Children }} - - {{- end }} -
  • - {{- end }} -{{- end }} diff --git a/themes/rustic/layouts/_partials/terms.html b/themes/rustic/layouts/_partials/terms.html deleted file mode 100644 index 8a6ebec..0000000 --- a/themes/rustic/layouts/_partials/terms.html +++ /dev/null @@ -1,23 +0,0 @@ -{{- /* -For a given taxonomy, renders a list of terms assigned to the page. - -@context {page} page The current page. -@context {string} taxonomy The taxonomy. - -@example: {{ partial "terms.html" (dict "taxonomy" "tags" "page" .) }} -*/}} - -{{- $page := .page }} -{{- $taxonomy := .taxonomy }} - -{{- with $page.GetTerms $taxonomy }} - {{- $label := (index . 0).Parent.LinkTitle }} -
    -
    {{ $label }}:
    - -
    -{{- end }} diff --git a/themes/rustic/layouts/baseof.html b/themes/rustic/layouts/baseof.html deleted file mode 100644 index 7d17aa5..0000000 --- a/themes/rustic/layouts/baseof.html +++ /dev/null @@ -1,17 +0,0 @@ - - - - {{ partial "head.html" . }} - - -
    - {{ partial "header.html" . }} -
    -
    - {{ block "main" . }}{{ end }} -
    - - - diff --git a/themes/rustic/layouts/home.html b/themes/rustic/layouts/home.html deleted file mode 100644 index 0c76425..0000000 --- a/themes/rustic/layouts/home.html +++ /dev/null @@ -1,9 +0,0 @@ -{{ define "main" }} - {{ .Content }} - {{ range site.RegularPages }} -
    -

    {{ .LinkTitle }}

    - {{ .Summary }} -
    - {{ end }} -{{ end }} diff --git a/themes/rustic/layouts/page.html b/themes/rustic/layouts/page.html deleted file mode 100644 index 7e286c8..0000000 --- a/themes/rustic/layouts/page.html +++ /dev/null @@ -1,10 +0,0 @@ -{{ define "main" }} -

    {{ .Title }}

    - - {{ $dateMachine := .Date | time.Format "2006-01-02T15:04:05-07:00" }} - {{ $dateHuman := .Date | time.Format ":date_long" }} - - - {{ .Content }} - {{ partial "terms.html" (dict "taxonomy" "tags" "page" .) }} -{{ end }} diff --git a/themes/rustic/layouts/section.html b/themes/rustic/layouts/section.html deleted file mode 100644 index 748f2f5..0000000 --- a/themes/rustic/layouts/section.html +++ /dev/null @@ -1,10 +0,0 @@ -{{ define "main" }} -

    {{ .Title }}

    - {{ .Content }} - {{ range .Pages }} -
    -

    {{ .LinkTitle }}

    - {{ .Summary }} -
    - {{ end }} -{{ end }} diff --git a/themes/rustic/layouts/taxonomy.html b/themes/rustic/layouts/taxonomy.html deleted file mode 100644 index c2e7875..0000000 --- a/themes/rustic/layouts/taxonomy.html +++ /dev/null @@ -1,7 +0,0 @@ -{{ define "main" }} -

    {{ .Title }}

    - {{ .Content }} - {{ range .Pages }} -

    {{ .LinkTitle }}

    - {{ end }} -{{ end }} diff --git a/themes/rustic/layouts/term.html b/themes/rustic/layouts/term.html deleted file mode 100644 index c2e7875..0000000 --- a/themes/rustic/layouts/term.html +++ /dev/null @@ -1,7 +0,0 @@ -{{ define "main" }} -

    {{ .Title }}

    - {{ .Content }} - {{ range .Pages }} -

    {{ .LinkTitle }}

    - {{ end }} -{{ end }} diff --git a/themes/rustic/static/favicon.ico b/themes/rustic/static/favicon.ico deleted file mode 100644 index 67f8b77..0000000 Binary files a/themes/rustic/static/favicon.ico and /dev/null differ diff --git a/themes/trainsh b/themes/trainsh deleted file mode 160000 index c5cd778..0000000 --- a/themes/trainsh +++ /dev/null @@ -1 +0,0 @@ -Subproject commit c5cd778dd0ba785bb0bc6b78aa1449d7e5103615