revert: 🏗️ take fonts and extra css out of the critical path

refs: #a76c0b1
This commit is contained in:
Sebin Nyshkim 2025-07-17 15:32:57 +02:00
parent 71860f9123
commit 477c66cd82
Signed by: SebinNyshkim
SSH key fingerprint: SHA256:LG1WHMySL/4iW/Yci+0eHgbf0te5beRiLlmyoY8E5D0
2 changed files with 5 additions and 6 deletions

View file

@ -1,11 +1,6 @@
@import 'tailwindcss'; @import 'tailwindcss';
@import '../fonts/tilt-warp/tilt-warp.css';
@import '../fonts/encode-sans/encode-sans.css';
@import '../fonts/m-plus-1-code/m-plus-1-code.css';
@import './modules/callouts.css' layer(base); @import './modules/callouts.css' layer(base);
@import './prism.css';
@plugin '@tailwindcss/typography'; @plugin '@tailwindcss/typography';
@plugin 'tailwindcss-safe-area'; @plugin 'tailwindcss-safe-area';

View file

@ -18,7 +18,11 @@
generator = eleventy.generator, generator = eleventy.generator,
preconnect = ['https://img.sebin-nyshkim.net'], preconnect = ['https://img.sebin-nyshkim.net'],
dns_prefetch = ['https://img.sebin-nyshkim.net'], dns_prefetch = ['https://img.sebin-nyshkim.net'],
css = ['/css/style.css'] css = ['/fonts/tilt-warp/tilt-warp.css',
'/fonts/encode-sans/encode-sans.css',
'/fonts/m-plus-1-code/m-plus-1-code.css',
'/css/style.css',
'/css/prism.css']
%} %}
{% ogImage "og-image.og.njk", { title: title or site_name, author: author, image: image } %} {% ogImage "og-image.og.njk", { title: title or site_name, author: author, image: image } %}
{% if mastodon.fediverseCreator and mastodon.fediverseCreator != '' %} {% if mastodon.fediverseCreator and mastodon.fediverseCreator != '' %}