add edit option
authorLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Sun, 2 Feb 2020 13:07:35 +0000 (13:07 +0000)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Sun, 2 Feb 2020 13:07:35 +0000 (13:07 +0000)
templates/page.tmpl

index ca9e0ccc5673ff469e34f2fd81a6f96c32b49ea0..6b07122eca18daa64ac317285468ed3f280701a3 100644 (file)
                     <li <TMPL_IF ACTIVE>class="active"</TMPL_IF>><a href="<TMPL_VAR URL>"><TMPL_VAR PAGE></a></li>
                 </TMPL_IF>
             </TMPL_LOOP>
+<TMPL_IF EDITURL>
+<li><a href="<TMPL_VAR EDITURL>" rel="nofollow">Edit</a></li>
+</TMPL_IF>
+
           </ul>
         </div>
       </div>