Glam is a theme for The Balance website put together by the wonderful FFXIV community
- git
- Accept all the default options except for the following option.
- Check the
Enable symbolic links
box when presented the option.
- nodejs
- Choose the latest LTS release listed.
- Accept all default options.
- hugo (Optionally, you can install
hugo
via a package manager if desired.)- Choose hugo__extended_X.XXX.X_Windows-64bit.zip where the X's are the current version (Latest tested with
0.119.0
). - Extract the .zip to a location of your choosing (Documents is reasonable choice).
- Open the extracted folder and right click on
hugo.exe
and select properties. - Check the
Unblock
box near the bottom and pressOk
.
- Choose hugo__extended_X.XXX.X_Windows-64bit.zip where the X's are the current version (Latest tested with
- These steps only need to be done once.
- Add hugo.exe to PATH.
- Open the Start menu, search for
environment
, and chooseEdit the system environment variables
to open a dialogue. - Click the
Environment Variables
box near the bottom. - Select the
Path
line in the first box and hitEdit
. - Press the
New
button and input the path to the folder you extracted (i.eC:/Users/UserName/Documents/hugo
) and hit theEnter
key. - Select
Ok
to close all the dialogue boxes.
- Open the Start menu, search for
- Clone the git repository.
- Open a command prompt in the location you want the repository to be placed (You can
Shift+Right Click
in a folder and choose theOpen Powershell window
option). - Run
git clone https://github.com/The-Balance-FFXIV/glam.git
to clone the repository.
- Open a command prompt in the location you want the repository to be placed (You can
- Navigate into the repository:
cd glam/
. - Run
yarn
to setup the necessary environment.
- Navigate to your project folder in a command prompt or Powershell window.
- Run
yarn start:dev
. - Navigate to
localhost:1313
in a web browser to view the local version of the website.
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`
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 |
- the
[menu]
section must contain at least one[[menu.header]]
and[[menu.footer]]
section:
[menu]
[[menu.header]]
identifier = 'Encounters'
url = '/encounters/'
weight = 20
[[menu.footer]]
identifier = 'Encounters'
url = '/encounters'
weight = 20