Skip to content

A collection of Hugo project templates for different types of OCW websites

Notifications You must be signed in to change notification settings

mitodl/ocw-hugo-projects

Repository files navigation

ocw-hugo-projects

A collection of Hugo project templates for different types of OCW websites

linting and formatting

We have a YAML linting and formatting setup in this repo to ensure that, at the least, our checked-in files are valid YAML files.

To install dependencies you'll want to do something like the following:

yarn install # install prettier
virtualenv env
source env/bin/activate
pip install -r requirements.txt # install yamllint

Then you can run the linter by doing

yamllint .

And run the formatter with

yarn fmt

These checks are run on PRs by GitHub actions as well.

About

A collection of Hugo project templates for different types of OCW websites

Resources

Stars

Watchers

Forks

Packages

No packages published