Find file
Fetching contributors…
Cannot retrieve contributors at this time
31 lines (24 sloc) 916 Bytes
<html xmlns:py="" py:strip="">
<!--! insert search form -->
<div py:match="div[@id='sidebar']" py:attrs="select('@*')">
<form><input name="q"/></form>
<?python from urlparse import urljoin ?>
<!--! insert opensearch autodiscovery link -->
<head py:match="head" py:attrs="select('@*')">
<link rel="search" type="application/opensearchdescription+xml"
title="${select('link[@rel=\'alternate\']/@title')} search"/>
<!--! ensure that scripts don't use empty tag syntax -->
<script py:match="script" py:attrs="select('@*')">
<!--! Include the original stream, which will be processed by the rules
defined above -->