@@ -55,7 +55,12 @@ import footnotes from "https://deno.land/x/lume_markdown_plugins@v0.8.0/footnote
5555import { alert } from "npm:@mdit/plugin-alert@0.17.0" ;
5656
5757// Utils
58- import { cssBanner , shuffle , deferPagefind , externalLinksIcon } from "hibana/mod.ts" ;
58+ import {
59+ cssBanner ,
60+ deferPagefind ,
61+ externalLinksIcon ,
62+ shuffle ,
63+ } from "hibana/mod.ts" ;
5964
6065// Assets in HTML
6166import icons from "lume/plugins/icons.ts" ;
@@ -144,7 +149,13 @@ site.use(googleFonts({
144149site . use ( googleFonts ( {
145150 cssFile : "fonts-en.css" ,
146151 fontsFolder : "fonts-en" ,
147- ignoredSubsets : [ "cyrillic" , "cyrillic-ext" , "vietnamese" , "latin-ext" , "greek" ] ,
152+ ignoredSubsets : [
153+ "cyrillic" ,
154+ "cyrillic-ext" ,
155+ "vietnamese" ,
156+ "latin-ext" ,
157+ "greek" ,
158+ ] ,
148159 fonts : {
149160 textface :
150161 "https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:ital,wght@0,100..700;1,100..700&display=swap" ,
@@ -395,6 +406,7 @@ site.add("manifest.json");
395406site . add ( "uploads" ) ;
396407site . add ( "assets" ) ;
397408site . add ( "f36d0f5824b04fae955f338128bac96e.txt" ) ; // indexnow
409+ site . add ( "_headers" ) ; // Cloudflare Workers Static Assets headers config (404 handled via not_found_handling in wrangler.jsonc)
398410// Mastodon comment system
399411// site.add(
400412// "https://cdn.jsdelivr.net/npm/@oom/mastodon-comments@0.3.2/src/comments.js",
@@ -445,7 +457,7 @@ site.script("makeFontpathAbsoluteJa", sedFixFontpathJa);
445457site . addEventListener ( "afterBuild" , "makeFontpathAbsoluteEn" ) ;
446458site . addEventListener ( "afterBuild" , "makeFontpathAbsoluteJa" ) ;
447459
448- // pass the base url
460+ // pass the base url
449461site . process ( [ ".html" ] , externalLinksIcon ( "https://blog.esolia.pro" ) ) ;
450462site . process ( [ ".html" ] , deferPagefind ( ) ) ;
451463
0 commit comments