My personal website https://jonathanh.co.uk
Non puoi selezionare più di 25 argomenti Gli argomenti devono iniziare con una lettera o un numero, possono includere trattini ('-') e possono essere lunghi fino a 35 caratteri.
 
 
 
 
 
 
Jonathan Hodgson a016f807ca Updates Readme 2 giorni fa
assets Small change to blog 2 giorni fa
content Adds other stuff you might like 2 giorni fa
nginx Start blog 2 mesi fa
templates Improves styling and adds rss feed 2 giorni fa
.gitignore Fixes indentation of $body$ and adds .min.css file to gitignore 1 mese fa
README.md Updates Readme 2 giorni fa
build.sh Improves styling and adds rss feed 2 giorni fa
docker-compose.yml Start blog 2 mesi fa

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.

Card

build.sh card

Generates my curlable business card.

RSS

build.sh rss

Generates my rss feed.

All

build.sh all

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

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.