Skip to content

yusuf-musleh/yusuf-musleh.github.io

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

62 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Releases

No releases published

Packages

No packages published