Skip to content
Tim Fischbach edited this page Feb 11, 2020 · 7 revisions

Pageflow defines a couple of placeholder partial templates, which can be overwritten inside your application. This allows you to add custom markup or change parts of Pageflow's UI widgets. To define one of the following partials, simply place a file with the given name inside your application's view directory.

  • pageflow/entries/_analytics.html.erb

    Available local variables: entry

    Rendered at the bottom of public entry pages. Place script snippets provided by your analytics service
    in this file.

  • pageflow_paged/entries/_header.html.erb (or pageflow/entries/_header.html.erb for Pageflow < 15.1)

    Available local variables: entry

    Define to supply a custom header template for public entry pages.