My personal website/blog. Built with blag.
docker build -t personal-website .
docker run --rm -it -v .:/app/ personal-website
-
Edit the contents of files in
/content
-
To add a new page, create a
.md
file without defining theDate
field -
To add a new writing, create an .md file with the
Data
field -
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 -
Since I don't want the writings on the index page, replace the contents of
docs/writings.html
with contents ofdocs/index.html
, and replace the contents ofdocs/index.html
with the contents ofdocs/about.html
. -
Fix the
<title>
tags of both files