{{- define "post-meta" }}
<div class="post-meta">
    <span class="post-date">{{.date}}</span>
    {{- range .tags }}
    <span class="tag"><a href="{{.url}}">{{.tag}}</a></span>
    {{- end }}
</div>
{{- end }}
<html>

<head>
    {{- template "head" . }}
    <meta charset="UTF-8">
    <meta name=viewport content='width=device-width'>
    <link href='https://fonts.googleapis.com/css?family=Neuton|Merriweather|Inconsolata:400,700' rel='stylesheet'
        type='text/css'>
    <link rel="stylesheet" type="text/css" href="{{.static_url}}/style.css">

</head>

<body>
    <h1 id="site-header"><a id="site-title" href="{{.home_page}}">Craig Weber</a></h1>
    <div id="page" class="center-column">
        {{- template "body" . }}
        <div id="pagination">
            {{- if .prev }}
            <div class="pagination" id="pagination-prev">
                <a href={{.prev}}>&laquo;&nbsp;Previous</a>
            </div>
            {{- end }}
            {{- if .next }}
            <div class="pagination" id="pagination-next">
                <a href={{.next}}>Next&nbsp;&raquo;</a>
            </div>
            {{- end }}
        </div>
    </div>
    <div id="footer">
        <div id="footer-content" class="center-column">
            <div class="footer-section">
                <h4>About</h4>
                <p>
                    Software enthusiast. Amateur blogger. I build things at
                    <a href="https://tempus.com">Tempus.</a> Thoughts and
                    opinions are my own.
                </p>
            </div>
            <div class="footer-section">
                <h4>Contact</h4>
                <ul>
                    <li><a href="https://twitter.com/weberc2">Twitter</a></li>
                    <li><a href="https://github.com/weberc2">Github</a></li>
                </ul>
            </div>
            <div class="footer-section">
                <h4>Copyright</h4>
                Craig Weber 2016
            </div>
        </div>
    </div>

</body>

</html>