Skip to content

Commit

Permalink
mod_facebook: use abs urls in head
Browse files Browse the repository at this point in the history
  • Loading branch information
mworrell committed Jul 7, 2022
1 parent 64a42f0 commit c0a8010
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions modules/mod_facebook/templates/_html_head_facebook.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
{% if id %}
<meta property="og:title" content="{{ id.title }}"/>
<meta property="og:description" content="{{ id|summary:160 }}"/>
<meta property="og:url" content="http://{{ m.site.hostname }}{{ id.page_url }}"/>
<meta property="og:url" content="{{ id.page_url_abs }}"/>
{% if id.depiction %}
<meta property="og:image" content="http://{{ m.site.hostname }}{% image_url id.depiction mediaclass="facebook-og" %}"/>
<meta property="og:image" content="{% image_url id.depiction mediaclass="facebook-og" use_absolute_url %}"/>
{% endif %}
{% endif %}

0 comments on commit c0a8010

Please sign in to comment.