Fix.
This commit is contained in:
parent
b7ad5c9f18
commit
f82efbbaa2
2 changed files with 2 additions and 1 deletions
|
@ -171,7 +171,7 @@ class Node:
|
||||||
nodes.append(n)
|
nodes.append(n)
|
||||||
return nodes
|
return nodes
|
||||||
|
|
||||||
|
@cachetools.func.ttl_cache(maxsize=10, ttl=60)
|
||||||
def back_links(self):
|
def back_links(self):
|
||||||
return sorted([x.wikilink for x in nodes_by_outlink(self.wikilink)])
|
return sorted([x.wikilink for x in nodes_by_outlink(self.wikilink)])
|
||||||
|
|
||||||
|
|
|
@ -54,6 +54,7 @@ Try listing all <a href="/nodes">nodes</a> or perhaps <a href="/search">search</
|
||||||
<span class="subnode-id"><strong>Subnode</strong> <a href="/@{{subnode.user}}/{{node.uri}}">[[{{node.uri}}@{{subnode.user}}]]</a></span>
|
<span class="subnode-id"><strong>Subnode</strong> <a href="/@{{subnode.user}}/{{node.uri}}">[[{{node.uri}}@{{subnode.user}}]]</a></span>
|
||||||
<span class="subnode-links">by <a href="/@{{subnode.user}}">@{{subnode.user}}</a></span>
|
<span class="subnode-links">by <a href="/@{{subnode.user}}">@{{subnode.user}}</a></span>
|
||||||
</div>
|
</div>
|
||||||
|
<br />
|
||||||
{{ subnode.render()|linkify|safe }}
|
{{ subnode.render()|linkify|safe }}
|
||||||
</div>
|
</div>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue