summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Lemon <matt@matthewlemon.com>2022-07-18 08:57:48 +0100
committerMatthew Lemon <matt@matthewlemon.com>2022-07-18 08:57:48 +0100
commit65547c56d0b81371cadb7bf799b4ab863b5f0a4e (patch)
tree1f642ee0afb3792aa59aac53bcd445ddde9ccb1e
parentf43d1ec014e1b15a88492b3f1f2d1bdbaab7b529 (diff)
taxonomies amongst other stuff
Diffstat (limited to '')
-rw-r--r--config.toml15
-rw-r--r--content/about/index.md15
-rw-r--r--content/blog/_index.md3
-rw-r--r--content/blog/cats/cat_kills/index.md53
-rw-r--r--content/blog/cats/treecreeper_killer.md2
-rw-r--r--content/blog/openbsd_partition.md3
-rw-r--r--layouts/blog/list.html7
-rw-r--r--themes/problematic/layouts/_default/li.html2
-rw-r--r--themes/problematic/layouts/_default/list.html1
-rw-r--r--themes/problematic/layouts/_default/taxonomy.html12
-rw-r--r--themes/problematic/layouts/partials/header.html2
11 files changed, 95 insertions, 20 deletions
diff --git a/config.toml b/config.toml
index 9b382b6..ae51356 100644
--- a/config.toml
+++ b/config.toml
@@ -12,6 +12,7 @@ pygmentsUseClasses = true
dark = "off"
highlight = true
custom_css = ["css/style.css"]
+ mainSections = ['blog', 'about']
[menu]
[[menu.main]]
@@ -28,6 +29,20 @@ pygmentsUseClasses = true
url = "/about/"
weight = 20
+ [[menu.main]]
+ identifier = "tags"
+ name = "tags"
+ title = "Tags"
+ url = "/tags/"
+ weight = 20
+
+ [[menu.main]]
+ identifier = "categories"
+ name = "categories"
+ title = "Categories"
+ url = "/categories/"
+ weight = 20
+
[permalinks]
posts = "/:title/"
diff --git a/content/about/index.md b/content/about/index.md
index 9bb955f..ff6996c 100644
--- a/content/about/index.md
+++ b/content/about/index.md
@@ -5,17 +5,14 @@ draft: false
slug: "about"
---
-Yulqen is a deliberate misspelling of an Autechre song I like.
+Yulqen is a deliberate misspelling of an [Autechre](https://en.wikipedia.org/wiki/Autechre) song I like.
-This is a test.
+This is a test. It is always a test.
-I was a wedding photographer for a short time.
+I was a wedding photographer for a short time. Unfortunately I'm no longer able to evidence this because I accidentally deleted **all** RAW and processed files from that period when I repartitioned an external drive.
-I currently live in Berwick-upon-Tweed.
-
-This is my umpteenth web site.
-
-I have [three cats that kill]({{< ref "blog/cats/cat_kills/" >}} "Cat Kill
-Log").
+I currently live in [Berwick-upon-Tweed](https://en.wikipedia.org/wiki/Berwick-upon-Tweed).
+This is my umpteenth web site and it will dutifully disappear in time. Or change to a [pandoc](https://pandoc.org)-driven site.
+I have [three cats that kill](../blog/cats/cat_kills/).
diff --git a/content/blog/_index.md b/content/blog/_index.md
new file mode 100644
index 0000000..5f2671e
--- /dev/null
+++ b/content/blog/_index.md
@@ -0,0 +1,3 @@
+These short and pithy entries into the annals of the internet cannot be missed. There are a few subjects that mean something (cats, plaintext) and some that mean nothing.
+
+The only reason I have included these paragraphs is to understand the function of `_index.md` in Hugo.
diff --git a/content/blog/cats/cat_kills/index.md b/content/blog/cats/cat_kills/index.md
index 4911c52..fe50094 100644
--- a/content/blog/cats/cat_kills/index.md
+++ b/content/blog/cats/cat_kills/index.md
@@ -1,5 +1,5 @@
---
-title: "Cat Kill Log - 2021"
+title: "Cat Kill Log"
date: 2021-06-21T18:30:49+01:00
draft: false
category: "cats"
@@ -14,12 +14,53 @@ to exact such terror on the local wildlife.
Here then is a simple list of slaughtered fauna for 2021.
+#### UPDATE: 2022
+
+I have decided to resume updating this. Best way to do it is to include a new table for 2022. As of 17 July 2022, I've missed about two hundred kills this year, but what the hell - no time like the present.
+
+Chris Packham - if you're reading this, you're right. Locking the cats out at night *does* result in a higher kill-rate. It's less hassle for us but more hassle for the birds. Lesson learned, but we're not doing anything about it yet. Let's watch the numbers.
+
+<table style="font-size:10px; width:92%; padding:2px; margin:2px;">
+ <colgroup>
+ <col span="1" style="width:30%;" />
+ <col \>
+ <col \>
+ <col span="1" style="width:15%" />
+ <col \>
+ <col \>
+ <col style="width:40%">
+ </colgroup>
+ <thead>
+ <tr class="header">
+ <th>Date</th>
+ <th>Super species</th>
+ <th>Specific species</th>
+ <th>Kill Type</th>
+ <th>Killer</th>
+ <th>Suspect Killer</th>
+ <th>Comments</th>
+ </tr>
+ </thead>
+ <tbody>
+ <tr>
+ <td>17 July 2022</td>
+ <td>Bird</td>
+ <td>Sparrow</td>
+ <td>DOA</td>
+ <td>Unknown</td>
+ <td>NA</td>
+ <td>Mullered corpse lying in bloom of feathers on the utility room floor upon waking this morning. Do most of my hoovering in pyjamas nowadays.</td>
+ </tr>
+ </tbody>
+</table>
+
+
#### Current analysis as of 21 June 2021:
<p><em>After an active period in May, the kill-rate has slowed a bit, but we
suspect we're not seeing the victims...</em></p>
-<table style="width:92%; padding:2px; margin:2px;">
+<table style="font-size:10px; width:92%; padding:2px; margin:2px;">
<colgroup>
<col span="1" style="width:30%;" />
<col \>
@@ -81,7 +122,7 @@ suspect we're not seeing the victims...</em></p>
<td>Unknown</td>
<td>Sadie or Cinnamon</td>
<td>Head, wing, some feathers. The rest simply piles of <em>reguritate</em> like
- glamorgan sausage.</td>
+ <a href="https://en.wikipedia.org/wiki/Glamorgan_sausage">glamorgan sausage</a>.</td>
</tr>
<tr>
<td>27 May 2021</td>
@@ -170,6 +211,6 @@ suspect we're not seeing the victims...</em></p>
## The perpetrators
-{{< figure src="sadie1.jpg" alt="Picture of cat Sadie" title="Sadie" caption="Killer" >}}
-{{< figure src="cin1.jpg" alt="Picture of cat Cinnamon" title="Cinnamon" caption="Killer" >}}
-{{< figure src="bob_bag.jpg" alt="Picture of cat Bob" title="Bob" caption="Killer" >}}
+{{< figure src="sadie1.jpg" alt="Picture of cat Sadie" title="Sadie" >}}
+{{< figure src="cin1.jpg" alt="Picture of cat Cinnamon" title="Cinnamon" >}}
+{{< figure src="bob_bag.jpg" alt="Picture of cat Bob" title="Bob" >}}
diff --git a/content/blog/cats/treecreeper_killer.md b/content/blog/cats/treecreeper_killer.md
index fb559ab..9516966 100644
--- a/content/blog/cats/treecreeper_killer.md
+++ b/content/blog/cats/treecreeper_killer.md
@@ -5,6 +5,6 @@ draft: false
category: "cats"
---
-This cat kills treecreepers. He is a very naughty boy.
+This [cat kills treecreepers](../cat_kills/). He is a very naughty boy.
{{<figure src="/img/bob.jpg" title="Bob the cat">}}
diff --git a/content/blog/openbsd_partition.md b/content/blog/openbsd_partition.md
index 3e05b4b..231ed27 100644
--- a/content/blog/openbsd_partition.md
+++ b/content/blog/openbsd_partition.md
@@ -1,8 +1,9 @@
---
title: "Create new disk partition in OpenBSD"
date: 2022-07-17T07:46:14+01:00
-slug: blog/create_new_partition_openbsd
+slug: create_new_partition_openbsd
draft: false
+tags: ['openbsd']
---
1. When I installed OpenBSD, the autoinstaller created a partition table for me. Interestingly (and I only just discovered this), it left a percentage of the disk free. This is a brilliant strategy, because it saves you having to do a lot of annoying resizing when you want to change things. In my case, I wanted to add a new partition of about 10G or so, for a `/jails` thing - check out [https://www.tubsta.com/2020/01/creating-a-chroot-in-openbsd/](https://www.tubsta.com/2020/01/creating-a-chroot-in-openbsd/).
diff --git a/layouts/blog/list.html b/layouts/blog/list.html
new file mode 100644
index 0000000..8106de3
--- /dev/null
+++ b/layouts/blog/list.html
@@ -0,0 +1,7 @@
+{{ define "main" }}
+<h2>{{ with .Site.GetPage "section" "blog" }}{{ .Title }}{{ end }}</h2>
+
+{{ .Content }}
+
+{{ partial "posts.html" }}
+{{ end }}
diff --git a/themes/problematic/layouts/_default/li.html b/themes/problematic/layouts/_default/li.html
index 2a7f3d9..846ff3f 100644
--- a/themes/problematic/layouts/_default/li.html
+++ b/themes/problematic/layouts/_default/li.html
@@ -1,6 +1,6 @@
<li>
<a href="{{ .Permalink }}">
- <small><time>{{ .Date.Format "Jan 2, 2006" }}</time></small>:
{{ .Title }}
+ <small>(<time>{{ .Date.Format "2 January 2006" }}</time>)</small>
</a>
</li>
diff --git a/themes/problematic/layouts/_default/list.html b/themes/problematic/layouts/_default/list.html
index 97af0e3..e4e4a83 100644
--- a/themes/problematic/layouts/_default/list.html
+++ b/themes/problematic/layouts/_default/list.html
@@ -1,3 +1,2 @@
{{ define "main" }}
-{{- partial "posts.html" . -}}
{{ end }}
diff --git a/themes/problematic/layouts/_default/taxonomy.html b/themes/problematic/layouts/_default/taxonomy.html
new file mode 100644
index 0000000..f59c372
--- /dev/null
+++ b/themes/problematic/layouts/_default/taxonomy.html
@@ -0,0 +1,12 @@
+{{ define "main" }}
+ <div class="container">
+ <h1>All {{ .Type }}</h1>
+ <ul>
+ {{ range .Pages }}
+ <li>
+ <a href="{{ .Permalink }}">{{ .Title }}</a>
+ </li>
+ {{ end }}
+ </ul>
+ </div>
+{{ end }}
diff --git a/themes/problematic/layouts/partials/header.html b/themes/problematic/layouts/partials/header.html
index 7ad852b..a9a7b2a 100644
--- a/themes/problematic/layouts/partials/header.html
+++ b/themes/problematic/layouts/partials/header.html
@@ -2,7 +2,7 @@
<h2><a href="{{ .Site.BaseURL }}">{{ .Site.Title }}</a></h2>
<nav>
{{ range .Site.Menus.main.ByWeight -}}
- {{ .Pre }}<a href="{{ .URL }}" title="{{ .Title }}">{{- .Name -}}</a> | {{ .Post }}
+ {{ .Pre }}<a href="{{ .URL }}" title="{{ .Title }}">{{- .Name -}}</a> {{ .Post }}
{{- end }}
</nav>
</header>