{{ define "main" }}
<section id="main">
  <h1 id="title" class="colorswitch">Single Page {{ .Title }}</h1>
    <div>
        {{ with .PrevInSection }}
          <a class="previous colorswitch" href="{{.Permalink}}">previous: {{.Title}}</a>
        {{ end }}
        {{ with .NextInSection }}
          <a class="next colorswitch" href="{{.Permalink}}">next: {{.Title}}</a>
        {{ end }}
    </div>
  <div>
        <article id="content" class="colorswitch">
           {{ .Content }}
        </article>
  </div>
</section>
<aside id="meta">
    <div>
    <section>
    </section>
    {{ with .Params.topics }}
    <ul id="topics">
      {{ range . }}
        <li><a class="colorswitch" 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>
</aside>
{{ end }}
