initial commit
ci/woodpecker/push/woodpecker Pipeline was successful Details

Signed-off-by: Ariadne Conill <ariadne@dereferenced.org>
main
Ariadne Conill 2023-08-12 17:42:09 -07:00
commit 03a5154dde
11 changed files with 94 additions and 0 deletions

0
.hugo_build.lock Normal file
View File

16
.woodpecker.yml Normal file
View File

@ -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]

6
archetypes/default.md Normal file
View File

@ -0,0 +1,6 @@
---
title: "{{ replace .Name "-" " " | title }}"
date: {{ .Date }}
draft: true
---

3
config.toml Normal file
View File

@ -0,0 +1,3 @@
baseURL = 'http://example.org/'
languageCode = 'en-us'
title = 'My New Hugo Site'

View File

@ -0,0 +1,25 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>{{ block "title" . }}
{{ .Site.Title }}
{{ end }}</title>
<link rel="stylesheet" href="/styles.css">
<link rel="stylesheet" href="/syntax.css">
<link rel="alternate" type="application/rss+xml" href="/index.xml">
<link rel="alternate" type="application/atom+xml" href="/atom.xml">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
{{ block "opengraph" . }}
{{ end }}
</head>
<body>
<nav id="sidebar">
{{ partial "sidebar.html" . }}
</nav>
<main aria-role="main">
{{ block "main" . }}
{{ end }}
</main>
</body>
</html>

3
layouts/index.html Normal file
View File

@ -0,0 +1,3 @@
{{ define "main" }}
hi
{{ end }}

View File

View File

@ -0,0 +1,10 @@
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
<title>Categories on My New Hugo Site</title>
<link>http://example.org/categories/</link>
<description>Recent content in Categories on My New Hugo Site</description>
<generator>Hugo -- gohugo.io</generator>
<language>en-us</language><atom:link href="http://example.org/categories/index.xml" rel="self" type="application/rss+xml" />
</channel>
</rss>

10
public/index.xml Normal file
View File

@ -0,0 +1,10 @@
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
<title>My New Hugo Site</title>
<link>http://example.org/</link>
<description>Recent content on My New Hugo Site</description>
<generator>Hugo -- gohugo.io</generator>
<language>en-us</language><atom:link href="http://example.org/index.xml" rel="self" type="application/rss+xml" />
</channel>
</rss>

11
public/sitemap.xml Normal file
View File

@ -0,0 +1,11 @@
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"
xmlns:xhtml="http://www.w3.org/1999/xhtml">
<url>
<loc>http://example.org/categories/</loc>
</url><url>
<loc>http://example.org/</loc>
</url><url>
<loc>http://example.org/tags/</loc>
</url>
</urlset>

10
public/tags/index.xml Normal file
View File

@ -0,0 +1,10 @@
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
<title>Tags on My New Hugo Site</title>
<link>http://example.org/tags/</link>
<description>Recent content in Tags on My New Hugo Site</description>
<generator>Hugo -- gohugo.io</generator>
<language>en-us</language><atom:link href="http://example.org/tags/index.xml" rel="self" type="application/rss+xml" />
</channel>
</rss>