{{/* This template is included at the end of each page's `
`. We're using it here to include the custom CSS for the Matrix spec. */}} {{/* Load the Inter font. We load it from a local copy, which is downloaded from Google Fonts manually via a script: https://github.com/matrix-org/matrix-spec/tree/main/static/css/fonts */}} {{ $scss := "scss/custom.scss"}} {{ if .Site.IsServer }} {{/* Note the missing postCSS. This makes it snappier to develop in Chrome, but makes it look sub-optimal in other browsers. */}} {{ $css := resources.Get $scss | toCSS (dict "enableSourceMap" true) }} {{ else }} {{ $css := resources.Get $scss | toCSS (dict "enableSourceMap" false) | postCSS | minify | fingerprint }} {{ end }}