From 056c45ed232121a3d05a37f4c49f9cfd668c1a42 Mon Sep 17 00:00:00 2001 From: Sam Anthony Date: Mon, 16 Mar 2026 17:51:05 -0400 Subject: remove webfont (too slow) --- layouts/_partials/head.html | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) (limited to 'layouts/_partials') diff --git a/layouts/_partials/head.html b/layouts/_partials/head.html index 463dabb..a5b39cd 100644 --- a/layouts/_partials/head.html +++ b/layouts/_partials/head.html @@ -1,15 +1,4 @@ {{ if .IsHome }}{{ site.Title }}{{ else }}{{ printf "%s | %s" .Title site.Title }}{{ end }} - -{{ range slice "aoidh.css" "fonts/et-book/et-book.css" }} - {{- with resources.Get . }}{{ end }} -{{ end }} - -{{- range $style := slice "roman-line-figures" "display-italic-old-style-figures" "bold-line-figures" }} - {{- range $fmt := slice "eot" "woff" "ttf" "svg" }} - {{- $font := printf "fonts/et-book/et-book/et-book-%s/et-book-%s.%s" $style $style $fmt }} - {{- with resources.Get $font }}{{ .Publish }} - {{- else }}{{ errorf "font not found: %s" $font }}{{ end }} - {{- end -}} -{{- end -}} +{{ with resources.Get "aoidh.css" }}{{ end }} -- cgit v1.2.3