aboutsummaryrefslogtreecommitdiffstats
path: root/layouts
diff options
context:
space:
mode:
authorSam Anthony <sam@samanthony.xyz>2026-03-16 17:51:05 -0400
committerSam Anthony <sam@samanthony.xyz>2026-03-16 17:51:05 -0400
commit056c45ed232121a3d05a37f4c49f9cfd668c1a42 (patch)
treeceddbd9fb1e8a8d69be8059e0161a126e5f4c0e7 /layouts
parentb4aab043b469a136b9d2fd75d61212dc067b6419 (diff)
downloadaoidh-056c45ed232121a3d05a37f4c49f9cfd668c1a42.zip
remove webfont (too slow)
Diffstat (limited to 'layouts')
-rw-r--r--layouts/_partials/head.html13
1 files changed, 1 insertions, 12 deletions
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 @@
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>{{ if .IsHome }}{{ site.Title }}{{ else }}{{ printf "%s | %s" .Title site.Title }}{{ end }}</title>
-
-{{ range slice "aoidh.css" "fonts/et-book/et-book.css" }}
- {{- with resources.Get . }}<link rel="stylesheet" href="{{ .RelPermalink }}">{{ 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" }}<link rel="stylesheet" href="{{ .RelPermalink }}">{{ end }}