This site is a Static Generated Site, made with Hugo and Automatically Deployed from a git repository using Forestry.io
The power of Hugo is that through the use of layout files, every div can easily be created or edited through HTML/CSS/JavaScript and then Injected into place by the program.
The simplest way to think of it is that every page is a template with a single empty space in the middle for Formatted Text to go into. And Hugo is the Glue which sticks that Text in place.
I’m currently using a heavily modified version of the the Hugo Creative Portfolio Theme by Github User Kishaningithub.
The Current Deployment method is as such:
Login to the Forestry.io Headless CMS (headlessCMS.org for a definition of what defines a Headless CMS)
Edit or Create Markdown Files using existing Templates
Forestry builds these pages into HTML and places them in the /public
folder of the dev
branch
Forestry Publishes the contents of the /public
folder in the dev
branch of the Git onto the master
branch
All contents of the master
branch are automatically served as Webpages by Github Pages, due to a setting turned on in the options of the repository.
deployed via opening the /Layouts
folder inside of the dev branch of the repository, using Github Desktop and then:
editing the /partials
, /widgets
, /shortcodes
or any of the named templates
opening command prompt inside of the /
folder
running the command hugo --theme [Theme-Name]
once
syncing the changes back to the dev branch.
publishing the contents of the /public
folder onto the Master branch
e.g.
about/single.html
for editing the single page template of about.
e.g.
partials/sidebar.html
for editing just the sidebar.
e.g.
portfolio/list
for editing the grouped page template of Portfolio.