Source Files of my old Hugo site
CSS HTML
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
archetypes
content
layouts
static
.gitignore
README.md
config.toml

README.md

mariosanchez.org

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 /public folder.

Deploying the site

After running 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/.


Special thanks and kudos to Steve Francia for creating Hugo.