File tree Expand file tree Collapse file tree 3 files changed +31
-5
lines changed Expand file tree Collapse file tree 3 files changed +31
-5
lines changed Original file line number Diff line number Diff line change 1+ # This file is generated with `rake sitemap:install`
2+ # See https://github.com/kjvarga/sitemap_generator?tab=readme-ov-file#rake-tasks
3+
4+ # Set the host name for URL creation
5+ SitemapGenerator ::Sitemap . default_host = 'https://codebar.io'
6+
7+ SitemapGenerator ::Sitemap . create do
8+ # Put links creation logic here.
9+ #
10+ # The root path '/' and sitemap index file are added automatically for you.
11+ # Links are added to the Sitemap in the order they are specified.
12+ #
13+ # Usage: add(path, options={})
14+ # (default options are used if you don't specify)
15+ #
16+ # Defaults: :priority => 0.5, :changefreq => 'weekly',
17+ # :lastmod => Time.now, :host => default_host
18+ #
19+ # Examples:
20+ #
21+ # Add '/articles'
22+ #
23+ # add articles_path, :priority => 0.7, :changefreq => 'daily'
24+ #
25+ # Add all articles:
26+ #
27+ # Article.find_each do |article|
28+ # add article_path(article), :lastmod => article.updated_at
29+ # end
30+ end
Original file line number Diff line number Diff line change 1- # See http://www.robotstxt.org/wc/norobots.html for documentation on how to use the robots.txt file
2- #
3- # To ban all spiders from the entire site uncomment the next two lines:
4- # User-agent: *
5- # Disallow: /
1+ Sitemap: https://codebar.io/sitemap.xml.gz
You can’t perform that action at this time.
0 commit comments