My personal website powered by Hugo.
Writing the content
Posts and page content are written in Markdown. Posts are saved in the
content/post folder. Book reviews are saved in the
content/book folder. Regular pages (about, contact) are saved directly in the
/content folder root.
Generating the site
After running the
hugo command from the project's root folder, Hugo crawls the content and template folders to detect any changes, and generates/updates the site's HTML files, which are stored in the
Deploying the site
git add and
git commit in my local computer, I
git push the source files to this Github repository. I then do a
cd public and
git push the HTML files to a second Github repository:
mariobox.github.io. This repository is powered by Github Pages which deploys my site to the open web.
For more implementation details visit: http://mariosanchez.org/colophon/.