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:
Vince Chu 2016-09-15 14:46:04 -04:00 committed by Michael Rose
parent a60257de3d
commit 57449b37ca

View file

@ -10,7 +10,7 @@
{% include head/custom.html %}
</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 masthead.html %}