Add classnames to body element (#526)
* Expose layout type as class name on body element * Add ability to add classes to body via front matter
This commit is contained in:
parent
a60257de3d
commit
57449b37ca
1 changed files with 1 additions and 1 deletions
|
@ -10,7 +10,7 @@
|
||||||
{% include head/custom.html %}
|
{% include head/custom.html %}
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body>
|
<body class="layout--{{ page.layout | default: layout.layout }}{% if page.classes or layout.classes %}{{ page.classes | default: layout.classes | join: ' ' | prepend: ' ' }}{% endif %}">
|
||||||
|
|
||||||
{% include browser-upgrade.html %}
|
{% include browser-upgrade.html %}
|
||||||
{% include masthead.html %}
|
{% include masthead.html %}
|
||||||
|
|
Loading…
Reference in a new issue