GithubHelp home page GithubHelp logo

furstblumier / glam Goto Github PK

View Code? Open in Web Editor NEW

This project forked from the-balance-ffxiv/glam

0.0 0.0 0.0 27.93 MB

A hugo theme for the balance

License: MIT License

HTML 64.23% CSS 11.34% JavaScript 7.50% Python 16.93%

glam's Introduction

Glam

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

Getting started on Windows

Tools Required

  • git
    1. Accept all the default options except for the following option.
    2. Check the Enable symbolic links box when presented the option.
  • nodejs
    1. Choose the latest LTS release listed.
    2. Accept all default options.
  • hugo (Optionally, you can install hugo via a package manager if desired.)
    1. Choose hugo__extended_X.XXX.X_Windows-64bit.zip where the X's are the current version (Latest tested with 0.119.0).
    2. Extract the .zip to a location of your choosing (Documents is reasonable choice).
    3. Open the extracted folder and right click on hugo.exe and select properties.
    4. Check the Unblock box near the bottom and press Ok.

How to build the project

  1. These steps only need to be done once.
  2. Add hugo.exe to PATH.
    1. Open the Start menu, search for environment, and choose Edit the system environment variables to open a dialogue.
    2. Click the Environment Variables box near the bottom.
    3. Select the Path line in the first box and hit Edit.
    4. Press the New button and input the path to the folder you extracted (i.e C:/Users/UserName/Documents/hugo) and hit the Enter key.
    5. Select Ok to close all the dialogue boxes.
  3. Clone the git repository.
    1. Open a command prompt in the location you want the repository to be placed (You can Shift+Right Click in a folder and choose the Open Powershell window option).
    2. Run git clone https://github.com/The-Balance-FFXIV/glam.git to clone the repository.
  4. Navigate into the repository: cd glam/.
  5. Run yarn to setup the necessary environment.

How to run the project

  1. Navigate to your project folder in a command prompt or Powershell window.
  2. Run yarn start:dev.
  3. Navigate to localhost:1313 in a web browser to view the local version of the website.

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

  • 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

glam's People

Contributors

nonowazu avatar ohaidanny avatar furstblumier avatar hintxiv avatar scrubbyxiv avatar ductapeofdoom avatar lailleo avatar dependabot[bot] avatar holl0wstar avatar roxas92 avatar lunaversitay avatar hughes89 avatar axheron avatar arcanedisgea avatar 22a avatar hannachen avatar purarity avatar xpdota avatar sneakycrow avatar teatwig avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.