Upgrade to kiln 0.2

This commit is contained in:
Nick Thomas 2022-01-03 15:56:24 +00:00
parent f6a2f62c92
commit 04ef9421b8
49 changed files with 100 additions and 35 deletions

2
.gitignore vendored
View File

@ -1 +1 @@
/dst
/public

View File

@ -1,11 +1,11 @@
default: build
build:
@rm -rf dst
@kiln
chmod a+x dst/cgi-bin/*
@tree dst
@rm -rf public
@kiln build
chmod a+x public/cgi-bin/*
@tree public
deploy: build
rsync --delete-after -avzP dst/ ur.gs:capsule/
rsync --delete-after -avzP public/ ur.gs:capsule/

View File

@ -1,2 +0,0 @@
title = Nick Thomas
url = gemini://ur.gs

16
config.toml Normal file
View File

@ -0,0 +1,16 @@
title="Nick Thomas"
[[tasks]]
input = [".gmi"]
output = ".gmi"
template = ".gmi"
static_dir = "static"
output_dir = "public"
url = "gemini://ur.gs"
[[tasks.feeds]]
input_dir = "blog"
title = "Nick Thomas"
template = "atom.xml"
output = "atom.xml"

View File

@ -1,4 +1,6 @@
# Nick Thomas
---
title: "Nick Thomas"
---
## Meta
@ -15,3 +17,6 @@
=> /cgi-bin/translate/es/en Español -> English
## About Me
=> /blog/ Blog
=> /travel/ Travelogue

View File

@ -1,4 +1,6 @@
# DNSSEC + DANE: Part 1
---
title: "DNSSEC + DANE: Part 1"
---
## Problem

View File

@ -1,4 +1,6 @@
# DNSSEC + DANE: Part 2
---
title: "DNSSEC + DANE: Part 2"
---
Assuming you've been convinced that it's a good idea to set up DNSSEC and DANE,
the point of this article is to demonstrate how I did it for my own domain -

View File

@ -1,4 +1,6 @@
# New Blogging Platform
---
title: "New Blogging Platform"
---
## Alive again

View File

@ -1,4 +1,6 @@
# The Capitalist Pig-Dog Blog
---
title: "The Capitalist Pig-Dog Blog"
---
## Wat

View File

@ -1,4 +1,6 @@
# The Capitalist Pig-Dog Blog: Starting Points
---
title: "The Capitalist Pig-Dog Blog: Starting Points"
---
## Beliefs and values

View File

@ -1,4 +1,6 @@
# The Capitalist Pig-Dog Blog: Income
---
title: "The Capitalist Pig-Dog Blog: Income"
---
## Payday!

View File

@ -1,4 +1,6 @@
# The Capitalist Pig-Dog Blog: Expenditure: Debt
---
title: "The Capitalist Pig-Dog Blog: Expenditure: Debt"
---
## Apologies

View File

@ -1,4 +1,6 @@
# York Festival of Ideas 2015
---
title: "York Festival of Ideas 2015"
---
## Users vs. Techs

View File

@ -1,4 +1,6 @@
# Subsonic and Licensing
---
title: "Subsonic and Licensing"
---
## Subsonic

View File

@ -1,4 +1,6 @@
# New, New Blogging Platform
---
title: "New, New Blogging Platform"
---
It's just over a year since I last changed blogging software!

View File

@ -1,4 +1,6 @@
# Email!
---
title: "Email!"
---
## Email sucks

View File

@ -1,4 +1,6 @@
# Stardew Valley on aarch64
---
title: "Stardew Valley on aarch64"
---
At the end of last year I got a Pinebook Pro - mostly for reasons of paranoia.
So far, it's been pretty good, but there was

View File

@ -1,4 +1,6 @@
# The Capitalist Pig-Dog Blog: Coda
---
title: "The Capitalist Pig-Dog Blog: Coda"
---
## Final apologies

3
content/blog/_index.gmi Normal file
View File

@ -0,0 +1,3 @@
---
title: "Blog posts"
---

View File

@ -1,4 +1,6 @@
# Athens, Greece
---
title: "Athens, Greece"
---
## Itinerary

View File

@ -0,0 +1,3 @@
---
title: "Travel"
---

View File

@ -1 +0,0 @@
# Blog posts

View File

@ -1,3 +0,0 @@
# Images
Nothing to see here

View File

@ -1 +0,0 @@
# Images for Capitalist Pig-Dog Blog: 01

View File

@ -1 +0,0 @@
# Images for Capitalist Pig-Dog Blog: 02

View File

@ -1 +0,0 @@
# Images for Capitalist Pig-Dog Blog: 05

View File

@ -1,3 +0,0 @@
# PDFs and eBooks
Nothing to see here

View File

@ -1 +0,0 @@
# GPS traces

View File

@ -1 +0,0 @@
# Travel

View File

Before

Width:  |  Height:  |  Size: 163 KiB

After

Width:  |  Height:  |  Size: 163 KiB

View File

Before

Width:  |  Height:  |  Size: 18 KiB

After

Width:  |  Height:  |  Size: 18 KiB

View File

Before

Width:  |  Height:  |  Size: 59 KiB

After

Width:  |  Height:  |  Size: 59 KiB

View File

Before

Width:  |  Height:  |  Size: 88 KiB

After

Width:  |  Height:  |  Size: 88 KiB

View File

Before

Width:  |  Height:  |  Size: 65 KiB

After

Width:  |  Height:  |  Size: 65 KiB

View File

Before

Width:  |  Height:  |  Size: 1.8 MiB

After

Width:  |  Height:  |  Size: 1.8 MiB

View File

Before

Width:  |  Height:  |  Size: 1.6 MiB

After

Width:  |  Height:  |  Size: 1.6 MiB

View File

Before

Width:  |  Height:  |  Size: 577 KiB

After

Width:  |  Height:  |  Size: 577 KiB

View File

Before

Width:  |  Height:  |  Size: 2.7 MiB

After

Width:  |  Height:  |  Size: 2.7 MiB

View File

@ -0,0 +1,13 @@
{{ `<?xml version="1.0" encoding="utf-8"?>` | safeHTML }}
<feed xmlns="http://www.w3.org/2005/Atom">
<id>{{ .URL }}</id>
<title>{{ .Title }}</title>
<updated>{{ site.Generated.Format "2006-01-02T15:04:05Z07:00" }}</updated>
<link href="{{ .URL }}" rel="alternate"/>
{{ range .Pages }}<entry>
<id>{{ .URL }}</id>
<title>{{ .Title }}</title>
<updated>{{ .Date.Format "2006-01-02T15:04:05Z07:00" }}</updated>
</entry>
{{ end -}}
</feed>

View File

@ -0,0 +1,6 @@
# {{ .Title }}
{{ if .Content }}
{{ .Content }}{{ end }}
{{ range .Pages }}=> {{ .Path }} {{ if not .Date.IsZero -}}
{{.Date.Format "2006-01-02"}} {{end}}{{.Title}}
{{ end -}}

View File

@ -0,0 +1,5 @@
# {{ .Title }}
{{- if not .Date.IsZero }}
Posted on {{ .Date.Format "2006-01-02" }} by Nick Thomas{{ end }}
{{ .Content }}