diff options
author | Profpatsch <mail@profpatsch.de> | 2020-07-18 19:05:06 +0200 |
---|---|---|
committer | Profpatsch <mail@profpatsch.de> | 2020-07-18 19:22:15 +0200 |
commit | 7df7065ab33da35109d089f23c506d64f41e9448 (patch) | |
tree | 04f7a3011ebdc61070918446e579772fe6f7a80f /pkgs/profpatsch/profpatsch.de/default.nix | |
parent | 345be56b649a86ecab577b06c921a24bcdef32b4 (diff) |
pkgs/profpatsch.de: add preloading directives
Those tell the browser that it’s going to need them later, even it hasn’t found them yet (e.g. the fonts can only be found after loading the CSS).
Diffstat (limited to 'pkgs/profpatsch/profpatsch.de/default.nix')
-rw-r--r-- | pkgs/profpatsch/profpatsch.de/default.nix | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/pkgs/profpatsch/profpatsch.de/default.nix b/pkgs/profpatsch/profpatsch.de/default.nix index 51489393..3f042e77 100644 --- a/pkgs/profpatsch/profpatsch.de/default.nix +++ b/pkgs/profpatsch/profpatsch.de/default.nix @@ -82,6 +82,11 @@ let inherit jsJquery; inherit cssNormalize cssMain; inherit cv_pdf id_txt; + # preloading + inherit + fontsQuattrocentoLatin + fontsOpenSansLatin + ; }; }; toc = { |