1
0
mirror of https://github.com/moparisthebest/wallabag synced 2024-11-15 21:55:09 -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 %}