Use request.fullpath
for og:url
tag
This commit is contained in:
parent
c6d2508362
commit
99dc1fce5e
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue