Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add <Page:> example to README #9

Open
bollwyvl opened this issue Feb 24, 2015 · 0 comments
Open

Add <Page:> example to README #9

bollwyvl opened this issue Feb 24, 2015 · 0 comments

Comments

@bollwyvl
Copy link

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")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant