Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/mitodl/ocw-hugo-projects

A collection of Hugo project templates for different types of OCW websites
https://github.com/mitodl/ocw-hugo-projects

Last synced: 6 days ago
JSON representation

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

Awesome Lists containing this project

README

        

# 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:

```sh
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

```sh
yamllint .
```

And run the formatter with

```sh
yarn fmt
```

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