-
Notifications
You must be signed in to change notification settings - Fork 129
Customizing Views
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.erbAvailable local variables:
entryRendered at the bottom of public entry pages. Place script snippets provided by your analytics service
in this file. -
pageflow_paged/entries/_header.html.erb(orpageflow/entries/_header.html.erbfor Pageflow < 15.1)Available local variables:
entryDefine to supply a custom header template for public entry pages.