Split Node body in several paragraph elements
This commit is contained in:
parent
d9f92b9b46
commit
ebe0f5cfc0
1 changed files with 3 additions and 1 deletions
|
|
@ -6,7 +6,9 @@
|
||||||
<section>
|
<section>
|
||||||
<h1>{{ title }}</h1>
|
<h1>{{ title }}</h1>
|
||||||
<code style="display: inline;">ID: {{ id }}</code>
|
<code style="display: inline;">ID: {{ id }}</code>
|
||||||
<p>{{ body }}</p>
|
{% for line in body | split(pat="\n") %}
|
||||||
|
{% if line %} <p>{{ line }}</p> {% endif %}
|
||||||
|
{% endfor %}
|
||||||
</section>
|
</section>
|
||||||
{% if connections or incoming %}
|
{% if connections or incoming %}
|
||||||
<aside>
|
<aside>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue