Upgrade to kiln 0.2

main
Nick Thomas 1 year ago
parent f6a2f62c92
commit 04ef9421b8
  1. 2
      .gitignore
  2. 10
      Makefile
  3. 2
      config.ini
  4. 16
      config.toml
  5. 7
      content/_index.gmi
  6. 4
      content/blog/2013-09-14-dane-1.gmi
  7. 4
      content/blog/2013-09-15-dane-2.gmi
  8. 4
      content/blog/2015-04-09-new-blog.gmi
  9. 4
      content/blog/2015-04-19-pig-dog-01.gmi
  10. 4
      content/blog/2015-04-24-pig-dog-02.gmi
  11. 4
      content/blog/2015-05-01-pig-dog-03.gmi
  12. 4
      content/blog/2015-05-27-pig-dog-04.gmi
  13. 4
      content/blog/2015-06-15-festival-of-ideas-2015.gmi
  14. 4
      content/blog/2015-07-26-subsonic.gmi
  15. 4
      content/blog/2016-06-07-new-new-blog.gmi
  16. 4
      content/blog/2017-11-16-email.gmi
  17. 4
      content/blog/2020-01-15-stardew-valley.gmi
  18. 4
      content/blog/2022-01-02-pig-dog-05.gmi
  19. 3
      content/blog/_index.gmi
  20. 4
      content/travel/2009-09-13-athens.gmi
  21. 3
      content/travel/_index.gmi
  22. 1
      src/blog/index.gmi
  23. 3
      src/img/index.gmi
  24. 1
      src/img/pig-dog-01/index.gmi
  25. 1
      src/img/pig-dog-02/index.gmi
  26. 1
      src/img/pig-dog-05/index.gmi
  27. 3
      src/pdf/index.gmi
  28. 1
      src/traces/index.gmi
  29. 1
      src/travel/index.gmi
  30. 0
      static/cgi-bin/debug
  31. 0
      static/cgi-bin/translate
  32. 0
      static/img/nick-thomas.jpg
  33. 0
      static/img/pig-dog-01/politicalcompass-me.png
  34. 0
      static/img/pig-dog-01/politicalcompass-uk-parties.png
  35. 0
      static/img/pig-dog-02/expenses.png
  36. 0
      static/img/pig-dog-02/net-worth.png
  37. 0
      static/img/pig-dog-05/chimney-state.jpg
  38. 0
      static/img/pig-dog-05/foundations-state.jpg
  39. 0
      static/img/pig-dog-05/groundwater-state.jpg
  40. 0
      static/img/pig-dog-05/wall-state.jpg
  41. 0
      static/me@ur.gs.gpg.asc
  42. 0
      static/pdf/payling2014.pdf
  43. 0
      static/robots.txt
  44. 0
      static/success.txt
  45. 0
      static/traces/2018-08-16_19-06_Thu.gpx
  46. 0
      static/traces/2019-06-29_12-09_Sat.gpx
  47. 13
      templates/_default/atom.xml
  48. 6
      templates/_default/index.gmi
  49. 5
      templates/_default/page.gmi

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