{{ define "main" }}
<section id="main" class="big-container">
  <h1 id="title">{{ .Title }} ({{ .Date.Format "2. January 2006" }})</h1>
  <div>
        <article id="content">
           {{ .Content }}
        </article>
  </div>
</section>
<aside id="meta" class="big-container">
    <div>
    {{ with .Params.topics }}
    <ul id="topics">
      {{ range . }}
        <li><a href="{{ "topics" | absURL}}{{ . | urlize }}">{{ . }}</a> </li>
      {{ end }}
    </ul>
    {{ end }}
    {{ with .Params.tags }}
    <ul id="tags">
      {{ range . }}
        <li> <a href="{{ "tags" | absURL }}{{ . | urlize }}">{{ . }}</a> </li>
      {{ end }}
    </ul>
    {{ end }}
    </div>
    <div>
        {{ with .NextInSection }}
          <p>Next: <a class="next" href="{{.Permalink}}"> {{.Title}}</a></p>
        {{ end }}
        {{ with .PrevInSection }}
          <p>Previous: <a class="previous" href="{{.Permalink}}"> {{.Title}}</a></p>
        {{ end }}
    </div>
</aside>
{{ end }}