rendered paste body---layout.kid---
<!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" xml:lang="da" lang="da" xmlns:py="http://purl.org/kid/ns#">
<head>
<meta http-equiv="Content-Type" content="text/html;charset=ISO-8859-1" />
<meta http-equiv="Content-Script-Type" content="text/ecmascript" />
<title></title>
<style type="text/css">
/*<![CDATA[*/
/*]]>*/
</style>
<script type="text/ecmascript">
/*<![CDATA[*/
/*]]>*/
</script>
</head>
<body>
<div id="nonFoot">
<div id="head">
<h1>HEADING</h1>
</div>
<div id="content">
<div id="status_block" class="flash" py:if="value_of('tg_flash', None)" py:content="tg_flash"></div>
<content>Default content</content>
</div>
</div>
<div id="foot">
</div>
</body>
</html>
---welcome.kid---
<!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" xml:lang="da" lang="da" xmlns:py="http://purl.org/kid/ns#" py:layout="'layout.kid'">
<head>
<title>foo</title>
</head>
<body>
<div py:match="item.tag == 'content'">
HERE IS MY CONTENT
</div>
</body>
</html>