a few more minor template indentation changes
This commit is contained in:
parent
1cf6ec52a1
commit
1d80f0a24e
|
@ -4,7 +4,13 @@
|
||||||
{% for post in posts -%}
|
{% for post in posts -%}
|
||||||
<li{% if selected_post and post.key == selected_post %} class="selected"{% endif %}>
|
<li{% if selected_post and post.key == selected_post %} class="selected"{% endif %}>
|
||||||
<a class="flex-container"{% if not post.read %} style="font-weight: bold;"{% endif %} href="/posts/{{ selected_peer | urlencode_strict }}/{{ post.key | urlencode_strict }}">
|
<a class="flex-container"{% if not post.read %} style="font-weight: bold;"{% endif %} href="/posts/{{ selected_peer | urlencode_strict }}/{{ post.key | urlencode_strict }}">
|
||||||
<code>{% if post.subject %}{{ post.subject | trim_start_matches(pat='"') }}...{% else %}{{ post.text | trim_start_matches(pat='"') | trim_end_matches(pat='"') }}{% endif %}</code>
|
<code>
|
||||||
|
{% if post.subject %}
|
||||||
|
{{ post.subject | trim_start_matches(pat='"') }}...
|
||||||
|
{% else %}
|
||||||
|
{{ post.text | trim_start_matches(pat='"') | trim_end_matches(pat='"') }}
|
||||||
|
{% endif %}
|
||||||
|
</code>
|
||||||
<p>{{ post.date }}</p>
|
<p>{{ post.date }}</p>
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
|
|
Loading…
Reference in New Issue