diff --git a/layouts/baseof.html b/layouts/baseof.html index b7bef4b..2ab40c2 100644 --- a/layouts/baseof.html +++ b/layouts/baseof.html @@ -18,7 +18,7 @@ - + {{ if .Param "math" }} diff --git a/static/css/main.css b/static/css/main.css index fa0e020..869af95 100644 --- a/static/css/main.css +++ b/static/css/main.css @@ -1,9 +1,12 @@ @font-face { font-family: "VT323 Local"; - src: url("/fonts/VT323-Regular.ttf") format("truetype"); - font-display: swap; + src: + url("/fonts/VT323-Regular.woff") format("woff"), + url("/fonts/VT323-Regular.ttf") format("truetype"); + font-display: block; font-style: normal; font-weight: 400; + unicode-range: U+0020-007E, U+00A0, U+2013-2014, U+2018-2019, U+201C-201D, U+2026; } :root { diff --git a/static/fonts/VT323-Regular.woff b/static/fonts/VT323-Regular.woff new file mode 100644 index 0000000..51eef71 Binary files /dev/null and b/static/fonts/VT323-Regular.woff differ