How I Organise My Personal Blog
I use hugo
to build site. As stated in the official documentation, hugo is a fast and flexible static site generator written in Golang.
It converts source markup files (e.g., org, markdown, Rmarkdown, quarto) to html file.
A skeleton of website
Below is a copy from the hugo documentation.
|
|
Build locally
Command line
|
|
Rstudio + blogdown
I used `blogdown` for a while and I liked it. In particular, it supports the page bundle feature very well. That is, each new post has its own separate folder. However, I give up this solution because Rstudio is too heavy and slow.
|
|
Emacs easy-hugo
This is a lightweight but good enough solution. You can type `easy-hugo-complete-tags` to do the auto-completion stuff. However, it does not support page bundle, but I can tolerate it.
There are also other packages in Emacs like ox-hugo. But it is more for the org-mode enthusiast.