1
0
mirror of https://github.com/moparisthebest/wallabag synced 2024-11-27 19:32:18 -05:00
wallabag/app/views/view.twig
2014-01-08 10:57:21 +01:00

16 lines
346 B
Twig

{% extends layout %}
{% block content %}
{% if entry is empty %}
<div class="messages warning"><p>{{ 'No link available here!'|trans }}</p></div>
{% else %}
<h1>{{ entry.title }}</h1>
<div><a href="{{ entry.url }}">{{ 'view original'|trans }}</a></div>
<article>{{ entry.content|striptags }}</article>
{% endif %}
{% endblock %}