{{ define "stylesheet" }}{{ $scss := resources.Get "/index.scss" }}{{ $style := $scss | resources.ToCSS }} {{ end }} {{ define "main" }}

{{ .Params.heading }}

{{.Params.subheading}}
latest posts
{{ range first 2 (where .Site.RegularPages "Type" "post") }}

{{ .Title }}

{{ .Date.Format "2 January 2006" }} {{ with .Params.author }}by {{ end }}{{ .Params.author }}

{{ with .Description }}

{{ . }}

{{ end }} {{ with .Params.featured_image }} {{ end }}
{{ end }}
latest projects
{{ range first 3 (where .Site.RegularPages "Type" "project") }}

{{ .Title }}

{{ with .Params.activetime }}{{ . }}{{ end }} {{ with .Params.status }}{{ . }}{{ end }}

{{ with .Description }}

{{ . }}

{{ end }}
{{ end }}
{{ end }}