- Install Hugo
- On macOS:
brew install hugo
- On Linux: install the cross platform binary to get the latest version.
- Verify your installation by running
hugo version
. You should have version 0.26 or higher.
- Install Node and npm
- ex.
brew install node
on macOS. - Verify your installation by running
node -v
andnpm -v
.
npm install
to install npm packages.
npm start
to start the local server.- Visit
localhost:1313
in your browser.
The main site template is located at layout/index.html
. It pulls in some partials from layout/partials
.
To add a logo:
- Add it to
static/images/logos
. - Add a new entry to
data/logos
with the filename, org name, and org site url.
The sass is located in the sass
directory. Compiled sass goes in two places:
- The
static/css
directory, which gets added directly to the site. - The
layouts/partials/ac_embed_styles.html
file. This is a little hack to let us inject the styles into the action center widget so we can style it more easily.
Static assets such as images and font files can be added to the static
directory. They will be included in the public folder when the site is built.