Adding a new post
hugo new posts/"post name".md
To add new blog/news posts, simply create a new markdown file in the news folder under the content
Running the server
NPM Start
Building static pages
hugo serve
Go to http://localhost:1313/ to view static page
Design changes to be made in the config.toml file
list.html
- home page
single.html
- each individual page format
All images are stored in the static/photos
folder at the app root level. At this level whenever you want to reference a specific image, simply put /"image type"
All blog/news format shall be stored in the /i18n/en.yaml
folder.
Any edits that is outside of the theme will be added to the /layouts/_default
folder (see exco.html for example). Adding new page to the config.toml
will also require you to add the page name inside the contents folder.