wrap in details/summary

This commit is contained in:
Kevin Marks 2016-06-22 04:39:25 +00:00
parent f8e4ce1d62
commit a75f5adfc7

View file

@ -1,6 +1,6 @@
{% for context in entry.reply_context %} {% for context in entry.reply_context %}
<article class="reply-context"> <article class="reply-context">
<header> <details><summary><header>
{% if context.author_photo %} {% if context.author_photo %}
<img src="{{context.author_photo|proxy_image}}"/> <img src="{{context.author_photo|proxy_image}}"/>
{% endif %} {% endif %}
@ -8,16 +8,16 @@
{{ context.author_name }} - {{ context.author_name }} -
{% endif %} {% endif %}
{{ context.permalink | domain_for_url }} {{ context.permalink | domain_for_url }}
</header> </header></summary>
{% if context.title %} {% if context.title %}
<h1>{{ context.title }}</h1> <h1>{{ context.title|e }}</h1>
{% endif %} {% endif %}
{% if context.content %} {% if context.content %}
<div class="content"> <div class="content">
{{ context.content_cleaned | proxy_all | add_preview }} {{ context.content_cleaned | proxy_all | add_preview }}
</div> </div>
{% endif %} {% endif %}
<footer> </details><footer>
<a class="permalink" href="{{ context.permalink }}"> <a class="permalink" href="{{ context.permalink }}">
<time datetime="{{ context.published | isoformat }}"> <time datetime="{{ context.published | isoformat }}">
{{ context.published | relative_time }} {{ context.published | relative_time }}