Permalink
Browse files

Default templates for kajiki and jinja.

  • Loading branch information...
ralphbean committed Apr 30, 2012
1 parent f809d1a commit 9a170d3cb51e071fc3fcb1de4aeec86aa9f18d97
@@ -0,0 +1 @@
<link rel="stylesheet" type="text/css" href="{{w.link}}" media="{{w.media}}" />
@@ -0,0 +1 @@
<link rel="stylesheet" type="text/css" href="$w.link" media="$w.media" />
@@ -0,0 +1 @@
<style type="text/css">{{w.src}}</style>
@@ -0,0 +1 @@
<style type="text/css">$w.src</style>
@@ -0,0 +1,5 @@
<div {{w.attrs | xmlattr }}>
{% for c in w.children %}
{{c.display()}}
{% endfor %}
</div>
@@ -0,0 +1,3 @@
<div xmlns:py="http://genshi.edgewall.org/" py:attrs="w.attrs">
<py:for each="c in w.children">${c.display()}</py:for>
</div>
@@ -0,0 +1 @@
<script type="text/javascript" src="{{w.link}}" {{w.attrs | xmlattr}}></script>
@@ -0,0 +1 @@
<script xmlns:py="http://genshi.edgewall.org/" type="text/javascript" src="$w.link" py:attrs="w.attrs"></script>
@@ -0,0 +1 @@
<script type="text/javascript">{{w.src}}</script>
@@ -0,0 +1 @@
<script type="text/javascript">$w.src</script>
@@ -0,0 +1,8 @@
<html>
<head><title>{{w.title or ''}}</title></head>
<body {{w.attrs | xmlattr}}><h1>{{w.title or ''}}</h1>
{% if w.child %}
{{w.child.display()}}
{% endif %}
</body>
</html>
@@ -0,0 +1,4 @@
<html xmlns:py="http://genshi.edgewall.org/">
<head><title>$w.title</title></head>
<body py:attrs="w.attrs"><h1>$w.title</h1>${w.child and w.child.display()}</body>
</html>

0 comments on commit 9a170d3

Please sign in to comment.