Mercurial > hg > genshi_view
changeset 12:224486ff2d7f
new version with jquery fun, xi:include, and better dispatching
author | k0s <k0scist@gmail.com> |
---|---|
date | Sat, 07 Nov 2009 22:53:07 -0500 |
parents | 8a7731b2126a |
children | 6075ca965357 |
files | genshi_view/template/+package+.ini_tmpl genshi_view/template/+package+/templates/navigation.html setup.py |
diffstat | 3 files changed, 20 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/genshi_view/template/+package+.ini_tmpl Sat Nov 07 22:49:46 2009 -0500 +++ b/genshi_view/template/+package+.ini_tmpl Sat Nov 07 22:53:07 2009 -0500 @@ -19,3 +19,4 @@ [app:${project}] paste.app_factory = ${package}.factory:factory +${project}.name = world \ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/genshi_view/template/+package+/templates/navigation.html Sat Nov 07 22:53:07 2009 -0500 @@ -0,0 +1,18 @@ +<!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" + xmlns:py="http://genshi.edgewall.org/" + xmlns:xi="http://www.w3.org/2001/XInclude" + py:strip="True"> + + <!-- nav bar --> + <div class="site-nav"> + <ul> + <li py:for="link, name in links"> + <a href="${link}">${name}</a> + </li> + </ul> + </div> + +</html>