aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Wallabag/CoreBundle/Resources
diff options
context:
space:
mode:
authorNicolas LÅ“uillet <nicolas@loeuillet.org>2016-10-07 15:21:31 +0200
committerNicolas LÅ“uillet <nicolas@loeuillet.org>2016-10-07 15:21:31 +0200
commitd5c45d5288f035ef36484b007cd6cc246fa65e19 (patch)
tree7c8c75b656f431440b15f345f614a821a53d152b /src/Wallabag/CoreBundle/Resources
parent21d82c3c5d211ee3e30cf71d2de3ebac0d63da54 (diff)
downloadwallabag-d5c45d5288f035ef36484b007cd6cc246fa65e19.tar.gz
wallabag-d5c45d5288f035ef36484b007cd6cc246fa65e19.tar.zst
wallabag-d5c45d5288f035ef36484b007cd6cc246fa65e19.zip
Added default picture if preview picture is null
Diffstat (limited to 'src/Wallabag/CoreBundle/Resources')
-rw-r--r--src/Wallabag/CoreBundle/Resources/views/themes/common/Entry/share.html.twig2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Wallabag/CoreBundle/Resources/views/themes/common/Entry/share.html.twig b/src/Wallabag/CoreBundle/Resources/views/themes/common/Entry/share.html.twig
index 36c49e04..a0a0d3c3 100644
--- a/src/Wallabag/CoreBundle/Resources/views/themes/common/Entry/share.html.twig
+++ b/src/Wallabag/CoreBundle/Resources/views/themes/common/Entry/share.html.twig
@@ -32,6 +32,8 @@
32 <meta property="og:url" content="{{ app.request.uri }}" /> 32 <meta property="og:url" content="{{ app.request.uri }}" />
33 {% if entry.previewPicture is not null %} 33 {% if entry.previewPicture is not null %}
34 <meta property="og:image" content="{{ entry.previewPicture }}" /> 34 <meta property="og:image" content="{{ entry.previewPicture }}" />
35 {% else %}
36 <meta property="og:image" content="{{ app.request.schemeAndHttpHost }}{{ asset('bundles/wallabagcore/themes/_global/img/logo-other_themes.png') }}" />
35 {% endif %} 37 {% endif %}
36 </head> 38 </head>
37 <body> 39 <body>