Source

poole / tests / expected / output / blog.html

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>poole - blog</title>
    <meta name="description" content="a poole site" />
    <meta name="keywords" content="poole" />
    <link rel="stylesheet" type="text/css" href="/poole.css" />
</head>
<body>
    <div id="box">
    <div id="header">
         <h1>a poole site</h1>
         <h2>blog</h2>
    </div>
    <div id="menu">
    <span class=""><a href="/index.html">home</a></span>
<span class=""><a href="/layout.html">layout</a></span>
<span class=""><a href="/logic.html">logic</a></span>
<span class="current"><a href="/blog.html">blog</a></span>
    </div>
    <div id="content"><p>Poole has basic blog support. If an input page's file name has a structure like
<code>page-title.YYYY-MM-DD.post-title.md</code>, e.g. <code>blog.2010-02-27.read_this.md</code>,
Poole recognizes the date and post title and sets them as attributes of the
page. These attributes can then be used to generate a list of blog posts:</p>
<ul>
<li><strong><a href="/blog.2010-03-01.I_ate_all the pokemans.html">I ate all the pokemans</a></strong> - March 01, 2010</li>
<li><strong><a href="/blog.2010-02-22.Doctors_in_my_penguin.html">Doctors in my penguin</a></strong> - February 22, 2010</li>
</ul>
<p>Have a look into <code>input/blog.md</code> to see how it works. Feel free to adjust it
to your needs.</p></div>
    </div>
    <div id="footer">
        Built with <a href="http://bitbucket.org/obensonne/poole">Poole</a>
        &middot;
        Licensed as <a href="http://creativecommons.org/licenses/by-sa/3.0">CC-SA</a>
        &middot;
        <a href="http://validator.w3.org/check?uri=referer">Validate me</a>
    </div>
</body>
</html>