File: layout.html

package info (click to toggle)
genshi 0.7.10-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 2,032 kB
  • sloc: python: 16,598; javascript: 3,285; ansic: 734; xml: 45; cs: 31; sh: 28; makefile: 16
file content (15 lines) | stat: -rw-r--r-- 533 bytes parent folder | download | duplicates (11)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<div xmlns:py="http://genshi.edgewall.org/" py:strip="">
  <head>
    <title>Hello ${hello}</title>
    <style type="text/css">@import(style.css)</style>
  </head>
  <div py:def="macro1">reference me, please</div>
  <div py:def="macro2(name, classname='expanded')" class="${classname}">
    Hello ${name.title()}
  </div>
  <span py:match="greeting" class="greeting">
    Hello ${select('@name')}
  </span>
  <span py:match="span[@class='greeting']" style="text-decoration: underline" 
        py:content="select('text()')"/>
</div>