diff options
author | joey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071> | 2006-07-28 00:21:13 +0000 |
---|---|---|
committer | joey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071> | 2006-07-28 00:21:13 +0000 |
commit | 8fd9c9accbc3c3e977aa78cb38bf7b264c53bace (patch) | |
tree | 317a5ac21db45be395a53e3a07e0b04a10fb0d85 /templates | |
parent | 22df49a2bf92302d4c6e25a04e9c7589a93844a9 (diff) | |
download | ikiwiki-8fd9c9accbc3c3e977aa78cb38bf7b264c53bace.tar ikiwiki-8fd9c9accbc3c3e977aa78cb38bf7b264c53bace.tar.gz |
Hope encrico doesn't mind, but I changed the location and layout of the
tags on the templates. This way seems to fit better with the links. Also
some css cleanup, avoid hardcoded <i> etc.
Diffstat (limited to 'templates')
-rw-r--r-- | templates/inlinepage.tmpl | 16 | ||||
-rw-r--r-- | templates/inlinepagetitle.tmpl | 1 | ||||
-rw-r--r-- | templates/page.tmpl | 12 |
3 files changed, 21 insertions, 8 deletions
diff --git a/templates/inlinepage.tmpl b/templates/inlinepage.tmpl index b470c5585..0f0c47767 100644 --- a/templates/inlinepage.tmpl +++ b/templates/inlinepage.tmpl @@ -3,10 +3,16 @@ <TMPL_VAR CONTENT> -<p> -<i> +<span class="pageinfo"> Posted <TMPL_VAR CTIME> -<TMPL_IF NAME="TAGS">Tags: <TMPL_VAR TAGS></TMPL_IF> -</i> -</p> +</span> + +<span class="tags"> +<TMPL_IF NAME="TAGS"> +Tags: +<TMPL_LOOP NAME="TAGS"> +<TMPL_VAR NAME=LINK> +</TMPL_LOOP> +</TMPL_IF> +</span> </div> diff --git a/templates/inlinepagetitle.tmpl b/templates/inlinepagetitle.tmpl index 8527b197d..10469f81c 100644 --- a/templates/inlinepagetitle.tmpl +++ b/templates/inlinepagetitle.tmpl @@ -2,6 +2,5 @@ <TMPL_VAR PAGELINK><br /> <i> Posted <TMPL_VAR CTIME> -<!-- <TMPL_IF NAME="TAGS"><TMPL_VAR TAGS></TMPL_IF> --> </i> </p> diff --git a/templates/page.tmpl b/templates/page.tmpl index 8439ef8e4..5bdde1fbc 100644 --- a/templates/page.tmpl +++ b/templates/page.tmpl @@ -49,6 +49,15 @@ <TMPL_VAR CONTENT> </div> +<div class="tags"> +<TMPL_IF NAME="TAGS"> +Tags: +<TMPL_LOOP NAME="TAGS"> +<TMPL_VAR NAME=LINK> +</TMPL_LOOP> +</TMPL_IF> +</div> + <div id="backlinks"> <TMPL_IF NAME="BACKLINKS"> Links: @@ -59,10 +68,9 @@ Links: </div> <div id="footer"> -<span id="pageinfo"> +<span class="pageinfo"> <!-- from <TMPL_VAR NAME=WIKINAME> --> Last edited <TMPL_VAR NAME=MTIME> -<TMPL_IF NAME="TAGS">Tags: <TMPL_VAR TAGS></TMPL_IF> </span> </div> |