git.ithinksw.org
/
philo.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added link generation example, and fixed a typo.
[philo.git]
/
docs
/
tutorials
/
shipherd.rst
diff --git
a/docs/tutorials/shipherd.rst
b/docs/tutorials/shipherd.rst
index
f1205aa
..
363ddd8
100644
(file)
--- a/
docs/tutorials/shipherd.rst
+++ b/
docs/tutorials/shipherd.rst
@@
-27,9
+27,9
@@
All you need to do now is show the navigation in the template! This is quite eas
<ul>
{% recursenavigation node "main" %}
<li{% if navloop.active %} class="active"{% endif %}>
<ul>
{% recursenavigation node "main" %}
<li{% if navloop.active %} class="active"{% endif %}>
- {{ item.text }}
+ <a href="{{ item.get_target_url }}">{{ item.text }}</a>
</li>
</li>
- {% endnavigation %}
+ {% end
recurse
navigation %}
</ul>
{% container page_body as content %}
{% if content %}
</ul>
{% container page_body as content %}
{% if content %}