We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 93ab320 commit a1a3ddbCopy full SHA for a1a3ddb
app/helpers/application_helper.rb
@@ -20,6 +20,7 @@ def seo_meta_tags
20
set_meta_tags twitter: {
21
site: "@joyofrails"
22
}
23
+ set_meta_tags canonical: url_for(only_path: false, overwrite_params: nil) unless meta_tags[:canonical]
24
display_meta_tags \
25
site: Rails.configuration.x.application_name,
26
description: "Interactive tutorials on Ruby, Ruby on Rails, Stimulus, " \
0 commit comments