summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorP. J. McDermott <pehjota>2012-12-04 16:38:54 (EST)
committer P. J. McDermott <pjm@nac.net>2012-12-04 16:38:54 (EST)
commit6fbdce9ebb4f97bd764e971c94435b40c55ba43d (patch)
tree8b3d116544adad09cc309c4d06a09459ba3dbbdc
parent224f1f065bf46be003c082206b2becdf695fc438 (diff)
Update page template.
-rw-r--r--templates/page.tmpl148
1 files changed, 90 insertions, 58 deletions
diff --git a/templates/page.tmpl b/templates/page.tmpl
index bb05655..6aad915 100644
--- a/templates/page.tmpl
+++ b/templates/page.tmpl
@@ -5,12 +5,15 @@
<TMPL_UNLESS PARENTLINKS>
<title><TMPL_VAR WIKINAME></title>
<TMPL_ELSE>
- <title><TMPL_VAR TITLE> - <TMPL_VAR WIKINAME></title>
+ <title><TMPL_VAR TITLE> – <TMPL_VAR WIKINAME></title>
</TMPL_UNLESS>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
- <link rel="stylesheet" href="<TMPL_VAR BASEURL>main.css" type="text/css" />
- <link rel="icon" type="image/x-icon" href="http://os.pehjota.net/media/favicon.ico">
- <link rel="shortcut icon" type="image/x-icon" href="http://os.pehjota.net/media/favicon.ico">
+ <link rel="stylesheet" type="text/css"
+ href="//media.proteanos.com/styles/main.css">
+ <link rel="icon" type="image/png"
+ href="//media.proteanos.com/images/favicon.png">
+ <link rel="shortcut icon" type="image/png"
+ href="//media.proteanos.com/images/favicon.png">
<TMPL_IF EDITURL>
<link rel="alternate" type="application/x-wiki" title="Edit this page" href="<TMPL_VAR EDITURL>" />
</TMPL_IF>
@@ -27,14 +30,18 @@
<body>
<a href="#body" class="skip">Skip to body</a>
<nav>
- <div class="logo"><a href="//os.pehjota.net/">Embedded OS</a></div>
+ <div class="logo">
+ <a href="/">
+ <img src="//media.proteanos.com/images/title-logo-right-64.png"
+ alt="ProteanOS">
+ </a>
+ </div>
<div class="nav">
<ul>
- <li><a href="http://os.pehjota.net/about">About</a></li>
- <li><a href="http://os.pehjota.net/contact">Contact</a></li>
- <li><a href="http://os.pehjota.net/dev">Development</a></li>
- <li><a href="http://packages.os.pehjota.net/">Packages</a></li>
- <li><a href="http://wiki.os.pehjota.net/">Wiki</a></li>
+ <li><a href="/about/">About</a></li>
+ <li><a href="#">Installation</a></li>
+ <li><a href="/contact/">Contact</a></li>
+ <li><a href="/dev/">Development</a></li>
</ul>
</div>
</nav>
@@ -42,57 +49,77 @@
<div class="sidebar">
<TMPL_IF HAVE_ACTIONS>
<div>
- <h2>Wiki</h2>
- <ul>
- <TMPL_IF RECENTCHANGESURL>
- <li><a href="/recentchanges/">RecentChanges</a></li>
- </TMPL_IF>
- <TMPL_IF PREFSURL>
- <li><a href="<TMPL_VAR PREFSURL>">Preferences</a></li>
- </TMPL_IF>
- <TMPL_IF SEARCHFORM>
- <TMPL_VAR SEARCHFORM>
- </TMPL_IF>
- </ul>
+ <h1>Wiki</h1>
+ <div>
+ <ul>
+ <TMPL_IF RECENTCHANGESURL>
+ <li>
+ <a href="/recentchanges/">Recent Changes</a>
+ </li>
+ </TMPL_IF>
+ <TMPL_IF PREFSURL>
+ <li>
+ <a href="<TMPL_VAR PREFSURL>">Preferences</a>
+ </li>
+ </TMPL_IF>
+ <TMPL_IF SEARCHFORM>
+ <TMPL_VAR SEARCHFORM>
+ </TMPL_IF>
+ </ul>
+ </div>
</div>
<div>
- <h2>Page</h2>
- <ul>
- <TMPL_IF EDITURL>
- <li><a href="<TMPL_VAR EDITURL>" rel="nofollow">Edit</a></li>
- </TMPL_IF>
- <TMPL_IF GETSOURCEURL>
- <li><a href="<TMPL_VAR GETSOURCEURL>">Source</a></li>
- </TMPL_IF>
- <TMPL_IF HISTORYURL>
- <li><a href="<TMPL_VAR HISTORYURL>">History</a></li>
- </TMPL_IF>
- <TMPL_IF DISCUSSIONLINK>
- <li><TMPL_VAR DISCUSSIONLINK></li>
- </TMPL_IF>
- <TMPL_IF ACTIONS>
- <TMPL_LOOP ACTIONS>
- <li><TMPL_VAR ACTION></li>
- </TMPL_LOOP>
- </TMPL_IF>
- </ul>
+ <h1>Page</h1>
+ <div>
+ <ul>
+ <TMPL_IF EDITURL>
+ <li>
+ <a href="<TMPL_VAR EDITURL>" rel="nofollow">Edit</a>
+ </li>
+ </TMPL_IF>
+ <TMPL_IF GETSOURCEURL>
+ <li>
+ <a href="<TMPL_VAR GETSOURCEURL>">Source</a>
+ </li>
+ </TMPL_IF>
+ <TMPL_IF HISTORYURL>
+ <li>
+ <a href="<TMPL_VAR HISTORYURL>">History</a>
+ </li>
+ </TMPL_IF>
+ <TMPL_IF DISCUSSIONLINK>
+ <li>
+ <TMPL_VAR DISCUSSIONLINK>
+ </li>
+ </TMPL_IF>
+ <TMPL_IF ACTIONS>
+ <TMPL_LOOP ACTIONS>
+ <li>
+ <TMPL_VAR ACTION>
+ </li>
+ </TMPL_LOOP>
+ </TMPL_IF>
+ </ul>
+ </div>
</div>
</TMPL_IF>
<TMPL_IF OTHERLANGUAGES>
<div>
- <h2>Other Languages</h2>
- <ul>
- <TMPL_LOOP OTHERLANGUAGES>
- <li>
- <a href="<TMPL_VAR URL>"><TMPL_VAR LANGUAGE></a>
- <TMPL_IF MASTER>
- (master)
- <TMPL_ELSE>
- &nbsp;(<TMPL_VAR PERCENT>%)
- </TMPL_IF>
- </li>
- </TMPL_LOOP>
- </ul>
+ <h1>Other Languages</h1>
+ <div>
+ <ul>
+ <TMPL_LOOP OTHERLANGUAGES>
+ <li>
+ <a href="<TMPL_VAR URL>"><TMPL_VAR LANGUAGE></a>
+ <TMPL_IF MASTER>
+ (master)
+ <TMPL_ELSE>
+ &nbsp;(<TMPL_VAR PERCENT>%)
+ </TMPL_IF>
+ </li>
+ </TMPL_LOOP>
+ </ul>
+ </div>
</div>
</TMPL_IF>
<TMPL_IF SIDEBAR>
@@ -106,7 +133,7 @@
<TMPL_UNLESS TITLE_OVERRIDDEN>
<span class="parentlinks">
<TMPL_LOOP PARENTLINKS>
- <a href="<TMPL_VAR URL>"><TMPL_VAR PAGE></a>/
+ <a href="<TMPL_VAR URL>"><TMPL_VAR PAGE></a> /
</TMPL_LOOP>
</span>
</TMPL_UNLESS>
@@ -119,12 +146,17 @@
</header>
<TMPL_VAR CONTENT>
</div>
+ <div class="clear"></div>
</div>
<footer>
- <div class="pagedate">
+ <p class="pagedate">
Last edited <TMPL_VAR MTIME>
<!-- Created <TMPL_VAR CTIME> -->
- </div>
+ </p>
+ <p class="copyright">
+ Copyright &copy; 2011–2012
+ Patrick “P. J.” M<span class="super">c</span>Dermott
+ </p>
</footer>
</body>
</html>