From 0000169f9c5808942ee8ae6e222c5b49d676cdfc Mon Sep 17 00:00:00 2001 From: Daniel Alejandro Gallegos Date: Thu, 21 Jul 2022 20:04:38 -0400 Subject: [PATCH] add base for theme and homepage --- .hugo_build.lock | 0 archetypes/default.md | 6 ++++++ config.toml | 4 ++++ content/_index.md | 10 ++++++++++ themes/birdspace/LICENSE | 20 +++++++++++++++++++ themes/birdspace/archetypes/default.md | 2 ++ themes/birdspace/layouts/404.html | 0 themes/birdspace/layouts/_default/baseof.html | 11 ++++++++++ themes/birdspace/layouts/_default/list.html | 0 themes/birdspace/layouts/_default/single.html | 0 themes/birdspace/layouts/index.html | 7 +++++++ themes/birdspace/layouts/partials/footer.html | 0 themes/birdspace/layouts/partials/head.html | 8 ++++++++ themes/birdspace/layouts/partials/header.html | 0 themes/birdspace/theme.toml | 15 ++++++++++++++ 15 files changed, 83 insertions(+) create mode 100644 .hugo_build.lock create mode 100644 archetypes/default.md create mode 100644 config.toml create mode 100644 content/_index.md create mode 100644 themes/birdspace/LICENSE create mode 100644 themes/birdspace/archetypes/default.md create mode 100644 themes/birdspace/layouts/404.html create mode 100644 themes/birdspace/layouts/_default/baseof.html create mode 100644 themes/birdspace/layouts/_default/list.html create mode 100644 themes/birdspace/layouts/_default/single.html create mode 100644 themes/birdspace/layouts/index.html create mode 100644 themes/birdspace/layouts/partials/footer.html create mode 100644 themes/birdspace/layouts/partials/head.html create mode 100644 themes/birdspace/layouts/partials/header.html create mode 100644 themes/birdspace/theme.toml diff --git a/.hugo_build.lock b/.hugo_build.lock new file mode 100644 index 0000000..e69de29 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..f1a1af3 --- /dev/null +++ b/config.toml @@ -0,0 +1,4 @@ +baseURL = 'https://bird.tacowolf.net' +languageCode = 'en-us' +title = 'bird | 🌮🐺' +theme = 'birdspace' diff --git a/content/_index.md b/content/_index.md new file mode 100644 index 0000000..1584099 --- /dev/null +++ b/content/_index.md @@ -0,0 +1,10 @@ +--- +title: "home" + +description: "taco's furry trash receptable" +--- + +Nothing here yet but us birds! + +( ' v ' ) + diff --git a/themes/birdspace/LICENSE b/themes/birdspace/LICENSE new file mode 100644 index 0000000..147d594 --- /dev/null +++ b/themes/birdspace/LICENSE @@ -0,0 +1,20 @@ +The MIT License (MIT) + +Copyright (c) 2022 YOUR_NAME_HERE + +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/birdspace/archetypes/default.md b/themes/birdspace/archetypes/default.md new file mode 100644 index 0000000..ac36e06 --- /dev/null +++ b/themes/birdspace/archetypes/default.md @@ -0,0 +1,2 @@ ++++ ++++ diff --git a/themes/birdspace/layouts/404.html b/themes/birdspace/layouts/404.html new file mode 100644 index 0000000..e69de29 diff --git a/themes/birdspace/layouts/_default/baseof.html b/themes/birdspace/layouts/_default/baseof.html new file mode 100644 index 0000000..5f8e2ec --- /dev/null +++ b/themes/birdspace/layouts/_default/baseof.html @@ -0,0 +1,11 @@ + + + {{- partial "head.html" . -}} + + {{- partial "header.html" . -}} +
+ {{- block "main" . }}{{- end }} +
+ {{- partial "footer.html" . -}} + + diff --git a/themes/birdspace/layouts/_default/list.html b/themes/birdspace/layouts/_default/list.html new file mode 100644 index 0000000..e69de29 diff --git a/themes/birdspace/layouts/_default/single.html b/themes/birdspace/layouts/_default/single.html new file mode 100644 index 0000000..e69de29 diff --git a/themes/birdspace/layouts/index.html b/themes/birdspace/layouts/index.html new file mode 100644 index 0000000..f861468 --- /dev/null +++ b/themes/birdspace/layouts/index.html @@ -0,0 +1,7 @@ +{{ define "main" }} +
+
+ {{.Content}} +
+
+{{ end }} diff --git a/themes/birdspace/layouts/partials/footer.html b/themes/birdspace/layouts/partials/footer.html new file mode 100644 index 0000000..e69de29 diff --git a/themes/birdspace/layouts/partials/head.html b/themes/birdspace/layouts/partials/head.html new file mode 100644 index 0000000..7badc17 --- /dev/null +++ b/themes/birdspace/layouts/partials/head.html @@ -0,0 +1,8 @@ + + + + + {{ $title := print .Site.Title " | " .Title }} + {{ if .IsHome }}{{ $title = .Site.Title }}{{ end }} + {{ $title }} + diff --git a/themes/birdspace/layouts/partials/header.html b/themes/birdspace/layouts/partials/header.html new file mode 100644 index 0000000..e69de29 diff --git a/themes/birdspace/theme.toml b/themes/birdspace/theme.toml new file mode 100644 index 0000000..9ef6d07 --- /dev/null +++ b/themes/birdspace/theme.toml @@ -0,0 +1,15 @@ +# theme.toml template for a Hugo theme +# See https://github.com/gohugoio/hugoThemes#themetoml for an example + +name = "birdspace" +license = "MIT" +licenselink = "https://gitlab.com/takouhai/bird/themes/birdspace/LICENSE" +description = "a modern theme in space" +homepage = "https://bird.tacowolf.net/" +tags = [] +features = [] +min_version = "0.41.0" + +[author] + name = "taco" + homepage = "https://daniel.ga/llegos"