Changes to node and subnode rendering.

This commit is contained in:
Flancian 2020-11-14 22:00:08 +01:00
parent fe162d0db8
commit 8b71483490
2 changed files with 3 additions and 3 deletions

View file

@ -25,7 +25,7 @@ Go back to <a href="/nodes">/nodes</a>?
{% endif %}
{% for subnode in subnodes %}
{{ subnode.uri }}: <a href="{{subnode.url}}">{{subnode.wikilink}}</a><br />
From <a href="/@{{subnode.user}}">@{{subnode.user}}</a>: <a href="{{subnode.url}}">{{subnode.uri}}</a><br />
{{ subnode.content|markdown|linkify|safe }}
<hr />
{% endfor %}

View file

@ -19,10 +19,10 @@
{% if not subnode %}
No subnode found matching '{{subnode}}'.
<br /><br />
Go back to <a href="/nodes">/nodes</a>?
Go back to <a href="/nodes">/nodes</a>, <a href="/subnodes">/nodes</a>?
{% endif %}
{{ subnode.uri }}: <a href="{{subnode.url}}">{{subnode.wikilink}}</a><br />
Subnode: <a href="/@{{subnode.user}}">@{{subnode.user}}</a> on {{subnode.wikilink}}: <a href="{{subnode.url}}">(self)</a> <a href="/node/{{subnode.wikilink}}">(go to node)</a><br />
{{ subnode.content|markdown|linkify|safe }}
<hr />