wrap in details/summary
This commit is contained in:
parent
f8e4ce1d62
commit
a75f5adfc7
1 changed files with 4 additions and 4 deletions
|
@ -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 }}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue