diff --git a/.gitmodules b/.gitmodules index 1842bd2..838f032 100644 --- a/.gitmodules +++ b/.gitmodules @@ -1,3 +1,3 @@ -[submodule "themes/cactus"] - path = themes/cactus - url = https://github.com/robherley/hugo-theme-cactus +[submodule "themes/rebugo"] + path = themes/rebugo + url = git@github.com:robherley/rebugo.git diff --git a/assets/css/custom.css b/assets/css/custom.css index 850fc08..e69de29 100644 --- a/assets/css/custom.css +++ b/assets/css/custom.css @@ -1,172 +0,0 @@ -:root { - --color-black: #0a0a0a; - --color-gray-1: #1a1a1a; - --color-gray-2: #1f1f1f; - --color-gray-3: #292929; - --color-gray-4: #2e2e2e; - --color-gray-5: #454545; - --color-gray-6: #878787; - --color-gray-7: #8f8f8f; - --color-gray-8: #7d7d7d; - --color-gray-9: #a0a0a0; - --color-gray-10: #ededed; - --color-blue-1: #0f1b2d; - --color-blue-2: #10243e; - --color-blue-3: #0f3058; - --color-blue-4: #0d3768; - --color-blue-5: #0a4481; - --color-blue-6: #0091ff; - --color-blue-7: #0071f3; - --color-blue-8: #0062d1; - --color-blue-9: #52a9ff; - --color-blue-10: #eaf6ff; - --color-red-1: #2a1314; - --color-red-2: #3d1719; - --color-red-3: #551a1e; - --color-red-4: #671e22; - --color-red-5: #822025; - --color-red-6: #e5484d; - --color-red-7: #e5484d; - --color-red-8: #da3036; - --color-red-9: #ff6368; - --color-red-10: #feecee; - --color-amber-1: #271700; - --color-amber-2: #341c00; - --color-amber-3: #4a2900; - --color-amber-4: #573300; - --color-amber-5: #693f05; - --color-amber-6: #e79d13; - --color-amber-7: #ffb224; - --color-amber-8: #ffa90a; - --color-amber-9: #f1a10d; - --color-amber-10: #fef3dd; - --color-green-1: #0b2211; - --color-green-2: #0f2c17; - --color-green-3: #11351b; - --color-green-4: #0c461c; - --color-green-5: #126426; - --color-green-6: #1a9338; - --color-green-7: #46a758; - --color-green-8: #388e4b; - --color-green-9: #63c174; - --color-green-10: #e5fbeb; - --color-teal-1: #04201b; - --color-teal-2: #062923; - --color-teal-3: #083a33; - --color-teal-4: #053c34; - --color-teal-5: #085e53; - --color-teal-6: #0c9785; - --color-teal-7: #12a594; - --color-teal-8: #0f8a7c; - --color-teal-9: #0ac5b2; - --color-teal-10: #e1faf4; - --color-purple-1: #221527; - --color-purple-2: #301a3a; - --color-purple-3: #432155; - --color-purple-4: #4e2667; - --color-purple-5: #5e2d84; - --color-purple-6: #8e4ec6; - --color-purple-7: #8e4ec6; - --color-purple-8: #773da9; - --color-purple-9: #bf7af0; - --color-purple-10: #f7ecfc; - --color-pink-1: #27141c; - --color-pink-2: #3c1827; - --color-pink-3: #4f1c31; - --color-pink-4: #541b33; - --color-pink-5: #6c1e3f; - --color-pink-6: #b21a57; - --color-pink-7: #e93d82; - --color-pink-8: #de2670; - --color-pink-9: #f76191; - --color-pink-10: #feecf4; - --color-primary: var(--color-blue-9); - - /* override archie vars */ - --maincolor: var(--color-primary); - --darkMaincolor: var(--color-primary); - --hovercolor: var(--color-primary); -} - -::selection { - background-color: var(--color-blue-5); -} - -h1, h2, h3, h4, h5, h6 { - color: var(--color-gray-10); -} - -a { - border: none; - text-decoration: underline; - text-decoration-color: var(--color-primary); - text-decoration-thickness: 0.24rem; - text-decoration-skip-ink: none; -} - -img { - border: none; -} - -table th { - font-size: 1rem; -} - -section.list-item > .description { - margin: 0.5rem 0; -} - -code { - background-color: unset; - color: var(--color-primary) -} - -pre { - padding: 0.5rem 1rem; -} - -footer { - border-color: var(--color-primary); -} - -hr { - border-color: var(--color-primary); -} - -.logo { - --size: 2.5rem; - float: left; - margin-right: 1rem; - width: var(--size); - height: var(--size); - border-radius: 5px; - background-size: var(--size) var(--size); - background-repeat: no-repeat; - filter: grayscale(100%); - -webkit-filter: grayscale(100%); -} - -.logo:hover { - filter: grayscale(0%); - -webkit-filter: grayscale(0%); -} - -.soc { - text-decoration: none; - margin: 0 0.5rem; -} - -.border { - margin-right: 1rem; -} - -.soc:hover { - text-decoration: none; - background-color: unset; - color: var(--color-primary); -} - -.mermaid { - display: flex; - justify-content: center; -} diff --git a/assets/js/main.js b/assets/js/main.js new file mode 100644 index 0000000..12ddea7 --- /dev/null +++ b/assets/js/main.js @@ -0,0 +1 @@ +console.log("👋"); diff --git a/config.toml b/config.toml index 0359d30..fa8ea94 100644 --- a/config.toml +++ b/config.toml @@ -1,4 +1,4 @@ -theme = "archie" +theme = "rebugo" baseURL = "https://blog.reb.gg/" languageCode = "en-us" title = "rob's blog" @@ -15,9 +15,8 @@ url = "/posts" weight = 2 [params] - mode="dark" - customcss = ["css/custom.css"] favicon = "images/logo.png" + readmeRepo = "robherley/robherley" [[params.social]] name = "github" @@ -41,4 +40,4 @@ weight = 2 tabWidth = 4 [outputs] - home = ["HTML", "RSS", "JSON"] + home = ["HTML", "JSON"] diff --git a/layouts/_default/_markup/render-image.html b/layouts/_default/_markup/render-image.html deleted file mode 100644 index ddee272..0000000 --- a/layouts/_default/_markup/render-image.html +++ /dev/null @@ -1,9 +0,0 @@ - -{{ if .Title }} -
- {{ .Text }} -
{{ .Title }}
-
-{{ else }} - {{ .Text }} -{{ end }} \ No newline at end of file diff --git a/layouts/index.json b/layouts/index.json deleted file mode 100644 index cdf573b..0000000 --- a/layouts/index.json +++ /dev/null @@ -1,27 +0,0 @@ -{ - "version": "https://www.jsonfeed.org/version/1.1/", - "title": "{{ .Site.Title }}", - "home_page_url": "{{ .Site.BaseURL }}", -{{- with .OutputFormats.Get "json" }} - "feed_url": {{ .Permalink | jsonify }}, -{{- end }} -{{- if isset .Site.Params "description" }} - "description": "{{ .Site.Params.description }}", -{{- end }} -{{- if isset .Site.Params "author" }} - "author": { "name": "{{ .Site.Params.author }}" }, -{{- end }} - "items": [ - {{- range $i, $e := .Site.RegularPages }} - {{- if $i }}, {{ end }} - { - "id": "{{ .Permalink }}", - "title": "{{ .Title }}", - "content_text": {{ .Summary | jsonify }}, - "url": "{{ .Permalink }}", - "date_published": "{{ .Date }}", - "tags": {{ (or .Params.tags slice) | jsonify }} - } - {{- end }} - ] -} \ No newline at end of file diff --git a/themes/archie b/themes/archie deleted file mode 160000 index d8819d5..0000000 --- a/themes/archie +++ /dev/null @@ -1 +0,0 @@ -Subproject commit d8819d5eee8b0817f41bda3a9dc2100cd6b2b0bd diff --git a/themes/cactus b/themes/cactus deleted file mode 160000 index 1350aed..0000000 --- a/themes/cactus +++ /dev/null @@ -1 +0,0 @@ -Subproject commit 1350aedd5524d08ca7305c31cec1147e7957eccb diff --git a/themes/rebugo b/themes/rebugo new file mode 160000 index 0000000..1ec5def --- /dev/null +++ b/themes/rebugo @@ -0,0 +1 @@ +Subproject commit 1ec5def993f60c70cb307e31b063c3cb0f29e853