PageRenderTime 97ms CodeModel.GetById 52ms RepoModel.GetById 1ms app.codeStats 0ms

/shabti/templates/microsite/+package+/templates/dri.mako_tmpl

https://bitbucket.org/gawel/shabti
Unknown | 27 lines | 24 code | 3 blank | 0 comment | 0 complexity | 6996217cddad105c18aa65ad7a229d5f MD5 | raw file
  1. # -*- coding: utf-8 -*-
  2. ## Based on standard 3-col Show-both derivation
  3. ## Defines "content", "lhcolumn" and "rhcolumn" fragments
  4. <%inherit file="/core/show-both.mako"/>
  5. <%def name="header()">
  6. <link type="text/css" rel="stylesheet" href="/css/sphinx.css" media="screen" />
  7. % if c.title is not UNDEFINED:
  8. <title>${c.title|n}</title>
  9. % else:
  10. <title>{{package}} :: Default</title>
  11. % endif
  12. </%def>
  13. <%def name="content()">
  14. <h1>${c.title}</h1>
  15. % for utt in c.content:
  16. <p>${utt|n}</p>
  17. % endfor
  18. </%def>
  19. <%def name="rhcolumn()">
  20. <%include file="rhcolumn.mako" />
  21. </%def>
  22. <%def name="lhcolumn()">
  23. <%include file="lhcolumn.mako" />
  24. </%def>