{% set picture_path = app.request.schemeAndHttpHost ~ asset('img/logo-wallabag.svg') %} {% if entry.previewPicture is not null %} {% set picture_path = entry.previewPicture %} {% endif %} {% if app.debug %} {% else %} {% endif %}
{{ "entry.public.shared_by_wallabag"|trans({'%wallabag_instance%': url('homepage'), '%username%': entry.user.username|escape})|raw }}.