Skip to content

Commit

Permalink
Use raw path for og data url (#646)
Browse files Browse the repository at this point in the history
  • Loading branch information
rl-king authored and DorienD committed Dec 11, 2019
1 parent 58a082e commit 4ffe305
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/mod_ginger_spa/templates/page.tpl
Expand Up @@ -37,7 +37,7 @@
<meta property="og:site_name" content="{{ m.config.site.title.value }}"/>
{% endif %}

<meta property="og:url" content="https://{{ m.site.hostname }}{{ id.default_page_url }}"/>
<meta property="og:url" content="https://{{ m.site.hostname }}{{ m.req.raw_path }}"/>
<meta property="og:title" content="{{ id.title }}" />
<meta property="og:description" content="{{ id.id|summary:160 }}"/>
<meta property="og:image:width" content="450" />
Expand Down

0 comments on commit 4ffe305

Please sign in to comment.