@@ -12,15 +12,15 @@ def perform
12
12
SitemapGenerator ::Sitemap . adapter = SitemapGenerator ::WaveAdapter . new
13
13
14
14
SitemapGenerator ::Sitemap . create do
15
- add ( 'https://coderwall.com /welcome' , priority : 0.7 , changefreq : 'monthly' )
16
- add ( 'https://coderwall.com /contact_us' , priority : 0.2 , changefreq : 'monthly' )
17
- add ( 'https://coderwall.com /blog' , priority : 0.5 , changefreq : 'weekly' )
18
- add ( 'https://coderwall.com /api' , priority : 0.2 , changefreq : 'monthly' )
19
- add ( 'https://coderwall.com /faq' , priority : 0.2 , changefreq : 'monthly' )
20
- add ( 'https://coderwall.com /privacy_policy' , priority : 0.2 , changefreq : 'monthly' )
21
- add ( 'https://coderwall.com /tos' , priority : 0.2 , changefreq : 'monthly' )
22
- add ( 'https://coderwall.com /jobs' , priority : 0.8 , changefreq : 'daily' )
23
- add ( 'https://coderwall.com /employers' , priority : 0.7 , changefreq : 'monthly' )
15
+ add ( '/welcome' , priority : 0.7 , changefreq : 'monthly' )
16
+ add ( '/contact_us' , priority : 0.2 , changefreq : 'monthly' )
17
+ add ( '/blog' , priority : 0.5 , changefreq : 'weekly' )
18
+ add ( '/api' , priority : 0.2 , changefreq : 'monthly' )
19
+ add ( '/faq' , priority : 0.2 , changefreq : 'monthly' )
20
+ add ( '/privacy_policy' , priority : 0.2 , changefreq : 'monthly' )
21
+ add ( '/tos' , priority : 0.2 , changefreq : 'monthly' )
22
+ add ( '/jobs' , priority : 0.8 , changefreq : 'daily' )
23
+ add ( '/employers' , priority : 0.7 , changefreq : 'monthly' )
24
24
25
25
Protip . find_each ( batch_size : 30 ) do |protip |
26
26
add ( protip_path ( protip ) , lastmod : protip . updated_at , priority : 1.0 )
0 commit comments