My personal website https://jonathanh.co.uk
Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.
 
 
 
Jonathan Hodgson 749bc37502 Fixes indentation of $body$ and adds .min.css file to gitignore pirms 1 gada
assets Adds link to source pirms 1 gada
content Update build system and content pirms 1 gada
nginx Start blog pirms 1 gada
templates Fixes indentation of $body$ and adds .min.css file to gitignore pirms 1 gada
.gitignore Fixes indentation of $body$ and adds .min.css file to gitignore pirms 1 gada
README.md Adds a readme file pirms 1 gada
build.sh Update build system and content pirms 1 gada
docker-compose.yml Start blog pirms 1 gada

README.md

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.