Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.
Jonathan Hodgson 72c1b072cc Content il y a 1 mois
assets Forgot to push for ages il y a 8 mois
content Content il y a 1 mois
nginx Start blog il y a 2 ans
templates Forgot to push for ages il y a 8 mois
.gitignore Content il y a 1 mois
README.md Updates Readme il y a 2 ans
build.sh Content il y a 1 mois
docker-compose.yml Start blog il y a 2 ans


Source code for my website

This is the source code for my website: https://jonathanh.co.uk.

The site is built from markdown using pandoc.


There is a bash script, build.sh, that creates the necessary files in a public_html folder.

This can then be hosted on any hosting service.

The script takes the following commands:


build.sh clean

This will remove the contents of the public_html folder and the tmp folder the script uses to store things like the tag list


build.sh tags

This will build the taglist which is used internally and stored in the tmp folder as well as creating archive pages for each tag


build.sh blog

This will build the blog pages for any blogs that have been modified since the last time blogs were built


build.sh index

This will generate the homepage.


build.sh card

Generates my curlable business card.


build.sh rss

Generates my rss feed.


build.sh all

This will generate the tags, the blogs, the index, the RSS feed and the card.


To run locally, make sure docker and docker-compose are installed then run docker-compose up. You will be able to access the site at http://localhost:8080.