{{ define "main" }}
  <h2>{{ .Date.Format "January" }} Blog-Posts</h2>  
  <p>
  {{ range first 3 (where .Site.RegularPages "Type" "in" "posts").ByDate.Reverse }}
    <ul>
      <li><a href="{{ .RelPermalink }}">{{ .Title }}</a></li>
    </ul>
  {{ end }}
  </p>  
  {{ .Content }}
  <h3>Projekt</h3>
  <p>Das letzte Projekt was aktualisiert wurde:
  {{ range first 1 (where .Site.RegularPages "Type" "in" "projects").ByDate.Reverse }}
    <a href="{{ .RelPermalink }}">{{ .Title }}</a>
  {{ end }}
  </p>
{{ end }}

