Sito marketing, SEO, legal, live programmata e branding Match Live Tv.
Logo e favicon nel header, partite programmate su web e mobile, reset password, pagine FAQ/sitemap, privacy/termini GDPR e icona Android «Match Live Tv». Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
21
backend/app/controllers/public/sitemap_controller.rb
Normal file
21
backend/app/controllers/public/sitemap_controller.rb
Normal file
@@ -0,0 +1,21 @@
|
||||
module Public
|
||||
class SitemapController < ActionController::Base
|
||||
def show
|
||||
base = MatchLiveTv.app_public_url.chomp("/")
|
||||
@entries = [
|
||||
{ loc: "#{base}/", changefreq: "weekly", priority: "1.0" },
|
||||
{ loc: "#{base}/funzionalita", changefreq: "monthly", priority: "0.9" },
|
||||
{ loc: "#{base}/prezzi", changefreq: "monthly", priority: "0.9" },
|
||||
{ loc: "#{base}/pallavolo-giovanile", changefreq: "monthly", priority: "0.85" },
|
||||
{ loc: "#{base}/faq", changefreq: "monthly", priority: "0.8" },
|
||||
{ loc: "#{base}/live", changefreq: "hourly", priority: "0.85" },
|
||||
{ loc: "#{base}/privacy", changefreq: "yearly", priority: "0.3" },
|
||||
{ loc: "#{base}/termini", changefreq: "yearly", priority: "0.3" }
|
||||
]
|
||||
|
||||
respond_to do |format|
|
||||
format.xml { render layout: false }
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user