{{ define "main" }}

{{ partial "topline" . }}

{{ .Content }}

<div class="blog-wrapper">
    {{ range .Pages }} {{ $href := .Permalink }} {{ if (isset .Params "link") }} {{ $href =
    .Params.link }} {{ end }}
    <div class="blog-preview">
        <a href="{{ $href }}">
            <div class="image-pane" >
                <img src="{{ .Params.image }}" />
            </div>
        </a>
        <div class="content-pane">
            <div class="title">
                <a href="{{ $href }}">{{ .Title }}