diff options
author | jaseg <git@jaseg.de> | 2025-07-26 13:45:58 +0200 |
---|---|---|
committer | jaseg <git@jaseg.de> | 2025-07-26 13:45:58 +0200 |
commit | 9d55ae84a8208abd714d6b35bd31b023e4ee2ce5 (patch) | |
tree | cd39a0c3fb58fef8c7e9d70731798cb107498b8d /themes/conspiracy/layouts/baseof.html | |
parent | 322eddf574e8b5bd01f0b5ce553bafa6ce10a774 (diff) | |
download | blog-9d55ae84a8208abd714d6b35bd31b023e4ee2ce5.tar.gz blog-9d55ae84a8208abd714d6b35bd31b023e4ee2ce5.tar.bz2 blog-9d55ae84a8208abd714d6b35bd31b023e4ee2ce5.zip |
Improve performance by preloading webfonts
Diffstat (limited to 'themes/conspiracy/layouts/baseof.html')
-rw-r--r-- | themes/conspiracy/layouts/baseof.html | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/themes/conspiracy/layouts/baseof.html b/themes/conspiracy/layouts/baseof.html index 9557f19..d8ebc93 100644 --- a/themes/conspiracy/layouts/baseof.html +++ b/themes/conspiracy/layouts/baseof.html @@ -5,15 +5,8 @@ {{- partial "header.html" . -}} {{- block "main" . }}{{- end }} {{- partial "footer.html" . -}} - <script src="/pagefind/pagefind-ui.js"></script> + <script src="/pagefind/pagefind-ui.js" defer></script> <script> - if(navigator.getEnvironmentIntegrity!==undefined)document.querySelector('body').innerHTML=`<h1>Your browser - contains Google DRM</h1>"Web Environment Integrity" is a Google euphemism for a DRM that is designed to - prevent ad-blocking, and which Google has forced into their browsers against widespread public opposition. - In support of an open web, this website does not function with this DRM. Please install a browser such - as <a href="https://www.mozilla.org/en-US/firefox/new/">Firefox</a> that respects your freedom and supports - ad blockers.`; - window.addEventListener('DOMContentLoaded', (event) => { new PagefindUI({element: "#search", showSubResults: true}); }); |