abstract class MainLayout

Included Modules

Direct Known Subclasses

Defined in:

pages/main_layout.cr

Constant Summary

ASSIGNS = [context : HTTP::Server::Context] of Nil

Instance Method Summary

Instance Method Detail

abstract def content #

[View source]
def page_title #

The default page title. It is passed to Shared::LayoutHead.

Add a #page_title method to pages to override it. You can also remove This method so every page is required to have its own page title.


[View source]
def render #

[View source]