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

index.tmpl 923B

1234567891011121314151617181920212223242526272829303132333435
  1. {namespace coleslaw.theme.hyde}
  2. {template index}
  3. {if $taglinks}
  4. <div id="tagsoup">
  5. <p>This blog covers
  6. {foreach $taglink in $taglinks}
  7. <a href="{$taglink.url |noAutoescape}">{$taglink.name}</a>
  8. {if not isLast($taglink)}, {/if}
  9. {/foreach}
  10. </div>
  11. {/if}
  12. {if $monthlinks}
  13. <div id="monthsoup">
  14. <p>View posts from
  15. {foreach $monthlink in $monthlinks}
  16. <a href="{$monthlink.url |noAutoescape}">{$monthlink.name}</a>
  17. {if not isLast($monthlink)}, {/if}
  18. {/foreach}
  19. </div>
  20. {/if}
  21. <h1>{$title}</h1>
  22. {foreach $post in $posts}
  23. <div class="article-meta">
  24. <a class="article-title" href="{$post.url}">{$post.title}</a>
  25. <div class="date"> posted on {$post.date}</div>
  26. <div class="article">{$post.contents |noAutoescape}</div>
  27. </div>
  28. {/foreach}
  29. <div id="relative-nav">
  30. {if $prev} <a href="{$prev}">Previous</a> {/if}
  31. {if $next} <a href="{$next}">Next</a> {/if}
  32. </div>
  33. {/template}