diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2015-06-20 10:51:10 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2015-06-20 10:51:10 -0300 |
commit | dcb4dbfe0fdcbd8ae394b3e50f65a05c21b7ebf9 (patch) | |
tree | 294d4976ea39dc0b68aedc366101716482d27b0e /templates | |
parent | 41377d9b2da55f455a67cecc4a6e7c48e0417580 (diff) | |
download | bootless-dcb4dbfe0fdcbd8ae394b3e50f65a05c21b7ebf9.tar.gz bootless-dcb4dbfe0fdcbd8ae394b3e50f65a05c21b7ebf9.tar.bz2 |
Support for static site generation
Diffstat (limited to 'templates')
-rw-r--r-- | templates/page.tmpl | 113 |
1 files changed, 6 insertions, 107 deletions
diff --git a/templates/page.tmpl b/templates/page.tmpl index 1fdd539..aa292c4 100644 --- a/templates/page.tmpl +++ b/templates/page.tmpl @@ -1,7 +1,6 @@ <TMPL_IF HTML5><!DOCTYPE html> <html> -<TMPL_ELSE><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" - "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> +<TMPL_ELSE><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> </TMPL_IF> <head> @@ -29,7 +28,7 @@ <TMPL_IF FEEDLINKS><TMPL_VAR FEEDLINKS></TMPL_IF> <TMPL_IF RELVCS><TMPL_VAR RELVCS></TMPL_IF> <TMPL_IF META><TMPL_VAR META></TMPL_IF> -<style> +<style type="text/css"> @media (max-width: 979px) { .navbar-fixed-top { position: fixed; @@ -41,108 +40,8 @@ </head> <body style="padding-top: 60px; padding-bottom: 60px;"> -<script src="<TMPL_VAR BASEURL>/js/jquery.min.js" type="text/javascript"></script> -<script src="<TMPL_VAR BASEURL>bootstrap/js/bootstrap.min.js" type="text/javascript"></script> - -<!-- -<div class="navbar navbar-inverse navbar-fixed-top"> - <div class="navbar-inner"> - <div class="container"> - - <TMPL_IF HAVE_ACTIONS> - - <TMPL_IF OTHERLANGUAGES> - <TMPL_IF HTML5><nav id="otherlanguages"><TMPL_ELSE><div id="otherlanguages"></TMPL_IF> - <ul class="nav"> - <TMPL_LOOP OTHERLANGUAGES> - <li> - <a href="<TMPL_VAR URL>"><TMPL_VAR LANGUAGE></a> - <TMPL_IF MASTER> - (master) - <TMPL_ELSE> - (<TMPL_VAR PERCENT>%) - </TMPL_IF> - </li> - </TMPL_LOOP> - </ul> - <TMPL_IF HTML5></nav><TMPL_ELSE></div></TMPL_IF> - </TMPL_IF> - - <TMPL_IF HTML5><nav class="actions"><TMPL_ELSE><div class="actions"></TMPL_IF> - <ul class="nav"> - <TMPL_IF EDITURL> - <li><a href="<TMPL_VAR EDITURL>" rel="nofollow">Edit</a></li> - </TMPL_IF> - <TMPL_IF RECENTCHANGESURL> - <li><a href="<TMPL_VAR RECENTCHANGESURL>">RecentChanges</a></li> - </TMPL_IF> - <TMPL_IF HISTORYURL> - <li><a href="<TMPL_VAR HISTORYURL>">History</a></li> - </TMPL_IF> - <TMPL_IF GETSOURCEURL> - <li><a href="<TMPL_VAR GETSOURCEURL>">Source</a></li> - </TMPL_IF> - <TMPL_IF PREFSURL> - <li><a href="<TMPL_VAR PREFSURL>">Preferences</a></li> - </TMPL_IF> - <TMPL_IF ACTIONS> - <TMPL_LOOP ACTIONS> - <li><TMPL_VAR ACTION></li> - </TMPL_LOOP> - </TMPL_IF> - <TMPL_IF COMMENTSLINK> - <li><TMPL_VAR COMMENTSLINK></li> - <TMPL_ELSE> - <TMPL_IF DISCUSSIONLINK> - <li><TMPL_VAR DISCUSSIONLINK></li> - </TMPL_IF> - </TMPL_IF> - </ul> - <TMPL_IF HTML5></nav><TMPL_ELSE></div></TMPL_IF> - </TMPL_IF> - </div> - </div> -</div> ---> - <div class="container"> - <!-- - <div class="row-fluid"> - <div class="navbar span12"> - <div class="navbar-inner"> - <TMPL_IF HAS_PARENTLINKS> - <TMPL_LOOP PARENTLINKS> - <TMPL_IF NAME="DEPTH_0"> - <a class="brand" href="<TMPL_VAR URL>"><TMPL_VAR PAGE></a> - </TMPL_IF> - </TMPL_LOOP> - <TMPL_ELSE> - <a class="brand" href="<TMPL_VAR BASEURL>"><TMPL_VAR TITLE></a> - </TMPL_IF> - <ul class="nav"> - <li><a href="<TMPL_VAR BASEURL>page">Page Title</a></li> - </ul> - </div> - </div> - </div> - --> - - <!-- - <div class="row-fluid"> - <TMPL_IF HTML5><header class="span12"><TMPL_ELSE><div class="span12"></TMPL_IF> - <h1><TMPL_IF NAME="DEPTH_0"><TMPL_VAR PAGE></TMPL_IF></h1> - - <ul class="breadcrumb"> - <TMPL_LOOP PARENTLINKS> - <li><a href="<TMPL_VAR URL>"><TMPL_VAR PAGE></a> <span class="divider">/</span> </li> - </TMPL_LOOP> - <li><TMPL_VAR TITLE></li> - </ul> - <TMPL_IF HTML5></header><TMPL_ELSE></div></TMPL_IF> - </div> - --> - <TMPL_IF HTML5><article class="page row-fluid"><TMPL_ELSE><div class="page row-fluid"></TMPL_IF> <div> @@ -243,17 +142,17 @@ </TMPL_UNLESS> <!-- from <TMPL_VAR WIKINAME> --> <TMPL_IF HTML5></footer><TMPL_ELSE></div></TMPL_IF> - + </div> - + <div class="span4"> <TMPL_IF SIDEBAR> <TMPL_IF HTML5><aside class="sidebar"><TMPL_ELSE><div class="sidebar"></TMPL_IF> <TMPL_VAR SIDEBAR> <TMPL_IF HTML5></aside><TMPL_ELSE></div></TMPL_IF> - </TMPL_IF> - + </TMPL_IF> + </div> <TMPL_IF HTML5></article><TMPL_ELSE></div></TMPL_IF> |