mfashby.net

Website mfashby.net
git clone git://code.mfashby.net:/mfashby.net
Log | Files | Refs | Submodules | README

2021-10-01-blog.smd (818B)


      1 ---
      2 .title = "Blog",
      3 .author = "Martin Ashby",
      4 .date = @date("2021-10-01T19:34:15+01:00"),
      5 .layout = "single.shtml",
      6 .custom = {"comments": true},
      7 ---
      8 
      9 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).
     10 
     11 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.
     12 
     13 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.
     14