{{- define "stylesheet" -}}
    {{- $style := resources.Get "/scss/default.scss" | resources.ToCSS (dict "outputStyle" "compressed") -}}
    <link rel="preload stylesheet" as="style" href="{{ $style.Permalink }}" type="text/css" media="screen" />
{{- end -}}

{{- define "main" }}
    <main>
      <h2>{{ .Params.heading }}</h2>
      <p>{{ .Params.subheading}}</p>
    </main>
{{- end }}
