Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/mitodl/ocw-hugo-projects
- Owner: mitodl
- Created: 2021-05-28T18:22:37.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2024-04-11T19:50:10.000Z (9 months ago)
- Last Synced: 2024-04-14T00:48:20.382Z (9 months ago)
- Size: 233 KB
- Stars: 1
- Watchers: 20
- Forks: 3
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
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.