projects
/
libreriscv.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
887cbef
)
add parent pages into menu
author
Luke Kenneth Casson Leighton
<lkcl@lkcl.net>
Sat, 8 Feb 2020 17:47:21 +0000
(17:47 +0000)
committer
Luke Kenneth Casson Leighton
<lkcl@lkcl.net>
Sat, 8 Feb 2020 17:47:21 +0000
(17:47 +0000)
templates/page.tmpl
patch
|
blob
|
history
diff --git
a/templates/page.tmpl
b/templates/page.tmpl
index 0ca24347f8085f35eab82123a57dc5ec69cfb4c3..e79727ed784373c71d34c1099859dbb4c8710af7 100644
(file)
--- a/
templates/page.tmpl
+++ b/
templates/page.tmpl
@@
-51,8
+51,11
@@
</TMPL_IF>
</TMPL_LOOP>
-<li><a href="/" class="active" >Home</a></li>
-<li><a href="/about_us" class="active" >About Us</a></li>
+<TMPL_LOOP PARENTLINKS>
+<li><a href="<TMPL_VAR URL>" class="active"><TMPL_VAR PAGE></a></li>
+</TMPL_LOOP>
+<li><a href="/sitemap/" class="active" >Site map</a></li>
+<li><a href="/about_us/" class="active" >About Us</a></li>
<TMPL_IF EDITURL>
<li><a href="<TMPL_VAR EDITURL>" class="active" rel="nofollow">Edit</a></li>
</TMPL_IF>