Skip to content

Sitemap & Taxonomy

Bill Finn edited this page Jul 10, 2019 · 3 revisions

Sitemap and Taxonomy Display

Each site added to Cookbook has an ID. Sitemap and taxonomy tree displays use the ID of a site to correctly find the data for each sitemap and taxonomy. Currently, the queries for each site need to be configured manually.

Each site should be set up to receive a sitemap and taxonomy.

The following files in the application require modification to allow additional sites to display in taxonomy and sitemap.

Modify for sitemap and taxonomy:

  • config/routes.rb
  • app/models/page.rb
  • app/controllers/tree_controller.rb
  • app/assets/javascripts/tree.js
Clone this wiki locally