From 323cb72d8142c00e520687b70b759c4d652a7abd Mon Sep 17 00:00:00 2001 From: Alexander Avery Date: Wed, 28 May 2025 13:34:45 -0400 Subject: [PATCH] remove old files --- assets/sass/cards.scss | 42 --------- assets/sass/code.scss | 18 ---- assets/sass/colors.scss | 14 --- assets/sass/main.scss | 86 ------------------- go.mod | 3 - layouts/404.html | 7 -- layouts/_default/baseof.html | 40 --------- layouts/_default/list.html | 48 ----------- layouts/_default/single.html | 20 ----- layouts/authors/list.html | 33 ------- layouts/authors/terms.html | 9 -- layouts/partials/article-alternate.html | 14 --- layouts/partials/article-meta.html | 19 ---- layouts/partials/article.html | 22 ----- layouts/partials/footer.html | 5 -- layouts/partials/header.html | 11 --- layouts/partials/image-small.html | 28 ------ layouts/partials/image.html | 38 -------- .../partials/posts-artfully-enumerated.html | 1 - layouts/partials/posts-enumerated.html | 20 ----- layouts/shortcodes/image.html | 3 - 21 files changed, 481 deletions(-) delete mode 100644 assets/sass/cards.scss delete mode 100644 assets/sass/code.scss delete mode 100644 assets/sass/colors.scss delete mode 100644 assets/sass/main.scss delete mode 100644 go.mod delete mode 100644 layouts/404.html delete mode 100644 layouts/_default/baseof.html delete mode 100644 layouts/_default/list.html delete mode 100644 layouts/_default/single.html delete mode 100644 layouts/authors/list.html delete mode 100644 layouts/authors/terms.html delete mode 100644 layouts/partials/article-alternate.html delete mode 100644 layouts/partials/article-meta.html delete mode 100644 layouts/partials/article.html delete mode 100644 layouts/partials/footer.html delete mode 100644 layouts/partials/header.html delete mode 100644 layouts/partials/image-small.html delete mode 100644 layouts/partials/image.html delete mode 100644 layouts/partials/posts-artfully-enumerated.html delete mode 100644 layouts/partials/posts-enumerated.html delete mode 100644 layouts/shortcodes/image.html diff --git a/assets/sass/cards.scss b/assets/sass/cards.scss deleted file mode 100644 index 5795f91..0000000 --- a/assets/sass/cards.scss +++ /dev/null @@ -1,42 +0,0 @@ -@mixin shadow { - box-shadow: 0px 4px 8px black; -} - -.shadow { - @include shadow -} - -.float-on-hover { - transition: (all 0.25s cubic-bezier(0.2,0.1,0.47,1)); - &:hover { - transform: (translateY(-10px)); - } -} - -.small-circle { - border-radius: 50%; - width: 250px; - height: 250px; -} - -article { - background-color: $dark; - border-radius: 10px; - height: 420px; - flex: 1 1 305px; - overflow: hidden; - - img { - height: 50%; - width: 100%; - object-fit: cover; - } - - div { - margin: 25px; - display: flex; - flex-direction: column; - justify-content: space-between; - } - -} diff --git a/assets/sass/code.scss b/assets/sass/code.scss deleted file mode 100644 index dd4a795..0000000 --- a/assets/sass/code.scss +++ /dev/null @@ -1,18 +0,0 @@ -code { white-space: nowrap; } - -pre { - background-color: $background-color !important; - max-width: 100%; - - & > code { - @include shadow; - display: block; - padding: 1rem 1.5rem; - font-size: 1.05rem; - white-space: pre; - max-width: 100%; - overflow-x: auto; - border-left: .3rem solid $code-edge; - border-radius: .4rem; - } -} diff --git a/assets/sass/colors.scss b/assets/sass/colors.scss deleted file mode 100644 index 9384057..0000000 --- a/assets/sass/colors.scss +++ /dev/null @@ -1,14 +0,0 @@ -$beetbox-red: #9e0008; -$beetbox-pink: #d93370; -$beetbox-purple: #ac65cb; -$beetbox-green: #003f56; -$beetbox-blue: #5fcfd0; - -$background-color: #1f2835; -$font-color: #f8f8ff; -$font-color-alternate: #1f2835; -$top-bar: #f8f8ffcc; -$dark: #111; -$link-color: $beetbox-blue; -$link-color-visited: #e4cdef; -$code-edge: $beetbox-purple; diff --git a/assets/sass/main.scss b/assets/sass/main.scss deleted file mode 100644 index a625247..0000000 --- a/assets/sass/main.scss +++ /dev/null @@ -1,86 +0,0 @@ -@import 'colors.scss'; -@import 'cards.scss'; -@import 'code.scss'; - -@mixin screen-max($max) { - @media (max-width: $max - 1) { - @content - } -} - -body { - background-color: $background-color; - color: $font-color; - margin: 0px; - overflow-y: scroll; - font-family: 'Helvetica'; - font-size: 1.1rem; -} - -h2 {font-size: 1.2rem;} - -header { - background-color: $top-bar; - box-shadow: 0px 5px 10px black; - nav { - @include screen-max(500px){text-align: center;} - - div {display: inline-block;} - - img { max-width: 300px; } - - a { - margin-right: 12px; - font-weight: bold; - text-decoration: none; - &, &:visited, &:hover {color: $font-color-alternate;} - } - } -} - -header, main, section {padding: 0 16px;} - -nav, main, section {max-width: 1200px; margin: auto;} -main img {max-width: 100%} - -footer {text-align: center;} - - -a { - color: $link-color; - &:visited, &:hover { color: $link-color-visited; } -} - -img.featured{aspect-ratio: 4/3;} -img.featured, img.author { - display: block; - border-radius: 8px; - margin: 12px 0; - object-fit: cover; - max-height: 500px; -} - -.left-to-right { - display: flex; - flex-wrap: wrap; - gap: 8px; - justify-content: space-evenly; - align-items: end; -} - -.align-center { - align-items: center; -} - -section.article-list { - margin: 8px 0px; - display: flex; - flex-wrap: wrap; - justify-content: center; - gap: 40px; -} - -.fill-wh { - width: 100%; - height: 100% -} diff --git a/go.mod b/go.mod deleted file mode 100644 index e5ac40b..0000000 --- a/go.mod +++ /dev/null @@ -1,3 +0,0 @@ -module gitea.beetbox.io/BeetBox/neon-harvest - -go 1.16 diff --git a/layouts/404.html b/layouts/404.html deleted file mode 100644 index f369e15..0000000 --- a/layouts/404.html +++ /dev/null @@ -1,7 +0,0 @@ -{{ define "main" }} -
-

404

-

This page doesn't exist. Let's go home

-
-{{ end }} - diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html deleted file mode 100644 index d172e6e..0000000 --- a/layouts/_default/baseof.html +++ /dev/null @@ -1,40 +0,0 @@ - - - - - - - {{- with .OutputFormats.Get "rss" }} - {{- printf `` .Rel .MediaType.Type .Permalink $.Site.Title | safeHTML -}} - {{ end }} - - - - - {{ with (default .Site.Params.description .Params.description) -}} - - {{- end -}} - - {{ with .Params.keywords -}} - - {{- end }} - - {{ $style := resources.Get "/sass/main.scss" | css.Sass | minify -}} - - - - {{- block "title" . }}{{ .Site.Title }}{{ end -}} - - - - - -{{ partial "header.html" . }} - -{{ block "main" . }} -{{ end }} - -{{ partial "footer.html" . }} - - - diff --git a/layouts/_default/list.html b/layouts/_default/list.html deleted file mode 100644 index 510673f..0000000 --- a/layouts/_default/list.html +++ /dev/null @@ -1,48 +0,0 @@ -{{ define "main" }} - {{ $pages := .Site.RegularPages }} - {{if not .IsHome }} {{ $pages = .Pages }} {{ end }} - -
- {{ if not .IsHome }} -

{{ .Title | markdownify | lower }}

- {{ else }} -

Beet Box

- {{ end }} - - {{ if and .IsSection (not .IsHome) }} {{ partial "article-meta.html" . }} {{ end }} - - {{ with .Content }} -
- {{ . }} -
- {{- end }} - -
- - {{ with $pages.Limit 4 }} -
-

Latest Posts:

-
- {{ range . }} - {{ partial "article.html" . }} - {{ end }} -
-
- {{ end }} - - {{ with $pages }} -
-

All Posts:

- {{ range .GroupByDate "2006" }} -

{{ .Key }}

- - {{ end }} -
- {{ end }} - -{{ end }} - diff --git a/layouts/_default/single.html b/layouts/_default/single.html deleted file mode 100644 index c1132e3..0000000 --- a/layouts/_default/single.html +++ /dev/null @@ -1,20 +0,0 @@ -{{ define "title" }}{{ .Title }}{{ end }} - -{{ define "main" }} -
- {{ partial "article-meta.html" . }} - - {{ .Content }} -
- -
- {{ with .NextInSection }} -

Next: {{ .Title | markdownify }}

- {{ end }} - - {{ with .PrevInSection }} -

Previous: {{ .Title | markdownify }}

- {{ end }} -
- -{{ end }} diff --git a/layouts/authors/list.html b/layouts/authors/list.html deleted file mode 100644 index cdb2c19..0000000 --- a/layouts/authors/list.html +++ /dev/null @@ -1,33 +0,0 @@ -{{ define "main" }} -
- - {{ with .Resources.GetMatch "avatar" }} - {{ .Params.alt }} - {{ end }} - -
-

{{ .Params.name }}

- Projects - | - {{ .Params.email}} -
- -
- -
- {{ .Content }} -
- -
-

Posts:

- {{ with .Data.Pages }} -
- {{ range . }} - {{ partial "article.html" . }} - {{ end }} -
- {{ end }} -
- -{{ end }} - diff --git a/layouts/authors/terms.html b/layouts/authors/terms.html deleted file mode 100644 index 5a750d6..0000000 --- a/layouts/authors/terms.html +++ /dev/null @@ -1,9 +0,0 @@ -{{ define "main" }} - -
-

Authors

- {{ range .Data.Pages }} - {{ partial "article-alternate.html" . }} - {{ end }} -
-{{ end }} diff --git a/layouts/partials/article-alternate.html b/layouts/partials/article-alternate.html deleted file mode 100644 index 4904ec9..0000000 --- a/layouts/partials/article-alternate.html +++ /dev/null @@ -1,14 +0,0 @@ - -
-
- {{ with .Resources.GetMatch "avatar" }} - {{ .Params.alt }} - {{ end }} -
-
-

{{ .Params.name }}

-

{{ .Params.bio }}

-
-
-
- diff --git a/layouts/partials/article-meta.html b/layouts/partials/article-meta.html deleted file mode 100644 index 85b8c7d..0000000 --- a/layouts/partials/article-meta.html +++ /dev/null @@ -1,19 +0,0 @@ -
- {{ with .Params.authors }} - {{ $author := (index . 0) }} -

Author: {{ $author }}

- {{ end }} - - {{ with .Date }} -

Posted: {{ .Format "Mon | Jan 2, 2006" }}

- {{ end }} - - {{ range (.GetTerms "tags") }} - - {{ .LinkTitle }} - - {{ end }} - - {{ $image := (.Resources.GetMatch "featured") }} - {{ partial "image.html" (dict "image" $image "alt" .Params.featured.alt "class" "shadow featured") }} -
diff --git a/layouts/partials/article.html b/layouts/partials/article.html deleted file mode 100644 index e6fa05d..0000000 --- a/layouts/partials/article.html +++ /dev/null @@ -1,22 +0,0 @@ -
- - - {{ $image := .Resources.GetMatch "featured" }} - {{ partial "image-small.html" (dict "image" $image "alt" .Params.featured.alt) }} - - -
- - {{ with index (.GetTerms "tags") 0 }} - {{ .LinkTitle }} - {{ end }} - -

{{ .Title | markdownify }}

- - {{ with .Date }} -

{{ .Format "2006/01/02" }}

- {{ end }} - -
- -
diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html deleted file mode 100644 index afd8cb9..0000000 --- a/layouts/partials/footer.html +++ /dev/null @@ -1,5 +0,0 @@ - diff --git a/layouts/partials/header.html b/layouts/partials/header.html deleted file mode 100644 index da6f5b5..0000000 --- a/layouts/partials/header.html +++ /dev/null @@ -1,11 +0,0 @@ -
- -
diff --git a/layouts/partials/image-small.html b/layouts/partials/image-small.html deleted file mode 100644 index 9c4c468..0000000 --- a/layouts/partials/image-small.html +++ /dev/null @@ -1,28 +0,0 @@ -{{ .Params.alt }} diff --git a/layouts/partials/image.html b/layouts/partials/image.html deleted file mode 100644 index 9c567e9..0000000 --- a/layouts/partials/image.html +++ /dev/null @@ -1,38 +0,0 @@ -{{ .Params.alt }} diff --git a/layouts/partials/posts-artfully-enumerated.html b/layouts/partials/posts-artfully-enumerated.html deleted file mode 100644 index 8b13789..0000000 --- a/layouts/partials/posts-artfully-enumerated.html +++ /dev/null @@ -1 +0,0 @@ - diff --git a/layouts/partials/posts-enumerated.html b/layouts/partials/posts-enumerated.html deleted file mode 100644 index 38b1727..0000000 --- a/layouts/partials/posts-enumerated.html +++ /dev/null @@ -1,20 +0,0 @@ -{{ with . }} -
-

Latest Posts:

-
- {{ range .Limit 5 }} - {{ partial "article.html" . }} - {{ end }} -
- -

All Posts:

- {{ range .GroupByDate "2006" }} -

{{ .Key}}

- - {{ end }} -
-{{ end }} diff --git a/layouts/shortcodes/image.html b/layouts/shortcodes/image.html deleted file mode 100644 index 8bb157d..0000000 --- a/layouts/shortcodes/image.html +++ /dev/null @@ -1,3 +0,0 @@ -{{ $image := .Page.Resources.GetMatch (.Get "src") }} -{{ partial "image.html" (dict "image" $image "alt" (.Get "alt") "class" "fill-wh") }} -