From 8a8e587d4ed8e1833513291f2224d5a957688187 Mon Sep 17 00:00:00 2001 From: Joshua Goins Date: Tue, 2 Aug 2022 12:17:07 -0400 Subject: [PATCH] Add initial files --- .gitignore | 5 +++++ LICENSE | 20 ++++++++++++++++++++ README.md | 3 +++ archetypes/default.md | 6 ++++++ config.toml | 3 +++ themes/red/LICENSE | 20 ++++++++++++++++++++ themes/red/archetypes/default.md | 2 ++ themes/red/layouts/404.html | 0 themes/red/layouts/_default/baseof.html | 11 +++++++++++ themes/red/layouts/_default/list.html | 0 themes/red/layouts/_default/single.html | 0 themes/red/layouts/index.html | 0 themes/red/layouts/partials/footer.html | 0 themes/red/layouts/partials/head.html | 0 themes/red/layouts/partials/header.html | 0 themes/red/theme.toml | 21 +++++++++++++++++++++ 16 files changed, 91 insertions(+) create mode 100644 .gitignore create mode 100644 LICENSE create mode 100644 README.md create mode 100644 archetypes/default.md create mode 100644 config.toml create mode 100644 themes/red/LICENSE create mode 100644 themes/red/archetypes/default.md create mode 100644 themes/red/layouts/404.html create mode 100644 themes/red/layouts/_default/baseof.html create mode 100644 themes/red/layouts/_default/list.html create mode 100644 themes/red/layouts/_default/single.html create mode 100644 themes/red/layouts/index.html create mode 100644 themes/red/layouts/partials/footer.html create mode 100644 themes/red/layouts/partials/head.html create mode 100644 themes/red/layouts/partials/header.html create mode 100644 themes/red/theme.toml diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..9aa94f5 --- /dev/null +++ b/.gitignore @@ -0,0 +1,5 @@ + +.hugo_build.lock +.directory +.DS_Store +public/ diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..9ed963a --- /dev/null +++ b/LICENSE @@ -0,0 +1,20 @@ +The MIT License (MIT) + +Copyright (c) 2022 Joshua Goins + +Permission is hereby granted, free of charge, to any person obtaining a copy of +this software and associated documentation files (the "Software"), to deal in +the Software without restriction, including without limitation the rights to +use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of +the Software, and to permit persons to whom the Software is furnished to do so, +subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS +FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR +COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER +IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN +CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/README.md b/README.md new file mode 100644 index 0000000..f6f8323 --- /dev/null +++ b/README.md @@ -0,0 +1,3 @@ +# redstrate.com + +This is an experimental rebuild of my [personal website](https://redstrate.com) using sr.ht services instead of my own CI. The content hosted here is going to be temporary until the transition is ready to be completed. diff --git a/archetypes/default.md b/archetypes/default.md new file mode 100644 index 0000000..00e77bd --- /dev/null +++ b/archetypes/default.md @@ -0,0 +1,6 @@ +--- +title: "{{ replace .Name "-" " " | title }}" +date: {{ .Date }} +draft: true +--- + diff --git a/config.toml b/config.toml new file mode 100644 index 0000000..1d7c819 --- /dev/null +++ b/config.toml @@ -0,0 +1,3 @@ +baseURL = 'http://example.org/' +languageCode = 'en-us' +title = 'My New Hugo Site' diff --git a/themes/red/LICENSE b/themes/red/LICENSE new file mode 100644 index 0000000..9ed963a --- /dev/null +++ b/themes/red/LICENSE @@ -0,0 +1,20 @@ +The MIT License (MIT) + +Copyright (c) 2022 Joshua Goins + +Permission is hereby granted, free of charge, to any person obtaining a copy of +this software and associated documentation files (the "Software"), to deal in +the Software without restriction, including without limitation the rights to +use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of +the Software, and to permit persons to whom the Software is furnished to do so, +subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS +FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR +COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER +IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN +CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/themes/red/archetypes/default.md b/themes/red/archetypes/default.md new file mode 100644 index 0000000..ac36e06 --- /dev/null +++ b/themes/red/archetypes/default.md @@ -0,0 +1,2 @@ ++++ ++++ diff --git a/themes/red/layouts/404.html b/themes/red/layouts/404.html new file mode 100644 index 0000000..e69de29 diff --git a/themes/red/layouts/_default/baseof.html b/themes/red/layouts/_default/baseof.html new file mode 100644 index 0000000..5f8e2ec --- /dev/null +++ b/themes/red/layouts/_default/baseof.html @@ -0,0 +1,11 @@ + + + {{- partial "head.html" . -}} + + {{- partial "header.html" . -}} +
+ {{- block "main" . }}{{- end }} +
+ {{- partial "footer.html" . -}} + + diff --git a/themes/red/layouts/_default/list.html b/themes/red/layouts/_default/list.html new file mode 100644 index 0000000..e69de29 diff --git a/themes/red/layouts/_default/single.html b/themes/red/layouts/_default/single.html new file mode 100644 index 0000000..e69de29 diff --git a/themes/red/layouts/index.html b/themes/red/layouts/index.html new file mode 100644 index 0000000..e69de29 diff --git a/themes/red/layouts/partials/footer.html b/themes/red/layouts/partials/footer.html new file mode 100644 index 0000000..e69de29 diff --git a/themes/red/layouts/partials/head.html b/themes/red/layouts/partials/head.html new file mode 100644 index 0000000..e69de29 diff --git a/themes/red/layouts/partials/header.html b/themes/red/layouts/partials/header.html new file mode 100644 index 0000000..e69de29 diff --git a/themes/red/theme.toml b/themes/red/theme.toml new file mode 100644 index 0000000..84acba0 --- /dev/null +++ b/themes/red/theme.toml @@ -0,0 +1,21 @@ +# theme.toml template for a Hugo theme +# See https://github.com/gohugoio/hugoThemes#themetoml for an example + +name = "Red" +license = "MIT" +licenselink = "https://github.com/yourname/yourtheme/blob/master/LICENSE" +description = "" +homepage = "http://example.com/" +tags = [] +features = [] +min_version = "0.41.0" + +[author] + name = "" + homepage = "" + +# If porting an existing theme +[original] + name = "" + homepage = "" + repo = ""