Parent: [54e906] (diff)

Download this file

preview_post.html    17 lines (16 with data), 496 Bytes

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
<div>
<h3><a href="{{value.url()}}">{{value.title}}</a></h3>
<em>Posted {{h.ago(value.timestamp)}}</em>
{% if value.state != 'published' %}
<em>({{value.state}})</em>
{% endif %}
{% if h.has_artifact_access('write', value)() %}
<a href="{{value.url()}}edit">Edit</a>
{% endif %}
<br/>
<strong>Labels:</strong>
{% for l in value.labels %}
<span><a href="{{c.app.url}}search?q=labels_t:{{l}}">{{l}}</a> </span>
{% endfor %}
{{value.html_text_preview|safe}}
</div>