Sha256: 4a9e801ee0fcd474687b8ca1efa49a33ef3e1932badec34d1264aeb70ce08f6e

Contents?: true

Size: 614 Bytes

Versions: 14

Compression:

Stored size: 614 Bytes

Contents

# Set the host name for URL creation
SitemapGenerator::Sitemap.default_host = "http://www.app_name.com"

SitemapGenerator::Sitemap.create do
  # Put links creation logic here.
  #
  # The root path '/' and sitemap index file are added automatically for you.
  # Links are added to the Sitemap in the order they are specified.
  #
  # Examples:
  #
  # add root_path
  # add foobar_path, priority: 0.7, changefreq: 'daily'
  #
  # Iteration example:
  #
  # Article.published.find_each do |article|
  #   add article_path("#{article.id}-#{article.permalink}"), priority: 0.9, lastmod: article.updated_at
  # end
end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
orats-0.9.7 lib/orats/templates/includes/new/rails/config/sitemap.rb
orats-0.9.6 lib/orats/templates/includes/new/rails/config/sitemap.rb
orats-0.9.5 lib/orats/templates/includes/new/rails/config/sitemap.rb
orats-0.9.4 lib/orats/templates/includes/new/rails/config/sitemap.rb
orats-0.9.3 lib/orats/templates/includes/new/rails/config/sitemap.rb
orats-0.9.2 lib/orats/templates/includes/new/rails/config/sitemap.rb
orats-0.9.1 lib/orats/templates/includes/new/rails/config/sitemap.rb
orats-0.9.0 lib/orats/templates/includes/new/rails/config/sitemap.rb
orats-0.8.1 lib/orats/templates/includes/new/rails/config/sitemap.rb
orats-0.8.0 lib/orats/templates/includes/new/rails/config/sitemap.rb
orats-0.7.3 lib/orats/templates/includes/new/rails/config/sitemap.rb
orats-0.7.2 lib/orats/templates/includes/new/rails/config/sitemap.rb
orats-0.7.1 lib/orats/templates/includes/new/rails/config/sitemap.rb
orats-0.7.0 lib/orats/templates/includes/new/rails/config/sitemap.rb