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

base.tmpl 1.8KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  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 $injections.head}
  13. {foreach $injection in $injections.head}
  14. {$injection |noAutoescape}
  15. {/foreach}
  16. {/if}
  17. </head>
  18. <body>
  19. <div class="navigation">
  20. <a href="{$config.domain}">{$config.title}</a> |
  21. {foreach $link in $config.sitenav}
  22. <a href="{$link.url}">{$link.name}</a>
  23. {if not isLast($link)} {sp}|{sp} {/if}
  24. {/foreach}
  25. </div>
  26. <div id="content">
  27. {$raw |noAutoescape}
  28. </div>
  29. {if $injections.body}
  30. {foreach $injection in $injections.body}
  31. {$injection |noAutoescape}
  32. {/foreach}
  33. {/if}
  34. <div class="fineprint">
  35. <hr>
  36. Unless otherwise credited all material
  37. {if $config.license}
  38. {$config.license}
  39. {else}
  40. <a rel="license" href="http://creativecommons.org/licenses/by-sa/3.0/deed.en_US">
  41. <img alt="Creative Commons License" style="border-width:0" src="{$config.domain}/css/cc-by-sa.png" />
  42. </a>
  43. {/if}
  44. by {$config.author}
  45. <a rel="coleslaw" href="https://github.com/redline6561/coleslaw">
  46. <img align="right" src="{$config.domain}/css/logo_small.jpg" />
  47. </a>
  48. </div>
  49. </body>
  50. </html>
  51. {/template}