1
0
Fork 0
mirror of https://github.com/wallabag/wallabag.git synced 2025-07-17 17:08:37 +00:00

Merge pull request #2389 from wallabag/add-info-publich-articles

Added default picture if preview picture is null
This commit is contained in:
Nicolas Lœuillet 2016-10-07 16:35:32 +02:00 committed by GitHub
commit 20bf78b935
2 changed files with 3 additions and 0 deletions

View file

@ -32,6 +32,8 @@
<meta property="og:url" content="{{ app.request.uri }}" />
{% if entry.previewPicture is not null %}
<meta property="og:image" content="{{ entry.previewPicture }}" />
{% else %}
<meta property="og:image" content="{{ app.request.schemeAndHttpHost }}{{ asset('bundles/wallabagcore/themes/_global/img/logo-other_themes.png') }}" />
{% endif %}
</head>
<body>