songtianlun
a0516f731c
- Introduced `SeoConcern` module to handle SEO meta tags - Integrated `meta-tags` gem for customizable meta tags - Created `RefreshSitemapWorker` to automate sitemap updates - Added relevant meta tags in controllers for weather art and cities - Configured sitemap generation settings These changes improve the SEO of the application by ensuring that pages have appropriate meta tags. Additionally, a sitemap is now generated and refreshed daily, enhancing site visibility to search engines.
13 lines
295 B
YAML
13 lines
295 B
YAML
batch_generate_weather:
|
|
cron: '0 */1 * * *'
|
|
class: BatchGenerateWeatherArtsWorker
|
|
description: "Generate weather arts every 2 hours"
|
|
enabled: true
|
|
|
|
refresh_sitemap:
|
|
cron: '0 5 * * *'
|
|
class: RefreshSitemapWorker
|
|
queue: default
|
|
description: "Refresh sitemap daily"
|
|
enabled: true
|