leilukin-tumbleblog/themes/topaz/feathers/link.twig

16 lines
419 B
Twig

{% extends "content" ~ DIR ~ "post.twig" %}
{% block content %}
<header>
<h2>
<a href="{{ post.source | fix(true) }}" rel="external">{{ post.name }}</a>
</h2>
<h3>
<a href="{{ url('author/' ~ post.author.id) }}">{{ "Written by %s" | translate | format(post.author.name) }}</a>
</h3>
</header>
<section class="description" aria-label="{{ 'Text Content' | translate }}">
{{ post.description }}
</section>
{% endblock %}