Skip to content
Snippets Groups Projects
Commit 99dc1fce authored by Robert Speicher's avatar Robert Speicher
Browse files

Use `request.fullpath` for `og:url` tag

parent c6d25083
No related branches found
No related tags found
1 merge request!2192Add Open Graph meta tags
Loading
@@ -11,7 +11,7 @@
Loading
@@ -11,7 +11,7 @@
%meta{property: 'og:title', content: page_title} %meta{property: 'og:title', content: page_title}
%meta{property: 'og:description', content: page_description} %meta{property: 'og:description', content: page_description}
%meta{property: 'og:image', content: page_image} %meta{property: 'og:image', content: page_image}
%meta{property: 'og:url', content: url_for(only_path: false)} %meta{property: 'og:url', content: request.base_url + request.fullpath}
   
%title= page_title %title= page_title
   
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment