diff options
-rw-r--r-- | license.mdwn | 1 | ||||
-rw-r--r-- | templates/page.tmpl | 107 |
2 files changed, 52 insertions, 56 deletions
diff --git a/license.mdwn b/license.mdwn deleted file mode 100644 index c5995b31..00000000 --- a/license.mdwn +++ /dev/null @@ -1 +0,0 @@ -[Creative Commons Attribution 3.0](https://creativecommons.org/licenses/by/3.0/) diff --git a/templates/page.tmpl b/templates/page.tmpl index 6b2dcbd1..9127c312 100644 --- a/templates/page.tmpl +++ b/templates/page.tmpl @@ -168,64 +168,61 @@ </div><!-- id="pagebody" --> <!-- END pagebody --> <!-- START footer --> - <TMPL_IF HTML5><footer id="footer" class="pagefooter"><TMPL_ELSE><div id="footer" class="pagefooter"></TMPL_IF> - <TMPL_UNLESS DYNAMIC> - <TMPL_IF HTML5><nav id="pageinfo"><TMPL_ELSE><div id="pageinfo"></TMPL_IF> - - <TMPL_VAR TRAILS> - - <TMPL_IF TAGS> - <TMPL_IF HTML5><nav class="tags"><TMPL_ELSE><div class="tags"></TMPL_IF> - Tags: - <TMPL_LOOP TAGS> - <TMPL_VAR LINK> - </TMPL_LOOP> - <TMPL_IF HTML5></nav><TMPL_ELSE></div></TMPL_IF> - </TMPL_IF> - - <TMPL_IF BACKLINKS> - <TMPL_IF HTML5><nav id="backlinks"><TMPL_ELSE><div id="backlinks"></TMPL_IF> - Links: - <TMPL_LOOP BACKLINKS> - <a href="<TMPL_VAR URL>"><TMPL_VAR PAGE></a> - </TMPL_LOOP> - <TMPL_IF MORE_BACKLINKS> - <span class="popup">... - <span class="balloon"> - <TMPL_LOOP MORE_BACKLINKS> - <a href="<TMPL_VAR URL>"><TMPL_VAR PAGE></a> - </TMPL_LOOP> - </span> - </span> - </TMPL_IF> - <TMPL_IF HTML5></nav><TMPL_ELSE></div></TMPL_IF><!-- id="backlinks" --> - </TMPL_IF> - - <TMPL_IF COPYRIGHT> - <div class="pagecopyright"> - <a name="pagecopyright"></a><TMPL_VAR COPYRIGHT> - </div> - </TMPL_IF> - - <TMPL_IF LICENSE> - <div class="pagelicense"> - <a name="pagelicense"></a> - License: <TMPL_VAR LICENSE> - </div> + <TMPL_UNLESS DYNAMIC> + <nav class="navbar navbar-default" role="navigation"> + <TMPL_IF TAGS> + <div class="navbar-header"> + <p class="navbar-text">Tags:</p> + </div> + <ul class="nav navbar-nav"> + <TMPL_LOOP TAGS> + <li><TMPL_VAR LINK></li> + </TMPL_LOOP> + </ul> + </TMPL_IF> + <TMPL_IF BACKLINKS> + <div class="navbar-header"> + <p class="navbar-text">Links:</p> + </div> + <ul class="nav navbar-nav"> + <TMPL_LOOP BACKLINKS> + <li><a href="<TMPL_VAR URL>"><TMPL_VAR PAGE></a></li> + </TMPL_LOOP> + <TMPL_IF MORE_BACKLINKS> + <li class="dropdown"> + <a href="#" class="dropdown-toggle" data-toggle="dropdown">…</a> + <ul class="dropdown-menu" role="menu"> + <TMPL_LOOP MORE_BACKLINKS> + <li><a href="<TMPL_VAR URL>"><TMPL_VAR PAGE></a></li> + </TMPL_LOOP> + </ul> + </li> </TMPL_IF> + </ul> + </TMPL_IF> + <TMPL_VAR TRAILS> + </nav> - <div class="pagedate"> - Last edited <TMPL_VAR MTIME> - <!-- Created <TMPL_VAR CTIME> --> - </div> - - <TMPL_IF HTML5></nav><TMPL_ELSE></div></TMPL_IF><!-- id="pageinfo" --> - <TMPL_IF EXTRAFOOTER> - <TMPL_VAR EXTRAFOOTER> + <div class="center-block"> + <ul class="list-inline"> + <TMPL_IF COPYRIGHT> + <li><a name="pagecopyright"></a><TMPL_VAR COPYRIGHT></li> </TMPL_IF> - </TMPL_UNLESS> - <!-- from <TMPL_VAR WIKINAME> --> - <TMPL_IF HTML5></footer><TMPL_ELSE></div></TMPL_IF><!-- id="footer" --> + <TMPL_IF LICENSE> + <li><a name="pagelicense"></a>License: <TMPL_VAR LICENSE></li> + <TMPL_ELSE> + <li><a name="pagelicense"></a>License: <a href="https://creativecommons.org/licenses/by/3.0/">Creative Commons Attribution 3.0</a></li> + </TMPL_IF> + <li>Last edited <TMPL_VAR MTIME></li> + <!-- Created <TMPL_VAR CTIME> --> + </ul> + </div> + + <TMPL_IF EXTRAFOOTER> + <TMPL_VAR EXTRAFOOTER> + </TMPL_IF> + </TMPL_UNLESS> + <!-- from <TMPL_VAR WIKINAME> --> <!-- END footer --> <TMPL_IF HTML5></article><TMPL_ELSE></div></TMPL_IF><!-- class="page" --> |