2017-12-02 18:43:32 +01:00
|
|
|
<!DOCTYPE html>
|
2016-04-10 17:33:15 +02:00
|
|
|
<html>
|
|
|
|
<head>
|
2017-12-02 18:43:32 +01:00
|
|
|
<meta charset="utf-8">
|
2017-01-17 10:09:04 +01:00
|
|
|
<title>{{ entry.title|e|raw }}</title>
|
2017-12-02 18:43:32 +01:00
|
|
|
<meta name="viewport" content="initial-scale=1.0">
|
2017-01-17 10:09:04 +01:00
|
|
|
<meta property="og:title" content="{{ entry.title|e|raw }}" />
|
2016-10-07 09:05:18 +02:00
|
|
|
<meta property="og:type" content="article" />
|
|
|
|
<meta property="og:url" content="{{ app.request.uri }}" />
|
2022-05-03 23:28:20 +02:00
|
|
|
{% set picture_path = app.request.schemeAndHttpHost ~ asset('img/logo-wallabag.svg') %}
|
2016-10-07 09:05:18 +02:00
|
|
|
{% if entry.previewPicture is not null %}
|
2022-05-03 23:28:20 +02:00
|
|
|
{% set picture_path = entry.previewPicture %}
|
2016-10-07 09:05:18 +02:00
|
|
|
{% endif %}
|
2022-05-03 23:28:20 +02:00
|
|
|
<meta property="og:image" content="{{ picture_path }}" />
|
2016-10-10 14:29:11 +02:00
|
|
|
<meta name="twitter:card" content="summary" />
|
2022-05-03 23:28:20 +02:00
|
|
|
<meta name="twitter:image" content="{{ picture_path }}" />
|
2016-10-10 14:29:11 +02:00
|
|
|
<meta name="twitter:site" content="@wallabagapp" />
|
2017-01-17 10:09:04 +01:00
|
|
|
<meta name="twitter:title" content="{{ entry.title|e|raw }}" />
|
2016-10-21 10:51:20 +02:00
|
|
|
<meta name="twitter:description" content="{{ entry.content|striptags|slice(0, 300)|raw }}…" />
|
2017-06-22 14:55:49 +02:00
|
|
|
{% if app.debug %}
|
2017-10-24 00:15:52 +02:00
|
|
|
<script src="{{ asset('wallassets/public.dev.js') }}"></script>
|
2017-06-22 14:55:49 +02:00
|
|
|
{% else %}
|
2017-10-24 00:15:52 +02:00
|
|
|
<link rel="stylesheet" href="{{ asset('wallassets/public.css') }}">
|
2017-06-22 12:15:24 +02:00
|
|
|
{% endif %}
|
|
|
|
|
2016-04-10 17:33:15 +02:00
|
|
|
</head>
|
|
|
|
<body>
|
2017-12-02 18:43:32 +01:00
|
|
|
<header class="block">
|
2017-01-17 10:09:04 +01:00
|
|
|
<h1>{{ entry.title|e|raw }}</h1>
|
2018-11-07 04:53:48 +01:00
|
|
|
<a href="{{ entry.url|e }}" target="_blank" rel="noopener" title="{{ 'entry.view.original_article'|trans }} : {{ entry.title|e|raw }}" class="tool">{{ entry.domainName|removeWww }}</a>
|
2023-02-07 19:58:06 +01:00
|
|
|
<p class="shared-by">{{ "entry.public.shared_by_wallabag"|trans({'%wallabag_instance%': url('homepage'), '%username%': entry.user.username|escape})|raw }}.</p>
|
2016-04-10 17:33:15 +02:00
|
|
|
</header>
|
2017-12-02 18:43:32 +01:00
|
|
|
<article class="block">
|
2022-05-03 23:28:20 +02:00
|
|
|
{{ entry.content|raw }}
|
2016-04-10 17:33:15 +02:00
|
|
|
</article>
|
|
|
|
</body>
|
|
|
|
</html>
|