Mercurial > hg > decoupage
comparison decoupage/templates/index.html @ 62:0890ec7069f3
include head.html in the master template
author | Jeff Hammel <jhammel@mozilla.com> |
---|---|
date | Mon, 29 Nov 2010 17:53:20 -0800 |
parents | 0cfb84d788d6 |
children | ac1dc088e37e |
comparison
equal
deleted
inserted
replaced
61:f5ca54558292 | 62:0890ec7069f3 |
---|---|
3 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> | 3 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> |
4 <html xmlns="http://www.w3.org/1999/xhtml" | 4 <html xmlns="http://www.w3.org/1999/xhtml" |
5 xmlns:py="http://genshi.edgewall.org/" | 5 xmlns:py="http://genshi.edgewall.org/" |
6 xmlns:xi="http://www.w3.org/2001/XInclude"> | 6 xmlns:xi="http://www.w3.org/2001/XInclude"> |
7 <head> | 7 <head> |
8 <title>${title or path}</title> | 8 <xi:include href="head.html"/> |
9 <link py:if="icon" rel="icon" href="${icon}"/> | |
10 <link py:for="sheet in css or ()" rel="stylesheet" type="text/css" href="${sheet}"/> | |
11 <script py:for="script in scripts or ()" src="${script}"></script> | |
12 </head> | 9 </head> |
13 <body> | 10 <body> |
14 <xi:include py:if="include" href="${include}"/> | 11 <xi:include py:if="include" href="${include}"/> |
15 <h1 py:if="title">${title}</h1> | 12 <h1 py:if="title">${title}</h1> |
16 <ul id="listing"> | 13 <ul id="listing"> |