-
Notifications
You must be signed in to change notification settings - Fork 23
Layouts
Each markdown file has a parameter in the frontmatter called layout. Currently we have a layout for every major section such as the department pages, academics, and technical areas. This is done to minimalize how many layouts made on the site. Some pages with unique styling and layouts to the rest of the site such as the front page and the faculty page have their own layouts. For example each department page should use the "department-pages" layout. list of layouts can be found under _layouts. If a new layout is needed, check with Mr. Lebouef first.
To create a layout, you must first create an html file for it. Next, create a scss file in templates in the _sass folder with the same name as the html file. Finally, you need to import the scss file to the techhigh.scss so it's recognized and used by the site.
@import "techhigh/path";