Skip to content

Commit

Permalink
add jekyll design principles
Browse files Browse the repository at this point in the history
  • Loading branch information
emilybache committed Jun 28, 2024
1 parent 00be605 commit 9dae51e
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,3 +72,11 @@ When you push to the main branch, there is a github action that deploys the chan
* Update their groups on Discord
* Send welcome mail saying you've done those things
* Announce them on Discord & elsewhere

## Jekyll Design Principles
* Use collections for objects
* Use liquid as a database
* `_data` is good for things that don't have their own pages
* Routing is best based on configuration not file structure
* If it needs its own layout, write it in html from the start
* Using frontmatter when possible enables jekyll to check that things work

0 comments on commit 9dae51e

Please sign in to comment.