forked from pugjs/pug
-
Notifications
You must be signed in to change notification settings - Fork 6
Open
Description
Presently trying to match some third-party css by adding a body class in the Page:
template... It may be useful for future folk.
It seems it may be necessary to not close body
. Trying things from this SO post I hit on this solution:
Page:
doctype html
<html>
head
meta(charset="utf-8")
title
view(name="{{$render.prefix}}Title")
view(name="{{$render.prefix}}Styles")
view(name="{{$render.prefix}}Head")
<body class="MY_CUSTOM_CLASS responsive {{$bodyClass($render.ns)}}">
view(name="{{$render.prefix}}Body")
Metadata
Metadata
Assignees
Labels
No labels