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

{{ .Params.heading }}

{{.Params.subheading}}
{{.Content}}

latest articles

{{ range first 3 (where .Site.RegularPages "Type" "post") }}

{{ .Title }}

{{ .Date.Format "2 January 2006" }} by {{ .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 }}