diff options
author | joey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071> | 2006-03-12 03:11:30 +0000 |
---|---|---|
committer | joey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071> | 2006-03-12 03:11:30 +0000 |
commit | 94eab28a86d518c39d8a71accee7b25818e38e63 (patch) | |
tree | 79859dd7c526e4cb40b3fd3c81a087e50ef1dced /templates | |
parent | 1311d67f0d430a946fc2463bd93379a1f8ca23f7 (diff) | |
download | ikiwiki-94eab28a86d518c39d8a71accee7b25818e38e63.tar ikiwiki-94eab28a86d518c39d8a71accee7b25818e38e63.tar.gz |
use template for page rendering
Diffstat (limited to 'templates')
-rw-r--r-- | templates/page.tmpl | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/templates/page.tmpl b/templates/page.tmpl new file mode 100644 index 000000000..44cbd3812 --- /dev/null +++ b/templates/page.tmpl @@ -0,0 +1,38 @@ +<html> +<head><title><TMPL_VAR TITLE></title></head> +<body> + +<h1> +<a href="<TMPL_VAR INDEXLINK>"><TMPL_VAR WIKINAME></a>/ +<TMPL_LOOP NAME="PARENTLINKS"> +<a href="<TMPL_VAR NAME=URL>"><TMPL_VAR NAME=PAGE></a> / +</TMPL_LOOP> +<TMPL_VAR TITLE> +</h1> + +<TMPL_IF NAME="EDITURL"> +<a href="<TMPL_VAR EDITURL>">Edit</a> +</TMPL_IF> + +<TMPL_IF NAME="RECENTCHANGESURL"> +<a href="<TMPL_VAR RECENTCHANGESURL>">RecentChanges</a> +</TMPL_IF> + +<TMPL_IF NAME="HISTORYURL"> +<a href="<TMPL_VAR HISTORYURL>">History</a> +</TMPL_IF> + +<hr> +<TMPL_VAR CONTENT> +<hr> + +<TMPL_IF NAME="BACKLINKS"> +<p>Links: +<TMPL_LOOP NAME="BACKLINKS"> +<a href="<TMPL_VAR NAME=URL>"><TMPL_VAR NAME=PAGE></a> +</TMPL_LOOP> +</p> +</TMPL_IF> + +</body> +</html> |