No description
Find a file
2020-05-22 23:33:46 +01:00
assets Adds link to source 2020-03-29 17:23:45 +01:00
content Adds a needlessly over-engineerd buisness card 2020-05-22 23:33:46 +01:00
nginx Start blog 2020-02-29 11:39:13 +00:00
templates Website updates 2020-04-04 14:16:37 +01:00
.gitignore Fixes indentation of $body$ and adds .min.css file to gitignore 2020-03-29 20:49:12 +01:00
build.sh Website updates 2020-04-04 14:16:37 +01:00
docker-compose.yml Start blog 2020-02-29 11:39:13 +00:00
README.md Adds a readme file 2020-03-29 17:33:56 +01:00

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.

build.sh

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:

Clean

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

Tags

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

Blog

build.sh blog

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

Index

build.sh index

This will generate the homepage.

All

build.sh all

This will generate the tags, the blogs and the index

Docker

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.