Flexible Lisp Blogware. Fork for personal use. Mirrored from https://github.com/kingcons/coleslaw originally.

base.tmpl 1.5KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. {namespace coleslaw.theme.hyde}
  2. {template base}
  3. <!doctype html>{\n}
  4. <html>
  5. <head>
  6. <title>{$config.title}</title>
  7. <meta http-equiv="content-type" content="application/xhtml+xml; charset=UTF-8" />
  8. <link href="http://fonts.googleapis.com/css?family=Vollkorn:regular,italic,bold,bolditalic" rel="stylesheet" type="text/css" />
  9. <link href="http://fonts.googleapis.com/css?family=Inconsolata" rel="stylesheet" type="text/css" />
  10. <link href= "{$config.domain}/css/style.css" rel="stylesheet" type="text/css" />
  11. <link rel="alternate" href="{$config.domain}/rss.xml" type="application/rss+xml" />
  12. {if $headInject} {$headInject |noAutoescape} {/if}
  13. </head>
  14. <body>
  15. <div class="navigation">
  16. <a href="{$config.domain}">{$config.title}</a> |
  17. {foreach $link in $config.sitenav}
  18. <a href="{$link.url}">{$link.name}</a>
  19. {if not isLast($link)} | {/if}
  20. {/foreach}
  21. </div>
  22. <div id="content">
  23. {$raw |noAutoescape}
  24. </div>
  25. {if $bodyInject} {$bodyInject |noAutoescape} {/if}
  26. <div class="fineprint">
  27. <hr>
  28. Unless otherwise credited all material
  29. {if $config.license}
  30. {$config.license}
  31. {else}
  32. <a rel="license" href="http://creativecommons.org/licenses/by-sa/3.0/deed.en_US">
  33. <img alt="Creative Commons License" style="border-width:0" src="{$config.domain}/css/cc-by-sa.png" />
  34. </a>
  35. {/if}
  36. by {$config.author}
  37. <img align="right" src="{$config.domain}/css/logo_small.jpg" />
  38. </div>
  39. </body>
  40. </html>
  41. {/template}