Skip to content

Commit

Permalink
Merge pull request #41 from mautic/add-sitemaps-39
Browse files Browse the repository at this point in the history
Add sitemaps #39
  • Loading branch information
froger authored Dec 13, 2023
2 parents 677c118 + 696c933 commit fc2cc8c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ gem 'omniauth_openid_connect'
gem "wicked_pdf", "~> 2.1"
gem "dalli", "~> 3.2"

gem 'decidim-sitemaps'

group :development, :test do
gem "byebug", "~> 11.0", platform: :mri

Expand Down
4 changes: 4 additions & 0 deletions config/initializers/sitemap.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Decidim::Sitemaps.configure do |config|
config.users = { enabled: false, changefreq: "daily", priority: 0.5 }
config.proposals = { enabled: true, changefreq: "daily", priority: 0.5, scopes: [:published] }
end

0 comments on commit fc2cc8c

Please sign in to comment.