From fe2059e23721d0f570e4db33048ba58e709eb5be Mon Sep 17 00:00:00 2001 From: "martin@ashbysoft.com" Date: Fri, 1 Oct 2021 18:42:05 +0000 Subject: blog --- content/posts/2021-10-01-blog.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 content/posts/2021-10-01-blog.md diff --git a/content/posts/2021-10-01-blog.md b/content/posts/2021-10-01-blog.md new file mode 100644 index 0000000..947bfc0 --- /dev/null +++ b/content/posts/2021-10-01-blog.md @@ -0,0 +1,12 @@ +--- +title: "Blog" +date: 2021-10-01T19:34:15+01:00 +draft: false +--- + +I originally started this blog using [Jekyll](https://jekyllrb.com/), but I've since switched to using [hugo](https://gohugo.io/) after I found it simpler to install and use (`pamac install hugo` on manjaro linux). + +The content is stored on my laptop and on [github](https://github.com/MFAshby/mfashby.net). I have a cron job on my raspberry pi which pulls the latest changes and builds the site every 15 minutes, so changes are automatically published. + +I could improve this setup slightly using [GitHub webhooks](https://docs.github.com/en/developers/webhooks-and-events/webhooks/about-webhooks) to detect the changes immediately and refresh rather than polling. + -- cgit v1.2.3-ZIG