[FIX] website: remove title by default on share snippet

The option to add the label "Share" before the social media icons is
still usable.

Part of https://github.com/odoo/odoo/pull/68823
task-2446852

X-original-commit: c5c601ec18ad415320ccfa9012b9a1c17e080040
This commit is contained in:
Younn Olivier
2021-04-06 17:50:17 +00:00
committed by qsm-odoo
parent e901b29c99
commit 5f6e0866ed
+1 -1
View File
@@ -3,7 +3,7 @@
<template id="s_share" name="Share">
<div t-attf-class="s_share text-left #{_classes}">
<h4 t-if="not _no_title" class="s_share_title">Share</h4>
<h4 t-if="not _no_title" class="s_share_title d-none">Share</h4>
<a t-if="not _exclude_share_links or not 'facebook' in _exclude_share_links" href="https://www.facebook.com/sharer/sharer.php?u={url}" t-attf-class="s_share_facebook #{_link_classes}" target="_blank">
<i t-attf-class="fa fa-facebook #{not _link_classes and 'rounded shadow-sm'}"/>
</a>