commit 03a5154ddee820f086e684d7521af504fd978ce4 Author: Ariadne Conill Date: Sat Aug 12 17:42:09 2023 -0700 initial commit Signed-off-by: Ariadne Conill diff --git a/.hugo_build.lock b/.hugo_build.lock new file mode 100644 index 0000000..e69de29 diff --git a/.woodpecker.yml b/.woodpecker.yml new file mode 100644 index 0000000..4c29fe5 --- /dev/null +++ b/.woodpecker.yml @@ -0,0 +1,16 @@ +pipeline: + deploy: + image: gitea.treehouse.systems/ariadne/ariadne.space-hugo:latest + commands: + # build the new site + - hugo + + # set up the SSH deployment key and upload the site + - | + mkdir $HOME/.ssh + echo "$SSH_KEY">$HOME/.ssh/id_ecdsa + echo "$SSH_KNOWN_HOSTS">$HOME/.ssh/known_hosts + chown 600 $HOME/.ssh/id_ecdsa + rsync -avHAX public/ treehouse@treehouse.systems:public/ + + secrets: [SSH_KEY, SSH_KNOWN_HOSTS] 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/layouts/_default/baseof.html b/layouts/_default/baseof.html new file mode 100644 index 0000000..78120c9 --- /dev/null +++ b/layouts/_default/baseof.html @@ -0,0 +1,25 @@ + + + + + {{ block "title" . }} + {{ .Site.Title }} + {{ end }} + + + + + + {{ block "opengraph" . }} + {{ end }} + + + +
+ {{ block "main" . }} + {{ end }} +
+ + diff --git a/layouts/index.html b/layouts/index.html new file mode 100644 index 0000000..9b75fdb --- /dev/null +++ b/layouts/index.html @@ -0,0 +1,3 @@ +{{ define "main" }} +hi +{{ end }} diff --git a/layouts/partials/sidebar.html b/layouts/partials/sidebar.html new file mode 100644 index 0000000..e69de29 diff --git a/public/categories/index.xml b/public/categories/index.xml new file mode 100644 index 0000000..b92677a --- /dev/null +++ b/public/categories/index.xml @@ -0,0 +1,10 @@ + + + + Categories on My New Hugo Site + http://example.org/categories/ + Recent content in Categories on My New Hugo Site + Hugo -- gohugo.io + en-us + + diff --git a/public/index.xml b/public/index.xml new file mode 100644 index 0000000..da90485 --- /dev/null +++ b/public/index.xml @@ -0,0 +1,10 @@ + + + + My New Hugo Site + http://example.org/ + Recent content on My New Hugo Site + Hugo -- gohugo.io + en-us + + diff --git a/public/sitemap.xml b/public/sitemap.xml new file mode 100644 index 0000000..45379db --- /dev/null +++ b/public/sitemap.xml @@ -0,0 +1,11 @@ + + + + http://example.org/categories/ + + http://example.org/ + + http://example.org/tags/ + + diff --git a/public/tags/index.xml b/public/tags/index.xml new file mode 100644 index 0000000..201eda6 --- /dev/null +++ b/public/tags/index.xml @@ -0,0 +1,10 @@ + + + + Tags on My New Hugo Site + http://example.org/tags/ + Recent content in Tags on My New Hugo Site + Hugo -- gohugo.io + en-us + +