3 <title>{{ entry.title|e|raw }}</title>
4 <meta property="og:title" content="{{ entry.title|e|raw }}" />
5 <meta property="og:type" content="article" />
6 <meta property="og:url" content="{{ app.request.uri }}" />
7 {% set picturePath = app.request.schemeAndHttpHost ~ asset('bundles/wallabagcore/themes/_global/img/logo-other_themes.png') %}
8 {% if entry.previewPicture is not null %}
9 {% set picturePath = entry.previewPicture %}
11 <meta property="og:image" content="{{ picturePath }}" />
12 <meta name="twitter:card" content="summary" />
13 <meta name="twitter:image" content="{{ picturePath }}" />
14 <meta name="twitter:site" content="@wallabagapp" />
15 <meta name="twitter:title" content="{{ entry.title|e|raw }}" />
16 <meta name="twitter:description" content="{{ entry.content|striptags|slice(0, 300)|raw }}…" />
18 <script src="{{ asset('bundles/wallabagcore/public.dev.js') }}"></script>
20 <link rel="stylesheet" href="{{ asset('bundles/wallabagcore/public.css') }}">
26 <h1>{{ entry.title|e|raw }}</h1>
27 <div><a href="{{ entry.url|e }}" target="_blank" title="{{ 'entry.view.original_article'|trans }} : {{ entry.title|e|raw }}" class="tool">{{ entry.domainName|removeWww }}</a></div>
28 <div>{{ "entry.public.shared_by_wallabag"|trans({'%wallabag_instance%': url('homepage'), '%username%': entry.user.username})|raw }}.</div>
30 {% if entry.previewPicture is not null %}
31 <div><img class="preview" src="{{ entry.previewPicture }}" alt="{{ entry.title|striptags|e('html_attr') }}" /></div>
35 {{ entry.content | raw }}