today_ai_weather/app/helpers
songtianlun 07afbda252
Some checks failed
Docker Dev / docker (push) Has been cancelled
CI / scan_ruby (push) Has been cancelled
CI / lint (push) Has been cancelled
CI / test (push) Has been cancelled
Docker Main / docker (push) Has been cancelled
feat: add default canonical URL handling
- Introduce a new before_action to set the default canonical URL
- Implement set_canonical_url method to manage canonical URLs
- Update application helper to use the canonical URL for meta tags

This change enhances SEO by ensuring that the canonical URL is set
correctly for each page, preventing duplicate content issues. The
canonical URL is derived from the original request URL, excluding
query parameters.
2025-04-23 20:45:49 +08:00
..
application_helper.rb feat: add default canonical URL handling 2025-04-23 20:45:49 +08:00
arts_helper.rb feat: add pagination to weather arts gallery 2025-01-23 14:10:13 +08:00
cities_helper.rb feat: add friendly_id for cities and weather arts 2025-01-19 12:21:00 +08:00
home_helper.rb feat: add friendly_id for cities and weather arts 2025-01-19 12:21:00 +08:00
rss_helper.rb feat: add RSS feed functionality 2025-02-19 17:38:49 +08:00
sitemaps_helper.rb feat: add sitemap management feature 2025-02-24 17:28:21 +08:00
tag_helper.rb fix: improve tag formatting functionality 2025-03-05 16:43:14 +08:00
weather_arts_helper.rb feat: add weather icons and update city view 2025-01-24 10:01:43 +08:00