Pageflow Sitemap

Gem Version

An interactive sitemap for the Pageflow editor.

Installation

Add this line to your application's Gemfile:

# Gemfile
gem 'pageflow-sitemap'

Register the plugin:

# config/initializers/pageflow.rb
Pageflow.configure do |config|
  config.plugin(Pageflow::Sitemap.plugin)
end

Include javascripts and stylesheets:

# app/assets/javascripts/pageflow/editor.js
//= require pageflow/sitemap/editor

# app/assets/stylesheets/pageflow/editor.scss
@import "pageflow/sitemap/editor";

Execute bundle install and restart the application server.

Now you can enable the "Sitemap" feature in your feature settings.

Troubleshooting

If you run into problems while installing the page type, please also refer to the Troubleshooting wiki page in the Pageflow repository. If that doesn't help, consider filing an issue.

Contributing Locales

Edit the translations directly on the pageflow-sitemap locale project.