Some small fixes to backlink rendering.
This commit is contained in:
parent
b9ed7296f6
commit
9ac4c34ba2
2 changed files with 4 additions and 8 deletions
|
@ -32,9 +32,9 @@ Go back to <a href="/nodes">/nodes</a>?
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
|
||||||
<div class="backlinks">
|
<div class="backlinks">
|
||||||
<span class="backlinks-header">Backlinks (subnodes linking to {{wikilink}})</span><br />
|
<span class="backlinks-header">Backlinks (subnodes linking to <a href="/node/{{wikilink}}">[[{{wikilink}}]]</a>)</span><br />
|
||||||
{% for subnode in backlinks %}
|
{% for subnode in backlinks %}
|
||||||
{{ subnode.uri }}: <a href="{{subnode.url}}">{{subnode.wikilink}}</a><br />
|
<a href="{{subnode.url}}">{{subnode.wikilink}}</a> by <a href="/@{{subnode.user}}">@{{subnode.user}}</a><br />
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
|
@ -23,15 +23,11 @@ Go back to <a href="/nodes">/nodes</a>, <a href="/subnodes">/nodes</a>?
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
<div class="subnode">
|
<div class="subnode">
|
||||||
<span class="subnode-header">Subnode by <a href="/@{{subnode.user}}">@{{subnode.user}}</a> in node <a href="/node/{{subnode.wikilink}}">{{subnode.wikilink}}</a></span><br />
|
<span class="subnode-header">Subnode by <a href="/@{{subnode.user}}">@{{subnode.user}}</a> in node <a href="/node/{{subnode.wikilink}}">[[{{subnode.wikilink}}]]</a></span><br />
|
||||||
{{ subnode.content|markdown|linkify|safe }}
|
{{ subnode.content|markdown|linkify|safe }}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="backlinks">
|
<div class="backlinks">
|
||||||
<span class="backlinks-header">Backlinks (subnodes linking to {{subnode.wikilink}})</span>
|
<span class="backlinks-header">To see backlinks, go up to node <a href="/node/{{subnode.wikilink}}">[[{{subnode.wikilink}}]]</a>.</span>
|
||||||
{% for subnode in backlinks %}
|
|
||||||
{{ subnode.uri }}: <a href="{{subnode.url}}">{{subnode.wikilink}}</a><br />
|
|
||||||
{% endfor %}
|
|
||||||
</div>
|
|
||||||
|
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
Loading…
Reference in a new issue