TLDR: A blog layout theme for Presidium sites.
This repo makes up the blog layouts
portion of the Presidium System Level Theme, and extends the officially supported theme features in presidium-layouts-base.
For more info on Hugo Themes see the official Hugo documentation here
Update the config.yml
:
module:
imports:
- path: github.com/spandigital/presidium-styling-base
- path: github.com/spandigital/presidium-layouts-blog
- Clone the theme
- Clone the presidium-test-validation repo. We use the
presidium-test-validation
repo as the styling and functionality test bed, where we throw all the officially supported features in with the kitchen sink, so that we can validate every theme change has no unintended effects. - Open the
go.mod
file in yourpresidium-test-validation
clone. - Add the following to the bottom of your
go.mod
file, and update the path after the arrow to the correct path where you cloned the theme layout:
replace github.com/spandigital/presidium-layouts-blog => /{path-on-your-machine}/presidium-layouts-base
- Run a refresh and then build the docset with Hugo:
make refresh
If you don't have the Makefile in your docset, then you can copy it from here Then run
make serve
Your served site should be available on localhost:1313
.
At SPAN we use Conventional Commits 1.0.0 to make our commit messages more useful.
This repository uses Semantic Release tool to automate version management and package publishing.
Upon merging into to the main or develop branch, Semantic Release tool will:
- Calculate the new release version based on the commits
- Create a git commit and a git tag for the release
- Create a Release with release notes from the commit messages
- Create and publish the container images
Please see this Presidium Git Strategy Miro board.
In summary:
main
⇾ production- Only hotfixes or
develop
get merged intomain
- Only hotfixes or
develop
- Feature branches and bug fixes are branched from and merged into
develop
- Feature branches and bug fixes are branched from and merged into
feat/<TITLE>
- If there is a feature in development it will be on a feature branch