Skip to content

Latest commit

 

History

History
23 lines (17 loc) · 836 Bytes

README.md

File metadata and controls

23 lines (17 loc) · 836 Bytes

My personal website/blog. Built with blag.

Running locally

docker build -t personal-website .
docker run --rm -it -v .:/app/ personal-website

Updating content

  1. Edit the contents of files in /content

  2. To add a new page, create a .md file without defining the Date field

  3. To add a new writing, create an .md file with the Data field

  4. Once you are happy with the new content, generate the static files

    blag -v build -o docs

    That should generate the new static files in the /docs directory

  5. Since I don't want the writings on the index page, replace the contents of docs/writings.html with contents of docs/index.html, and replace the contents of docs/index.html with the contents of docs/about.html.

  6. Fix the <title> tags of both files