diff options
author | Serghei Cebotari <51533848+schebotar@users.noreply.github.com> | 2023-11-24 12:20:42 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-11-24 12:20:42 +0300 |
commit | e6e80ab4566362eb11e1a3c165d58e847414ff39 (patch) | |
tree | faa97b2db16664ceb71cdaccbbd2e556cf51c35b | |
parent | 6334d8b7c5cc1a74162c54fdb4fedaf873d2d4b1 (diff) |
Update style.html
Use font-display swap
-rw-r--r-- | layouts/partials/head/style.html | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/layouts/partials/head/style.html b/layouts/partials/head/style.html index 76be20d..40dc906 100644 --- a/layouts/partials/head/style.html +++ b/layouts/partials/head/style.html @@ -4,6 +4,7 @@ src: url('font/cmunrm.woff') format('woff'),; font-weight: normal; font-style: normal; + font-display: swap; } @font-face { @@ -11,6 +12,7 @@ src: url('font/cmunbx.woff') format('woff'); font-weight: bold; font-style: normal; + font-display: swap; } @font-face { @@ -18,6 +20,7 @@ src: url('font/cmunti.woff') format('woff'); font-weight: normal; font-style: italic; + font-display: swap; } @@ -26,6 +29,7 @@ src: url('font/cmunbi.woff') format('woff'); font-weight: bold; font-style: italic; + font-display: swap; } body { |