Upgrade to kiln 0.2

main
Nick Thomas 1 year ago
parent f6a2f62c92
commit 04ef9421b8

2
.gitignore vendored

@ -1 +1 @@
/dst
/public

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Before

Width:  |  Height:  |  Size: 163 KiB

After

Width:  |  Height:  |  Size: 163 KiB

Before

Width:  |  Height:  |  Size: 18 KiB

After

Width:  |  Height:  |  Size: 18 KiB

Before

Width:  |  Height:  |  Size: 88 KiB

After

Width:  |  Height:  |  Size: 88 KiB

Before

Width:  |  Height:  |  Size: 65 KiB

After

Width:  |  Height:  |  Size: 65 KiB

Before

Width:  |  Height:  |  Size: 1.8 MiB

After

Width:  |  Height:  |  Size: 1.8 MiB

Before

Width:  |  Height:  |  Size: 1.6 MiB

After

Width:  |  Height:  |  Size: 1.6 MiB

Before

Width:  |  Height:  |  Size: 577 KiB

After

Width:  |  Height:  |  Size: 577 KiB

Before

Width:  |  Height:  |  Size: 2.7 MiB

After

Width:  |  Height:  |  Size: 2.7 MiB

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

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

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