The-Balance-FFXIV / glam

A hugo theme for the balance
Other
5 stars 23 forks source link

Glam

Glam is a theme for The Balance website put together by the wonderful FFXIV community

Getting started on Windows

Tools Required

Testing the theme locally

Make sure you have hugo installed. Either drop hugo.exe in the project's root folder or add it to your PATH.

# Clone the repository
git clone https://github.com/The-Balance-FFXIV/glam.git

# Navigate into it
cd ./glam/

# Install project dependencies and dependencies. If you prefer to not edit PATH, you can install globally.
export PATH=$PATH:${PWD}/node_modules/.bin
yarn

# Run the servers
yarn start:dev

# Server starts by default on `localhost:1313`

Configuration

[params] section

Key Name Type Description
maxTierGearsets int Maximum number of 'tier' gearsets to display on a job landing page
maxUltimateGearsets int Maximum number of 'ultimate' gearsets to display on a job landing page
maxGearsets int Maximum number of gearsets to display, total
discord string Discord join url (without any leading https://)
description string Description for the site
copyrightMessage string Copyright string to display on the bottom of the site

Notes

[menu]
  [[menu.header]]
    identifier = 'Encounters'
    url = '/encounters/'
    weight = 20
  [[menu.footer]]
    identifier = 'Encounters'
    url = '/encounters'
    weight = 20