Skip to content

Add <Page:> example to README #9

@bollwyvl

Description

@bollwyvl

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

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions