mirror of
https://github.com/flancian/garden.git
synced 2026-08-08 15:36:19 +00:00
Fix 500 in some subnode paths.
This commit is contained in:
@@ -17,6 +17,7 @@
|
|||||||
{% extends "base.html" %}
|
{% extends "base.html" %}
|
||||||
{% block content %}
|
{% block content %}
|
||||||
|
|
||||||
|
{% if node %}
|
||||||
{% if not subnode and not node.subnodes %}
|
{% if not subnode and not node.subnodes %}
|
||||||
<div class="not-found">
|
<div class="not-found">
|
||||||
No subnodes matching your query.
|
No subnodes matching your query.
|
||||||
@@ -24,6 +25,7 @@ No subnodes matching your query.
|
|||||||
Try going up to node <a href="/node/{{node.uri}}">[[{{node.uri}}]]</a> or perhaps <a href="/search">search</a>.
|
Try going up to node <a href="/node/{{node.uri}}">[[{{node.uri}}]]</a> or perhaps <a href="/search">search</a>.
|
||||||
</div>
|
</div>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
<!-- the new subnode route uses this, actually receiving a node whose subnodes are partial -->
|
<!-- the new subnode route uses this, actually receiving a node whose subnodes are partial -->
|
||||||
{% if node %}
|
{% if node %}
|
||||||
|
|||||||
Reference in New Issue
Block a user