From 42b9a48be1e1aaa28fb79ac57cdd3063fb8ac7fa Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Sat, 14 Nov 2020 21:19:20 +0100 Subject: Convert front matter for zola --- content/_index.md | 8 +++++--- content/post/_index.md | 1 + content/post/a-new-site.md | 13 +++++++------ content/post/back-again.md | 13 +++++++------ content/post/cedit-and-paredit.md | 15 ++++++++------- content/post/emacs-package-archive-statistics.md | 15 ++++++++------- content/post/git-cloning-similar-repositories.md | 15 ++++++++------- content/post/opening-projects-with-projectile.md | 15 ++++++++------- .../post/postfix-as-null-client-with-external-catchall.md | 12 +++++++----- content/post/repository-management-with-ghq.md | 11 ++++++----- content/post/self-hosted-git.md | 13 +++++++------ 11 files changed, 72 insertions(+), 59 deletions(-) diff --git a/content/_index.md b/content/_index.md index c21b9ee..add1ca4 100644 --- a/content/_index.md +++ b/content/_index.md @@ -1,6 +1,8 @@ ---- -title: "Home" ---- ++++ +title = "Home" +sort_by = "date" +paginate_reversed = true ++++

I work as a Full-stack Developer in Berlin. I occasionally write about Emacs and development-related topics. diff --git a/content/post/_index.md b/content/post/_index.md index e45e70a..e0d2523 100644 --- a/content/post/_index.md +++ b/content/post/_index.md @@ -2,4 +2,5 @@ title = "Posts" sort_by = "date" paginate_reversed = true +transparent = true +++ diff --git a/content/post/a-new-site.md b/content/post/a-new-site.md index 5b32519..09d03a8 100644 --- a/content/post/a-new-site.md +++ b/content/post/a-new-site.md @@ -1,9 +1,10 @@ ---- -Categories: ["Geek"] -Description: "I made a website." -title: "A New Site" -date: 2014-06-07T20:16:16Z ---- ++++ +description = "I made a website." +title = "A New Site" +date = 2014-06-07T20:16:16Z +[taxonomies] +categories = ["geek"] ++++ I finally got around to making a website. I decided to use [Hugo][] with a slightly-modified [Hyde theme][] diff --git a/content/post/back-again.md b/content/post/back-again.md index 0f7adc7..9529415 100644 --- a/content/post/back-again.md +++ b/content/post/back-again.md @@ -1,9 +1,10 @@ ---- -Description: "I'm back" -Tags: ["website"] -date: "2017-05-06T16:55:57+02:00" -title: "Back again" ---- ++++ +description = "I'm back" +date = 2017-05-06T16:55:57+02:00 +title = "Back again" +[taxonomies] +tags = ["website"] ++++ I've not made any posts for quite some time. My life has changed quite a bit, I've emigrated from the UK and it's only now that I'm diff --git a/content/post/cedit-and-paredit.md b/content/post/cedit-and-paredit.md index f35b362..c2cacc5 100644 --- a/content/post/cedit-and-paredit.md +++ b/content/post/cedit-and-paredit.md @@ -1,10 +1,11 @@ ---- -Categories: ["Emacs"] -Description: "Cedit and paredit for structural editing" -Tags: ["development", "emacs"] -title: "Cedit and Paredit" -date: 2014-08-04T07:10:14Z ---- ++++ +description = "Cedit and paredit for structural editing" +title = "Cedit and Paredit" +date = 2014-08-04T07:10:14Z +[taxonomies] +categories = ["emacs"] +tags = ["development", "emacs"] ++++ I recently discovered [cedit][], which provides some structural commands for editing c-like languages. (See this diff --git a/content/post/emacs-package-archive-statistics.md b/content/post/emacs-package-archive-statistics.md index 5fda12d..7abae6d 100644 --- a/content/post/emacs-package-archive-statistics.md +++ b/content/post/emacs-package-archive-statistics.md @@ -1,10 +1,11 @@ ---- -Categories: ["Emacs"] -Description: "Working out which package archives I'm using" -Tags: ["emacs"] -title: "Emacs Package Archive Statistics" -date: 2014-07-19T13:19:54Z ---- ++++ +description = "Working out which package archives I'm using" +title = "Emacs Package Archive Statistics" +date = 2014-07-19T13:19:54Z +[taxonomies] +categories = ["emacs"] +tags = ["emacs"] ++++ I use [cask][] for managing the dependencies of my Emacs configuration. Whenever I opened my `Cask` file, I wondered if I diff --git a/content/post/git-cloning-similar-repositories.md b/content/post/git-cloning-similar-repositories.md index 517ff4d..3200646 100644 --- a/content/post/git-cloning-similar-repositories.md +++ b/content/post/git-cloning-similar-repositories.md @@ -1,10 +1,11 @@ ---- -Categories: ["Development"] -Description: "Speed up cloning of similar git repositories" -Tags: ["git"] -title: "Cloning Similar Git Repositories" -date: 2014-06-22T08:35:24Z ---- ++++ +description = "Speed up cloning of similar git repositories" +title = "Cloning Similar Git Repositories" +date = 2014-06-22T08:35:24Z +[taxonomies] +categories = ["Development"] +tags = ["git"] ++++ With multiple similar git repositories, for example where a base repository contains a framework or base system installation and other repositories are created from that repository, it's possible to save some time when cloning down another repository by using the `reference` option to [git-clone][]: git clone git@github.com/my/repo --reference another-repo diff --git a/content/post/opening-projects-with-projectile.md b/content/post/opening-projects-with-projectile.md index 8c6d2bc..b6a4e5b 100644 --- a/content/post/opening-projects-with-projectile.md +++ b/content/post/opening-projects-with-projectile.md @@ -1,10 +1,11 @@ ---- -Categories: ["Emacs"] -Description: "" -Tags: ["emacs", "lisp"] -title: "Opening Projects with Projectile" -date: 2014-07-12T09:12:34Z ---- ++++ +description = "" +title = "Opening Projects with Projectile" +date = 2014-07-12T09:12:34Z +[taxonomies] +categories = ["Emacs"] +tags = ["emacs", "lisp"] ++++ I use [Projectile][] for working with projects in Emacs. It's really good at finding files in projects, working with source code indexes (I use [Global][]), and with its [perspective][] support, it's also great at separating projects into workspaces. However, I've always felt it lacking in actually opening projects. I tend to work on different projects all the time and `projectile-switch-project` only tracks projects once they've been opened initially (despite the name, it works across Emacs sessions). diff --git a/content/post/postfix-as-null-client-with-external-catchall.md b/content/post/postfix-as-null-client-with-external-catchall.md index abc6bce..4a604b5 100644 --- a/content/post/postfix-as-null-client-with-external-catchall.md +++ b/content/post/postfix-as-null-client-with-external-catchall.md @@ -1,8 +1,10 @@ ---- -title: 'Postfix on a NixOS null client with external catch-all' -date: 2020-09-11T18:49:00+02:00 -Tags: ["development","git","nixos"] ---- ++++ +title = 'Postfix on a NixOS null client with external catch-all' +date = 2020-09-11T18:49:00+02:00 + +[taxonomies] +tags = ["development","git","nixos"] ++++ I wanted to set up a server so that any local email (e.g. generated by cron jobs/systemd timers) would be forwarded to an external address, regardless of the user. I also wanted the from address to keep the system hostname whilst not allowing any external use of the mailserver. It took me a while to figure out how to this, so I thought I'd share my method. diff --git a/content/post/repository-management-with-ghq.md b/content/post/repository-management-with-ghq.md index 656da0b..c225ace 100644 --- a/content/post/repository-management-with-ghq.md +++ b/content/post/repository-management-with-ghq.md @@ -1,8 +1,9 @@ ---- -Tags: ["development","git"] -date: "2017-05-06T23:31:51+02:00" -title: "Repository management with ghq" ---- ++++ +date = 2017-05-06T23:31:51+02:00 +title = "Repository management with ghq" +[taxonomies] +tags = ["development","git"] ++++ I recently encountered [ghq][], a tool for automatically organising VCS-backed projects automatically. Give it a repository URL, it will clone a project to diff --git a/content/post/self-hosted-git.md b/content/post/self-hosted-git.md index 19428ce..1cceff3 100644 --- a/content/post/self-hosted-git.md +++ b/content/post/self-hosted-git.md @@ -1,9 +1,10 @@ ---- -Description: "I describe my git server setup (using cgit and gitolite), and what it allows" -Tags: ["development","git"] -date: "2017-06-04T12:33:02+02:00" -title: "A simple, powerful self-hosted git setup" ---- ++++ +description = "I describe my git server setup (using cgit and gitolite), and what it allows" +date = 2017-06-04T12:33:02+02:00 +title = "A simple, powerful self-hosted git setup" +[taxonomies] +tags = ["development","git"] ++++ I had been using [gogs][] for about a year. It worked reasonably well, as it focuses on being a lightweight self-hosted GitHub -- cgit 1.4.1