-
Notifications
You must be signed in to change notification settings - Fork 1
Layouts
Chelsea Miya edited this page Jul 12, 2023
·
2 revisions
- Subdirectory: _layouts
- Create templates for different page layouts e.g. default, exhibit, event
- Written in html
- Liquid is a templating language used to combine different components into a single page.
- e.g. the default page includes both 'header' and 'footer'.
Syntax: curly brackets + percentage + 'includes' + .html file
- {% includes filename.html %}
- Layouts are combined with Markdown pages (.md files).
- This is where the page content will appear.
Syntax:
- {{content}}