revert: 🏗️ take fonts and extra css out of the critical path
refs: #a76c0b1
This commit is contained in:
parent
71860f9123
commit
477c66cd82
2 changed files with 5 additions and 6 deletions
|
@ -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';
|
||||||
|
|
|
@ -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 != '' %}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue