a few more minor template indentation changes
This commit is contained in:
parent
1cf6ec52a1
commit
1d80f0a24e
|
@ -1,5 +1,5 @@
|
|||
<div class="content">
|
||||
{% if post %}
|
||||
{% if post %}
|
||||
{{ post.text | trim_start_matches(pat='"') | trim_end_matches(pat='"') | trim }}
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
</div>
|
||||
|
|
|
@ -4,7 +4,13 @@
|
|||
{% for post in posts -%}
|
||||
<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 }}">
|
||||
<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>
|
||||
</a>
|
||||
</li>
|
||||
|
|
Loading…
Reference in New Issue