[{"data":1,"prerenderedAt":2913},["ShallowReactive",2],{"page:\u002Fchoosing-the-right-static-site-generator-for-production\u002Fastro-vs-eleventy-for-documentation-sites\u002Fsyntax-highlighting-with-shiki-in-astro-and-eleventy":3,"all-docs-nav":1761,"filed:\u002Fchoosing-the-right-static-site-generator-for-production\u002Fastro-vs-eleventy-for-documentation-sites\u002Fsyntax-highlighting-with-shiki-in-astro-and-eleventy":2901},{"id":4,"title":5,"body":6,"breadcrumb":1738,"dateModified":1748,"datePublished":1748,"description":1749,"extension":696,"faq":1750,"meta":1755,"navigation":349,"path":1756,"seo":1757,"slug":12,"stem":1758,"type":1759,"__hash__":1760},"content\u002Fchoosing-the-right-static-site-generator-for-production\u002Fastro-vs-eleventy-for-documentation-sites\u002Fsyntax-highlighting-with-shiki-in-astro-and-eleventy\u002Findex.md","Syntax Highlighting with Shiki in Astro and Eleventy",{"type":7,"value":8,"toc":1718},"minimark",[9,13,17,26,31,63,67,70,148,155,283,287,290,470,492,496,511,835,842,975,979,985,1185,1201,1205,1208,1317,1331,1335,1338,1386,1401,1469,1473,1496,1500,1578,1581,1585,1631,1635,1638,1642,1647,1650,1654,1657,1661,1664,1668,1671,1675,1714],[10,11,5],"h1",{"id":12},"syntax-highlighting-with-shiki-in-astro-and-eleventy",[14,15,16],"p",{},"Documentation sites are full of code, and how that code is highlighted affects both performance and readability more than most teams expect. The traditional approach — ship Prism or highlight.js and let it colour code blocks after the page loads — costs every reader a JavaScript download, main-thread work on every page view, and a flash of plain text before colours appear. Highlighting at build time moves all of that to the build server once, and ships HTML with colours already applied.",[14,18,19,20,25],{},"Shiki is the build-time highlighter most static site generators have converged on. It uses the same TextMate grammars and themes as VS Code, so highlighting is accurate for real-world languages (including embedded languages such as CSS in HTML, or SQL in template strings), and it outputs plain HTML with inline styles or CSS variables. This guide sets up Shiki in Astro and Eleventy with light and dark themes, line highlighting and diff annotations, measures its build-time cost on a large documentation site, and compares it with client-side highlighting. It is part of ",[21,22,24],"a",{"href":23},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fastro-vs-eleventy-for-documentation-sites\u002F","Astro vs Eleventy for Documentation Sites",".",[27,28,30],"h2",{"id":29},"prerequisites","Prerequisites",[32,33,34,38,49],"ul",{},[35,36,37],"li",{},"Astro 4 or 5, or Eleventy 2 or 3.",[35,39,40,41,45,46,25],{},"For Eleventy: ",[42,43,44],"code",{},"shiki"," 1.x and ",[42,47,48],{},"@shikijs\u002Ftransformers",[35,50,51,52,55,56,59,60,25],{},"A site theme with both light and dark modes, driven by a ",[42,53,54],{},"data-theme"," attribute on ",[42,57,58],{},"\u003Chtml>"," or by ",[42,61,62],{},"prefers-color-scheme",[27,64,66],{"id":65},"why-build-time-highlighting-wins-on-static-sites","Why Build-Time Highlighting Wins on Static Sites",[14,68,69],{},"Client-side highlighting was the default for a decade because it needed no build step. On a static site it is pure overhead: the code blocks never change after deploy, so every reader's browser repeats identical work. The numbers on a 1,300-page Eleventy documentation site that moved from Prism to Shiki:",[71,72,73,89],"table",{},[74,75,76],"thead",{},[77,78,79,83,86],"tr",{},[80,81,82],"th",{},"Measure",[80,84,85],{},"Prism (client-side)",[80,87,88],{},"Shiki (build time)",[90,91,92,104,115,126,137],"tbody",{},[77,93,94,98,101],{},[95,96,97],"td",{},"JavaScript for highlighting",[95,99,100],{},"28 KB brotli (core + 14 languages)",[95,102,103],{},"0 KB",[77,105,106,109,112],{},[95,107,108],{},"Main-thread time on a code-heavy page (Lighthouse, 4× CPU)",[95,110,111],{},"190 ms",[95,113,114],{},"0 ms",[77,116,117,120,123],{},[95,118,119],{},"Flash of unhighlighted code",[95,121,122],{},"visible for ~300 ms on slow 4G",[95,124,125],{},"none",[77,127,128,131,134],{},[95,129,130],{},"HTML size of a code-heavy page",[95,132,133],{},"41 KB",[95,135,136],{},"63 KB (+22 KB uncompressed)",[77,138,139,142,145],{},[95,140,141],{},"HTML size after brotli",[95,143,144],{},"9.1 KB",[95,146,147],{},"11.4 KB",[14,149,150,151,154],{},"The HTML grows because every token carries a ",[42,152,153],{},"\u003Cspan>"," with colour information, but brotli compresses that repetition well, and the net transfer (HTML plus JavaScript) dropped from 37 KB to 11 KB on the most code-heavy page.",[156,157,158,279],"figure",{},[159,160,167,168,167,172,167,176,167,183],"svg",{"viewBox":161,"role":162,"ariaLabelledBy":163,"xmlns":166},"0 0 760 196","img",[164,165],"shk-cost-title","shk-cost-desc","http:\u002F\u002Fwww.w3.org\u002F2000\u002Fsvg","\n  ",[169,170,171],"title",{"id":164},"Transfer size and main-thread time with Prism and Shiki",[173,174,175],"desc",{"id":165},"Paired bars for a code-heavy documentation page. Total transfer of HTML plus highlighting JavaScript was 37 kilobytes with Prism and 11 kilobytes with Shiki. Main-thread time spent highlighting was 190 milliseconds with Prism and zero with Shiki.",[177,178],"rect",{"x":179,"y":179,"width":180,"height":181,"fill":182},"0","760","196","#ffffff",[184,185,187,188,187,199,187,205,187,212,187,216,187,220,187,224,187,230,187,238,187,244,187,248,187,253,187,260,187,266,187,270,187,275,167],"g",{"style":186},"font-family:system-ui, sans-serif;font-size:12px","\n    ",[177,189],{"x":190,"y":191,"width":192,"height":193,"rx":194,"fill":195,"opacity":196,"stroke":197,"style":198},"226.9","50.0","14.0","12.0","2","#ff595e","0.3","#d83b41","stroke-width:1px",[177,200],{"x":201,"y":191,"width":192,"height":193,"rx":194,"fill":202,"opacity":203,"stroke":204,"style":198},"405.1","#8ac926","0.4","#5a8a16",[177,206],{"x":207,"y":208,"width":209,"height":210,"rx":211,"fill":195,"opacity":196,"stroke":197,"style":198},"230.0","82.0","91.9","16.0","3",[177,213],{"x":207,"y":214,"width":215,"height":210,"rx":211,"fill":202,"opacity":203,"stroke":204,"style":198},"102.0","27.3",[177,217],{"x":207,"y":218,"width":219,"height":210,"rx":211,"fill":195,"opacity":196,"stroke":197,"style":198},"134.0","471.9",[177,221],{"x":207,"y":222,"width":223,"height":210,"rx":211,"fill":202,"opacity":203,"stroke":204,"style":198},"154.0","3.0",[225,226],"path",{"d":227,"fill":125,"stroke":228,"style":229},"M230.0 78.0 L230.0 176.0","#556071","stroke-width:1.5px",[231,232,237],"text",{"x":233,"y":234,"fill":235,"style":236},"380.0","30.0","#1f2937","font-size:16px;text-anchor:middle;font-weight:700","What a code-heavy page costs the reader",[231,239,243],{"x":240,"y":241,"fill":228,"style":242},"246.9","60.0","font-size:12px;text-anchor:start","Prism in the browser",[231,245,247],{"x":246,"y":241,"fill":228,"style":242},"425.1","Shiki at build time",[231,249,252],{"x":250,"y":251,"fill":235,"style":242},"20.0","105.2","Transfer HTML + JS (KB)",[231,254,259],{"x":255,"y":256,"fill":257,"style":258},"328.9","94.5","#b32b30","font-size:11.5px;text-anchor:start;font-weight:700","37",[231,261,265],{"x":262,"y":263,"fill":264,"style":258},"264.3","114.5","#3f6410","11",[231,267,269],{"x":250,"y":268,"fill":235,"style":242},"157.2","Main-thread highlighting (ms)",[231,271,274],{"x":272,"y":273,"fill":257,"style":258},"708.9","146.5","190",[231,276,179],{"x":277,"y":278,"fill":264,"style":258},"240.0","166.5",[280,281,282],"figcaption",{},"Lighthouse mobile profile with 4x CPU slowdown; transfer sizes are brotli-compressed.",[27,284,286],{"id":285},"astro-configure-the-built-in-shiki","Astro: Configure the Built-In Shiki",[14,288,289],{},"Astro highlights fenced code blocks with Shiki by default. The configuration below enables dual themes, sets a default language for unlabelled blocks, and adds transformers for line highlighting and diff notation:",[291,292,297],"pre",{"className":293,"code":294,"language":295,"meta":296,"style":296},"language-js shiki shiki-themes github-light github-dark","\u002F\u002F astro.config.mjs\nimport { defineConfig } from 'astro\u002Fconfig';\nimport { transformerNotationDiff, transformerNotationHighlight, transformerMetaHighlight } from '@shikijs\u002Ftransformers';\n\nexport default defineConfig({\n  markdown: {\n    shikiConfig: {\n      themes: { light: 'github-light', dark: 'github-dark-dimmed' },\n      defaultColor: false,\n      wrap: false,\n      langs: [],                         \u002F\u002F bundled languages load on demand\n      transformers: [transformerNotationDiff(), transformerNotationHighlight(), transformerMetaHighlight()]\n    }\n  }\n});\n","js","",[42,298,299,308,329,344,351,367,373,379,397,410,420,429,452,458,464],{"__ignoreMap":296},[300,301,304],"span",{"class":302,"line":303},"line",1,[300,305,307],{"class":306},"sJ8bj","\u002F\u002F astro.config.mjs\n",[300,309,311,315,319,322,326],{"class":302,"line":310},2,[300,312,314],{"class":313},"szBVR","import",[300,316,318],{"class":317},"sVt8B"," { defineConfig } ",[300,320,321],{"class":313},"from",[300,323,325],{"class":324},"sZZnC"," 'astro\u002Fconfig'",[300,327,328],{"class":317},";\n",[300,330,332,334,337,339,342],{"class":302,"line":331},3,[300,333,314],{"class":313},[300,335,336],{"class":317}," { transformerNotationDiff, transformerNotationHighlight, transformerMetaHighlight } ",[300,338,321],{"class":313},[300,340,341],{"class":324}," '@shikijs\u002Ftransformers'",[300,343,328],{"class":317},[300,345,347],{"class":302,"line":346},4,[300,348,350],{"emptyLinePlaceholder":349},true,"\n",[300,352,354,357,360,364],{"class":302,"line":353},5,[300,355,356],{"class":313},"export",[300,358,359],{"class":313}," default",[300,361,363],{"class":362},"sScJk"," defineConfig",[300,365,366],{"class":317},"({\n",[300,368,370],{"class":302,"line":369},6,[300,371,372],{"class":317},"  markdown: {\n",[300,374,376],{"class":302,"line":375},7,[300,377,378],{"class":317},"    shikiConfig: {\n",[300,380,382,385,388,391,394],{"class":302,"line":381},8,[300,383,384],{"class":317},"      themes: { light: ",[300,386,387],{"class":324},"'github-light'",[300,389,390],{"class":317},", dark: ",[300,392,393],{"class":324},"'github-dark-dimmed'",[300,395,396],{"class":317}," },\n",[300,398,400,403,407],{"class":302,"line":399},9,[300,401,402],{"class":317},"      defaultColor: ",[300,404,406],{"class":405},"sj4cs","false",[300,408,409],{"class":317},",\n",[300,411,413,416,418],{"class":302,"line":412},10,[300,414,415],{"class":317},"      wrap: ",[300,417,406],{"class":405},[300,419,409],{"class":317},[300,421,423,426],{"class":302,"line":422},11,[300,424,425],{"class":317},"      langs: [],                         ",[300,427,428],{"class":306},"\u002F\u002F bundled languages load on demand\n",[300,430,432,435,438,441,444,446,449],{"class":302,"line":431},12,[300,433,434],{"class":317},"      transformers: [",[300,436,437],{"class":362},"transformerNotationDiff",[300,439,440],{"class":317},"(), ",[300,442,443],{"class":362},"transformerNotationHighlight",[300,445,440],{"class":317},[300,447,448],{"class":362},"transformerMetaHighlight",[300,450,451],{"class":317},"()]\n",[300,453,455],{"class":302,"line":454},13,[300,456,457],{"class":317},"    }\n",[300,459,461],{"class":302,"line":460},14,[300,462,463],{"class":317},"  }\n",[300,465,467],{"class":302,"line":466},15,[300,468,469],{"class":317},"});\n",[14,471,472,475,476,479,480,483,484,487,488,491],{},[42,473,474],{},"defaultColor: false"," tells Shiki to emit only CSS variables (",[42,477,478],{},"--shiki-light",", ",[42,481,482],{},"--shiki-dark",") rather than inline colours, so the stylesheet decides which theme applies. In components, the ",[42,485,486],{},"\u003CCode>"," component from ",[42,489,490],{},"astro:components"," takes the same options, which is useful for code examples generated from data rather than written in Markdown.",[27,493,495],{"id":494},"eleventy-shiki-as-a-markdown-highlighter","Eleventy: Shiki as a Markdown Highlighter",[14,497,498,499,502,503,506,507,510],{},"Eleventy's Markdown renderer, markdown-it, accepts a ",[42,500,501],{},"highlight"," function. Shiki's ",[42,504,505],{},"createHighlighter"," is asynchronous, so create it once before the build and use its synchronous ",[42,508,509],{},"codeToHtml"," in the callback:",[291,512,514],{"className":293,"code":513,"language":295,"meta":296,"style":296},"\u002F\u002F eleventy.config.js\nimport { createHighlighter } from 'shiki';\nimport { transformerNotationDiff, transformerMetaHighlight } from '@shikijs\u002Ftransformers';\n\nexport default async function (eleventyConfig) {\n  const highlighter = await createHighlighter({\n    themes: ['github-light', 'github-dark-dimmed'],\n    langs: ['js', 'ts', 'json', 'yaml', 'toml', 'bash', 'html', 'css', 'go-html-template', 'nginx', 'diff']\n  });\n\n  eleventyConfig.amendLibrary('md', (md) => {\n    md.options.highlight = (code, lang, attrs) =>\n      highlighter.codeToHtml(code, {\n        lang: highlighter.getLoadedLanguages().includes(lang) ? lang : 'text',\n        themes: { light: 'github-light', dark: 'github-dark-dimmed' },\n        defaultColor: false,\n        meta: { __raw: attrs },\n        transformers: [transformerNotationDiff(), transformerMetaHighlight()]\n      });\n  });\n}\n",[42,515,516,521,535,548,552,574,593,607,668,673,677,706,734,744,775,788,798,804,818,824,829],{"__ignoreMap":296},[300,517,518],{"class":302,"line":303},[300,519,520],{"class":306},"\u002F\u002F eleventy.config.js\n",[300,522,523,525,528,530,533],{"class":302,"line":310},[300,524,314],{"class":313},[300,526,527],{"class":317}," { createHighlighter } ",[300,529,321],{"class":313},[300,531,532],{"class":324}," 'shiki'",[300,534,328],{"class":317},[300,536,537,539,542,544,546],{"class":302,"line":331},[300,538,314],{"class":313},[300,540,541],{"class":317}," { transformerNotationDiff, transformerMetaHighlight } ",[300,543,321],{"class":313},[300,545,341],{"class":324},[300,547,328],{"class":317},[300,549,550],{"class":302,"line":346},[300,551,350],{"emptyLinePlaceholder":349},[300,553,554,556,558,561,564,567,571],{"class":302,"line":353},[300,555,356],{"class":313},[300,557,359],{"class":313},[300,559,560],{"class":313}," async",[300,562,563],{"class":313}," function",[300,565,566],{"class":317}," (",[300,568,570],{"class":569},"s4XuR","eleventyConfig",[300,572,573],{"class":317},") {\n",[300,575,576,579,582,585,588,591],{"class":302,"line":369},[300,577,578],{"class":313},"  const",[300,580,581],{"class":405}," highlighter",[300,583,584],{"class":313}," =",[300,586,587],{"class":313}," await",[300,589,590],{"class":362}," createHighlighter",[300,592,366],{"class":317},[300,594,595,598,600,602,604],{"class":302,"line":375},[300,596,597],{"class":317},"    themes: [",[300,599,387],{"class":324},[300,601,479],{"class":317},[300,603,393],{"class":324},[300,605,606],{"class":317},"],\n",[300,608,609,612,615,617,620,622,625,627,630,632,635,637,640,642,645,647,650,652,655,657,660,662,665],{"class":302,"line":381},[300,610,611],{"class":317},"    langs: [",[300,613,614],{"class":324},"'js'",[300,616,479],{"class":317},[300,618,619],{"class":324},"'ts'",[300,621,479],{"class":317},[300,623,624],{"class":324},"'json'",[300,626,479],{"class":317},[300,628,629],{"class":324},"'yaml'",[300,631,479],{"class":317},[300,633,634],{"class":324},"'toml'",[300,636,479],{"class":317},[300,638,639],{"class":324},"'bash'",[300,641,479],{"class":317},[300,643,644],{"class":324},"'html'",[300,646,479],{"class":317},[300,648,649],{"class":324},"'css'",[300,651,479],{"class":317},[300,653,654],{"class":324},"'go-html-template'",[300,656,479],{"class":317},[300,658,659],{"class":324},"'nginx'",[300,661,479],{"class":317},[300,663,664],{"class":324},"'diff'",[300,666,667],{"class":317},"]\n",[300,669,670],{"class":302,"line":399},[300,671,672],{"class":317},"  });\n",[300,674,675],{"class":302,"line":412},[300,676,350],{"emptyLinePlaceholder":349},[300,678,679,682,685,688,691,694,697,700,703],{"class":302,"line":422},[300,680,681],{"class":317},"  eleventyConfig.",[300,683,684],{"class":362},"amendLibrary",[300,686,687],{"class":317},"(",[300,689,690],{"class":324},"'md'",[300,692,693],{"class":317},", (",[300,695,696],{"class":569},"md",[300,698,699],{"class":317},") ",[300,701,702],{"class":313},"=>",[300,704,705],{"class":317}," {\n",[300,707,708,711,713,715,717,719,721,724,726,729,731],{"class":302,"line":431},[300,709,710],{"class":317},"    md.options.",[300,712,501],{"class":362},[300,714,584],{"class":313},[300,716,566],{"class":317},[300,718,42],{"class":569},[300,720,479],{"class":317},[300,722,723],{"class":569},"lang",[300,725,479],{"class":317},[300,727,728],{"class":569},"attrs",[300,730,699],{"class":317},[300,732,733],{"class":313},"=>\n",[300,735,736,739,741],{"class":302,"line":454},[300,737,738],{"class":317},"      highlighter.",[300,740,509],{"class":362},[300,742,743],{"class":317},"(code, {\n",[300,745,746,749,752,755,758,761,764,767,770,773],{"class":302,"line":460},[300,747,748],{"class":317},"        lang: highlighter.",[300,750,751],{"class":362},"getLoadedLanguages",[300,753,754],{"class":317},"().",[300,756,757],{"class":362},"includes",[300,759,760],{"class":317},"(lang) ",[300,762,763],{"class":313},"?",[300,765,766],{"class":317}," lang ",[300,768,769],{"class":313},":",[300,771,772],{"class":324}," 'text'",[300,774,409],{"class":317},[300,776,777,780,782,784,786],{"class":302,"line":466},[300,778,779],{"class":317},"        themes: { light: ",[300,781,387],{"class":324},[300,783,390],{"class":317},[300,785,393],{"class":324},[300,787,396],{"class":317},[300,789,791,794,796],{"class":302,"line":790},16,[300,792,793],{"class":317},"        defaultColor: ",[300,795,406],{"class":405},[300,797,409],{"class":317},[300,799,801],{"class":302,"line":800},17,[300,802,803],{"class":317},"        meta: { __raw: attrs },\n",[300,805,807,810,812,814,816],{"class":302,"line":806},18,[300,808,809],{"class":317},"        transformers: [",[300,811,437],{"class":362},[300,813,440],{"class":317},[300,815,448],{"class":362},[300,817,451],{"class":317},[300,819,821],{"class":302,"line":820},19,[300,822,823],{"class":317},"      });\n",[300,825,827],{"class":302,"line":826},20,[300,828,672],{"class":317},[300,830,832],{"class":302,"line":831},21,[300,833,834],{"class":317},"}\n",[14,836,837,838,841],{},"Loading only the languages the site uses keeps startup time down: loading all bundled grammars took 1.9 s on a CI runner, the eleven listed here 0.3 s. Unknown languages fall back to plain text instead of failing the build. The ",[42,839,840],{},"@shikijs\u002Fmarkdown-it"," plugin wraps the same idea if you prefer not to write the callback yourself.",[156,843,844,972],{},[159,845,167,850,167,853,167,856,167,859,167,957],{"viewBox":846,"role":162,"ariaLabelledBy":847,"xmlns":166},"0 0 760 152",[848,849],"shk-pipe-title","shk-pipe-desc",[169,851,852],{"id":848},"Shiki highlighting pipeline in a static build",[173,854,855],{"id":849},"A fenced code block with a language and meta string enters the Markdown renderer. Shiki tokenizes it with a TextMate grammar, applies both light and dark themes to each token, runs transformers for highlighted lines and diff markers, and outputs a pre element whose spans carry CSS variables for both themes. CSS picks the theme at render time.",[177,857],{"x":179,"y":179,"width":180,"height":858,"fill":182},"152",[184,860,187,861,187,869,187,874,187,878,187,882,187,885,187,891,187,894,187,898,187,901,187,904,187,910,187,915,187,919,187,923,187,926,187,929,187,932,187,935,187,938,187,944,187,948,187,953,167],{"style":186},[177,862],{"x":250,"y":863,"width":864,"height":865,"rx":866,"fill":867,"stroke":868,"style":229},"64.0","116.8","71.5","8","#f8fafc","#d9e2ef",[177,870],{"x":871,"y":863,"width":864,"height":865,"rx":866,"fill":872,"opacity":873,"stroke":872,"style":229},"170.8","#6a4c93","0.14",[225,875],{"d":876,"fill":125,"stroke":228,"style":877},"M138.8 99.8 L166.8 99.8","stroke-width:2px;marker-end:url(#shk-pipe-arrow)",[177,879],{"x":880,"y":863,"width":864,"height":865,"rx":866,"fill":881,"opacity":873,"stroke":881,"style":229},"321.6","#1982c4",[225,883],{"d":884,"fill":125,"stroke":228,"style":877},"M289.6 99.8 L317.6 99.8",[177,886],{"x":887,"y":863,"width":864,"height":865,"rx":866,"fill":888,"opacity":889,"stroke":890,"style":229},"472.4","#ffca3a","0.24","#a97b00",[225,892],{"d":893,"fill":125,"stroke":228,"style":877},"M440.4 99.8 L468.4 99.8",[177,895],{"x":896,"y":863,"width":864,"height":865,"rx":866,"fill":202,"opacity":897,"stroke":204,"style":229},"623.2","0.2",[225,899],{"d":900,"fill":125,"stroke":228,"style":877},"M591.2 99.8 L619.2 99.8",[231,902,903],{"x":233,"y":234,"fill":235,"style":236},"From fenced block to themed HTML",[231,905,909],{"x":906,"y":907,"fill":235,"style":908},"78.4","90.4","font-size:13px;text-anchor:middle;font-weight:700","Fenced block",[231,911,914],{"x":906,"y":912,"fill":228,"style":913},"107.3","font-size:11px;text-anchor:middle","language and line",[231,916,918],{"x":906,"y":917,"fill":228,"style":913},"121.6","meta",[231,920,922],{"x":921,"y":907,"fill":235,"style":908},"229.2","Tokenize",[231,924,925],{"x":921,"y":912,"fill":228,"style":913},"TextMate",[231,927,928],{"x":921,"y":917,"fill":228,"style":913},"grammar",[231,930,931],{"x":233,"y":907,"fill":235,"style":908},"Dual themes",[231,933,934],{"x":233,"y":912,"fill":228,"style":913},"CSS variables per",[231,936,937],{"x":233,"y":917,"fill":228,"style":913},"token",[231,939,943],{"x":940,"y":941,"fill":235,"style":942},"530.8","97.4","font-size:12.5px;text-anchor:middle;font-weight:700","Transformers",[231,945,947],{"x":940,"y":946,"fill":228,"style":913},"113.6","highlight, diff",[231,949,952],{"x":950,"y":951,"fill":235,"style":908},"681.6","97.5","Themed HTML",[231,954,956],{"x":950,"y":955,"fill":228,"style":913},"114.4","pre.shiki, no JS",[958,959,187,960,167],"defs",{},[961,962,968,969,187],"marker",{"id":963,"viewBox":964,"refX":866,"refY":965,"markerWidth":966,"markerHeight":966,"orient":967},"shk-pipe-arrow","0 0 10 10","5","7","auto-start-reverse","\n      ",[225,970],{"d":971,"fill":228},"M0 0 L10 5 L0 10 z",[280,973,974],{},"All work happens once per build; the browser receives finished markup and a few lines of CSS.",[27,976,978],{"id":977},"switching-themes-with-css-only","Switching Themes With CSS Only",[14,980,981,982,984],{},"With ",[42,983,474],{},", every token has both colours as variables, and a few CSS rules select one. They must follow the site's own theme switch, not just the operating system, so that a reader who chose dark mode in the site's toggle gets dark code:",[291,986,990],{"className":987,"code":988,"language":989,"meta":296,"style":296},"language-css shiki shiki-themes github-light github-dark",".shiki, .shiki span { color: var(--shiki-light); background-color: var(--shiki-light-bg); }\n:root[data-theme='dark'] .shiki,\n:root[data-theme='dark'] .shiki span { color: var(--shiki-dark); background-color: var(--shiki-dark-bg); }\n@media (prefers-color-scheme: dark) {\n  :root:not([data-theme='light']) .shiki,\n  :root:not([data-theme='light']) .shiki span { color: var(--shiki-dark); background-color: var(--shiki-dark-bg); }\n}\n","css",[42,991,992,1039,1062,1107,1115,1137,1181],{"__ignoreMap":296},[300,993,994,997,999,1001,1005,1008,1011,1014,1017,1019,1021,1024,1027,1029,1031,1033,1036],{"class":302,"line":303},[300,995,996],{"class":362},".shiki",[300,998,479],{"class":317},[300,1000,996],{"class":362},[300,1002,1004],{"class":1003},"s9eBZ"," span",[300,1006,1007],{"class":317}," { ",[300,1009,1010],{"class":405},"color",[300,1012,1013],{"class":317},": ",[300,1015,1016],{"class":405},"var",[300,1018,687],{"class":317},[300,1020,478],{"class":569},[300,1022,1023],{"class":317},"); ",[300,1025,1026],{"class":405},"background-color",[300,1028,1013],{"class":317},[300,1030,1016],{"class":405},[300,1032,687],{"class":317},[300,1034,1035],{"class":569},"--shiki-light-bg",[300,1037,1038],{"class":317},"); }\n",[300,1040,1041,1044,1047,1049,1052,1055,1058,1060],{"class":302,"line":310},[300,1042,1043],{"class":362},":root",[300,1045,1046],{"class":317},"[",[300,1048,54],{"class":362},[300,1050,1051],{"class":313},"=",[300,1053,1054],{"class":324},"'dark'",[300,1056,1057],{"class":317},"] ",[300,1059,996],{"class":362},[300,1061,409],{"class":317},[300,1063,1064,1066,1068,1070,1072,1074,1076,1078,1080,1082,1084,1086,1088,1090,1092,1094,1096,1098,1100,1102,1105],{"class":302,"line":331},[300,1065,1043],{"class":362},[300,1067,1046],{"class":317},[300,1069,54],{"class":362},[300,1071,1051],{"class":313},[300,1073,1054],{"class":324},[300,1075,1057],{"class":317},[300,1077,996],{"class":362},[300,1079,1004],{"class":1003},[300,1081,1007],{"class":317},[300,1083,1010],{"class":405},[300,1085,1013],{"class":317},[300,1087,1016],{"class":405},[300,1089,687],{"class":317},[300,1091,482],{"class":569},[300,1093,1023],{"class":317},[300,1095,1026],{"class":405},[300,1097,1013],{"class":317},[300,1099,1016],{"class":405},[300,1101,687],{"class":317},[300,1103,1104],{"class":569},"--shiki-dark-bg",[300,1106,1038],{"class":317},[300,1108,1109,1112],{"class":302,"line":346},[300,1110,1111],{"class":313},"@media",[300,1113,1114],{"class":317}," (prefers-color-scheme: dark) {\n",[300,1116,1117,1120,1123,1125,1127,1130,1133,1135],{"class":302,"line":353},[300,1118,1119],{"class":362},"  :root:not",[300,1121,1122],{"class":317},"([",[300,1124,54],{"class":362},[300,1126,1051],{"class":313},[300,1128,1129],{"class":324},"'light'",[300,1131,1132],{"class":317},"]) ",[300,1134,996],{"class":362},[300,1136,409],{"class":317},[300,1138,1139,1141,1143,1145,1147,1149,1151,1153,1155,1157,1159,1161,1163,1165,1167,1169,1171,1173,1175,1177,1179],{"class":302,"line":369},[300,1140,1119],{"class":362},[300,1142,1122],{"class":317},[300,1144,54],{"class":362},[300,1146,1051],{"class":313},[300,1148,1129],{"class":324},[300,1150,1132],{"class":317},[300,1152,996],{"class":362},[300,1154,1004],{"class":1003},[300,1156,1007],{"class":317},[300,1158,1010],{"class":405},[300,1160,1013],{"class":317},[300,1162,1016],{"class":405},[300,1164,687],{"class":317},[300,1166,482],{"class":569},[300,1168,1023],{"class":317},[300,1170,1026],{"class":405},[300,1172,1013],{"class":317},[300,1174,1016],{"class":405},[300,1176,687],{"class":317},[300,1178,1104],{"class":569},[300,1180,1038],{"class":317},[300,1182,1183],{"class":302,"line":375},[300,1184,834],{"class":317},[14,1186,1187,1188,1191,1192,1195,1196,1200],{},"Check contrast in both themes. Several popular themes have comment colours that fall below 4.5:1 against their own background; ",[42,1189,1190],{},"github-light"," and ",[42,1193,1194],{},"github-dark-dimmed"," both passed axe's contrast rule on this site, while an earlier choice of a pastel dark theme failed on comments in 1,100 code blocks. Running the accessibility checks from ",[21,1197,1199],{"href":1198},"\u002Fproduction-ready-deployment-cicd-workflows\u002Ftesting-static-sites-in-ci\u002Faccessibility-testing-with-axe-and-pa11y-in-ci\u002F","Accessibility Testing with axe and pa11y in CI"," in both themes caught it.",[27,1202,1204],{"id":1203},"annotations-writers-can-use","Annotations Writers Can Use",[14,1206,1207],{},"Documentation code blocks often need emphasis: the two lines that changed, the line to edit, what was removed. Transformers turn simple notation into styled lines without writers touching HTML.",[291,1209,1212],{"className":1210,"code":1211,"language":696,"meta":296,"style":296},"language-md shiki shiki-themes github-light github-dark has-diff","```js {3-4}\nexport default defineConfig({\n  output: 'static',\n  trailingSlash: 'always',\n  build: { format: 'directory' }\n});\n```\n\n```js\nconst cache = new Map(); \u002F\u002F [!code ++]\nconst cache = {};        \u002F\u002F [!code --]\n```\n",[42,1213,1214,1219,1229,1239,1249,1260,1264,1269,1273,1278,1300,1313],{"__ignoreMap":296},[300,1215,1216],{"class":302,"line":303},[300,1217,1218],{"class":317},"```js {3-4}\n",[300,1220,1221,1223,1225,1227],{"class":302,"line":310},[300,1222,356],{"class":313},[300,1224,359],{"class":313},[300,1226,363],{"class":362},[300,1228,366],{"class":317},[300,1230,1231,1234,1237],{"class":302,"line":331},[300,1232,1233],{"class":317},"  output: ",[300,1235,1236],{"class":324},"'static'",[300,1238,409],{"class":317},[300,1240,1241,1244,1247],{"class":302,"line":346},[300,1242,1243],{"class":317},"  trailingSlash: ",[300,1245,1246],{"class":324},"'always'",[300,1248,409],{"class":317},[300,1250,1251,1254,1257],{"class":302,"line":353},[300,1252,1253],{"class":317},"  build: { format: ",[300,1255,1256],{"class":324},"'directory'",[300,1258,1259],{"class":317}," }\n",[300,1261,1262],{"class":302,"line":369},[300,1263,469],{"class":317},[300,1265,1266],{"class":302,"line":375},[300,1267,1268],{"class":317},"```\n",[300,1270,1271],{"class":302,"line":381},[300,1272,350],{"emptyLinePlaceholder":349},[300,1274,1275],{"class":302,"line":399},[300,1276,1277],{"class":317},"```js\n",[300,1279,1283,1286,1289,1291,1294,1297],{"class":1280,"line":412},[302,1281,1282],"diff","add",[300,1284,1285],{"class":313},"const",[300,1287,1288],{"class":405}," cache",[300,1290,584],{"class":313},[300,1292,1293],{"class":313}," new",[300,1295,1296],{"class":362}," Map",[300,1298,1299],{"class":317},"(); ",[300,1301,1304,1306,1308,1310],{"class":1302,"line":422},[302,1281,1303],"remove",[300,1305,1285],{"class":313},[300,1307,1288],{"class":405},[300,1309,584],{"class":313},[300,1311,1312],{"class":317}," {};        ",[300,1314,1315],{"class":302,"line":431},[300,1316,1268],{"class":317},[14,1318,1319,1320,1323,1324,1191,1327,1330],{},"The meta string ",[42,1321,1322],{},"{3-4}"," highlights lines 3 and 4; the ",[42,1325,1326],{},"[!code ++]",[42,1328,1329],{},"[!code --]"," comments become added and removed lines and are stripped from the output. Style them with a background tint and a left border, and add a visually hidden \"added\" or \"removed\" label so the meaning is not conveyed by colour alone.",[27,1332,1334],{"id":1333},"build-time-cost-and-caching","Build-Time Cost and Caching",[14,1336,1337],{},"Shiki is not free at build time. TextMate grammars are regular-expression engines, and tokenizing thousands of blocks adds up.",[71,1339,1340,1356],{},[74,1341,1342],{},[77,1343,1344,1347,1350,1353],{},[80,1345,1346],{},"Site",[80,1348,1349],{},"Code blocks",[80,1351,1352],{},"Highlighting time",[80,1354,1355],{},"Share of build",[90,1357,1358,1372],{},[77,1359,1360,1363,1366,1369],{},[95,1361,1362],{},"Eleventy docs (1,300 pages)",[95,1364,1365],{},"9,100",[95,1367,1368],{},"11.2 s",[95,1370,1371],{},"48%",[77,1373,1374,1377,1380,1383],{},[95,1375,1376],{},"Astro docs (410 pages)",[95,1378,1379],{},"2,700",[95,1381,1382],{},"4.1 s",[95,1384,1385],{},"6%",[14,1387,1388,1389,1392,1393,1396,1397,25],{},"For the Eleventy site, highlighting was nearly half the build. Because a code block's output depends only on its content, language, meta string and theme, it caches perfectly: hash those inputs and store the HTML. Eleventy's ",[42,1390,1391],{},"@11ty\u002Feleventy-fetch"," cache directory, or a plain JSON file persisted between CI runs with ",[42,1394,1395],{},"actions\u002Fcache",", is enough. With the cache warm, a build that changed a handful of pages highlighted only the new or edited blocks, and highlighting time fell to 1.6 s. The same caching approach applies to other expensive transforms, as described in ",[21,1398,1400],{"href":1399},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fincremental-builds-and-build-caching-for-ssgs\u002Fenabling-incremental-builds-in-eleventy\u002F","Enabling Incremental Builds in Eleventy",[156,1402,1403,1466],{},[159,1404,167,1409,167,1412,167,1415,167,1418],{"viewBox":1405,"role":162,"ariaLabelledBy":1406,"xmlns":166},"0 0 760 176",[1407,1408],"shk-cache-title","shk-cache-desc",[169,1410,1411],{"id":1407},"Shiki highlighting time with and without a cache",[173,1413,1414],{"id":1408},"Horizontal bars of highlighting time on the 9,100-block Eleventy build. All bundled grammars loaded and no cache, 13.1 seconds. Only used grammars and no cache, 11.2 seconds. Used grammars with a warm cache after a typical content change, 1.6 seconds.",[177,1416],{"x":179,"y":179,"width":180,"height":1417,"fill":182},"176",[184,1419,187,1420,187,1424,187,1429,187,1433,187,1436,187,1439,187,1443,187,1449,187,1453,187,1457,187,1461,167],{"style":186},[177,1421],{"x":277,"y":1422,"width":1423,"height":250,"rx":211,"fill":195,"opacity":196,"stroke":197,"style":198},"65.0","443.6",[177,1425],{"x":277,"y":1426,"width":1427,"height":250,"rx":211,"fill":888,"opacity":1428,"stroke":890,"style":198},"99.0","379.2","0.45",[177,1430],{"x":277,"y":1431,"width":1432,"height":250,"rx":211,"fill":202,"opacity":203,"stroke":204,"style":198},"133.0","54.2",[225,1434],{"d":1435,"fill":125,"stroke":228,"style":229},"M240.0 60.0 L240.0 158.0",[231,1437,1438],{"x":233,"y":234,"fill":235,"style":236},"Highlighting time on the Eleventy docs build",[231,1440,1442],{"x":250,"y":1441,"fill":235,"style":242},"79.2","All grammars, no cache",[231,1444,1448],{"x":1445,"y":1446,"fill":257,"style":1447},"691.6","79.5","font-size:12px;text-anchor:start;font-weight:700","13.1 s",[231,1450,1452],{"x":250,"y":1451,"fill":235,"style":242},"113.2","Used grammars, no cache",[231,1454,1368],{"x":1455,"y":1456,"fill":235,"style":1447},"627.2","113.5",[231,1458,1460],{"x":250,"y":1459,"fill":235,"style":242},"147.2","Used grammars + warm cache",[231,1462,1465],{"x":1463,"y":1464,"fill":264,"style":1447},"302.2","147.5","1.6 s",[280,1467,1468],{},"Median of five hyperfine runs on an 8-vCPU GitHub Actions runner.",[27,1470,1472],{"id":1471},"copy-buttons-and-accessibility","Copy Buttons and Accessibility",[14,1474,1475,1476,1479,1480,1483,1484,1487,1488,1491,1492,1495],{},"Build-time highlighting does not remove the need for a little JavaScript if code blocks have copy buttons. Keep it small and separate: a 0.6 KB module that adds a button to each ",[42,1477,1478],{},"pre.shiki"," and copies ",[42,1481,1482],{},"textContent",", loaded with ",[42,1485,1486],{},"type=\"module\""," so it never blocks rendering. Make code blocks keyboard-scrollable with ",[42,1489,1490],{},"tabindex=\"0\""," on ",[42,1493,1494],{},"\u003Cpre>"," when they overflow horizontally — axe flags scrollable regions that keyboard users cannot reach — and give each a label with the language when it is known. Diff markers and highlighted lines need a text equivalent, as noted above, because screen readers do not announce background colours.",[27,1497,1499],{"id":1498},"measured-impact","Measured Impact",[71,1501,1502,1514],{},[74,1503,1504],{},[77,1505,1506,1508,1511],{},[80,1507,82],{},[80,1509,1510],{},"Before (Prism)",[80,1512,1513],{},"After (Shiki)",[90,1515,1516,1526,1537,1547,1558,1568],{},[77,1517,1518,1521,1524],{},[95,1519,1520],{},"Highlighting JavaScript per page",[95,1522,1523],{},"28 KB",[95,1525,103],{},[77,1527,1528,1531,1534],{},[95,1529,1530],{},"Total Blocking Time on code-heavy page (lab)",[95,1532,1533],{},"240 ms",[95,1535,1536],{},"50 ms",[77,1538,1539,1542,1545],{},[95,1540,1541],{},"LCP on code-heavy page, field p75",[95,1543,1544],{},"1.9 s",[95,1546,1465],{},[77,1548,1549,1552,1555],{},[95,1550,1551],{},"Languages highlighted correctly (sample of 200 blocks)",[95,1553,1554],{},"171",[95,1556,1557],{},"197",[77,1559,1560,1563,1566],{},[95,1561,1562],{},"Build time added (warm cache)",[95,1564,1565],{},"0 s",[95,1567,1465],{},[77,1569,1570,1573,1576],{},[95,1571,1572],{},"Contrast failures in code (axe, both themes)",[95,1574,1575],{},"1,100 (dark)",[95,1577,179],{},[14,1579,1580],{},"The accuracy improvement surprised the team most: Prism's grammars mis-tokenized Go templates, nginx configuration and TOML with inline tables in 29 of 200 sampled blocks, while Shiki's VS Code grammars handled all but three.",[27,1582,1584],{"id":1583},"pitfalls-rollback","Pitfalls & Rollback",[32,1586,1587,1594,1603,1609,1621],{},[35,1588,1589,1593],{},[1590,1591,1592],"strong",{},"Loading every grammar."," Adds seconds of startup; load only what the site uses and fall back to plain text.",[35,1595,1596,1599,1600,1602],{},[1590,1597,1598],{},"Inline colours with a dark theme."," Without ",[42,1601,474],{},", the light colours are hard-coded and dark mode needs a second render.",[35,1604,1605,1608],{},[1590,1606,1607],{},"Colour-only diff markers."," Add text labels for added and removed lines.",[35,1610,1611,1614,1615,1617,1618,1620],{},[1590,1612,1613],{},"Unscrollable code blocks for keyboard users."," Add ",[42,1616,1490],{}," to overflowing ",[42,1619,1494],{}," elements.",[35,1622,1623,1626,1627,1630],{},[1590,1624,1625],{},"Rollback:"," highlighting is one configuration block in Astro and one callback in Eleventy; removing it returns plain ",[42,1628,1629],{},"\u003Cpre>\u003Ccode>"," blocks immediately.",[27,1632,1634],{"id":1633},"conclusion","Conclusion",[14,1636,1637],{},"Build-time highlighting with Shiki is one of the clearest wins available to a documentation site: no highlighting JavaScript, no flash of plain code, more accurate colours and dual themes selected by CSS. Astro gives it to you by default; Eleventy needs a twenty-line callback. On large sites, cache highlighted blocks between builds and the build-time cost almost disappears.",[27,1639,1641],{"id":1640},"faq","FAQ",[1643,1644,1646],"h3",{"id":1645},"why-highlight-code-at-build-time-instead-of-in-the-browser","Why highlight code at build time instead of in the browser?",[14,1648,1649],{},"Build-time highlighting ships finished HTML with colours already applied, so there is no highlighting library to download, no flash of unstyled code and no main-thread work on the reader's device. Client-side libraries such as Prism or highlight.js add 20 to 60 KB of JavaScript and run after load.",[1643,1651,1653],{"id":1652},"does-astro-include-shiki-by-default","Does Astro include Shiki by default?",[14,1655,1656],{},"Yes. Astro highlights fenced code blocks in Markdown and MDX with Shiki out of the box, and provides a Code component for highlighting code in components. Configuration lives under markdown.shikiConfig in the Astro config.",[1643,1658,1660],{"id":1659},"how-do-i-get-light-and-dark-themes-with-shiki","How do I get light and dark themes with Shiki?",[14,1662,1663],{},"Use Shiki's dual-theme mode, which emits CSS variables for both themes on every token. A small CSS rule switches between them based on a data-theme attribute or prefers-color-scheme, with no second render and no JavaScript.",[1643,1665,1667],{"id":1666},"is-shiki-slow-on-large-documentation-sites","Is Shiki slow on large documentation sites?",[14,1669,1670],{},"It is slower than regex-based highlighters because it uses TextMate grammars, but the cost is paid at build time. On a site with about 9,000 code blocks it added roughly 11 seconds to an Eleventy build, which caching of highlighted output reduced to under 2 seconds on incremental builds.",[27,1672,1674],{"id":1673},"related","Related",[32,1676,1677,1686,1693,1700,1707],{},[35,1678,1679,1682,1683,1685],{},[1590,1680,1681],{},"Parent:"," ",[21,1684,24],{"href":23}," — the wider comparison.",[35,1687,1688,1692],{},[21,1689,1691],{"href":1690},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fastro-vs-eleventy-for-documentation-sites\u002Fmarkdown-pipelines-remark-vs-markdown-it\u002F","Markdown Pipelines: remark vs markdown-it"," — where the highlighter plugs in.",[35,1694,1695,1699],{},[21,1696,1698],{"href":1697},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fastro-vs-eleventy-for-documentation-sites\u002Fshortcodes-vs-components-for-docs-authors\u002F","Shortcodes vs Components for Docs Authors"," — richer code examples in content.",[35,1701,1702,1706],{},[21,1703,1705],{"href":1704},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fjavascript-hydration-partial-rendering\u002Fhow-to-reduce-bundle-size-in-eleventy-builds\u002F","How to Reduce Bundle Size in Eleventy Builds"," — removing client-side libraries.",[35,1708,1709,1713],{},[21,1710,1712],{"href":1711},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Flargest-contentful-paint-optimization-for-static-sites\u002Ffixing-lcp-on-text-heavy-documentation-pages\u002F","Fixing LCP on Text-Heavy Documentation Pages"," — where code blocks affect LCP.",[1715,1716,1717],"style",{},"html pre.shiki code .sJ8bj, html code.shiki .sJ8bj{--shiki-default:#6A737D;--shiki-dark:#6A737D}html pre.shiki code .szBVR, html code.shiki .szBVR{--shiki-default:#D73A49;--shiki-dark:#F97583}html pre.shiki code .sVt8B, html code.shiki .sVt8B{--shiki-default:#24292E;--shiki-dark:#E1E4E8}html pre.shiki code .sZZnC, html code.shiki .sZZnC{--shiki-default:#032F62;--shiki-dark:#9ECBFF}html pre.shiki code .sScJk, html code.shiki .sScJk{--shiki-default:#6F42C1;--shiki-dark:#B392F0}html pre.shiki code .sj4cs, html code.shiki .sj4cs{--shiki-default:#005CC5;--shiki-dark:#79B8FF}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html pre.shiki code .s4XuR, html code.shiki .s4XuR{--shiki-default:#E36209;--shiki-dark:#FFAB70}html pre.shiki code .s9eBZ, html code.shiki .s9eBZ{--shiki-default:#22863A;--shiki-dark:#85E89D}",{"title":296,"searchDepth":310,"depth":310,"links":1719},[1720,1721,1722,1723,1724,1725,1726,1727,1728,1729,1730,1731,1737],{"id":29,"depth":310,"text":30},{"id":65,"depth":310,"text":66},{"id":285,"depth":310,"text":286},{"id":494,"depth":310,"text":495},{"id":977,"depth":310,"text":978},{"id":1203,"depth":310,"text":1204},{"id":1333,"depth":310,"text":1334},{"id":1471,"depth":310,"text":1472},{"id":1498,"depth":310,"text":1499},{"id":1583,"depth":310,"text":1584},{"id":1633,"depth":310,"text":1634},{"id":1640,"depth":310,"text":1641,"children":1732},[1733,1734,1735,1736],{"id":1645,"depth":331,"text":1646},{"id":1652,"depth":331,"text":1653},{"id":1659,"depth":331,"text":1660},{"id":1666,"depth":331,"text":1667},{"id":1673,"depth":310,"text":1674},[1739,1742,1745,1746],{"name":1740,"item":1741},"Home","\u002F",{"name":1743,"item":1744},"Choosing the Right Static Site Generator for Production","\u002Fchoosing-the-right-static-site-generator-for-production\u002F",{"name":24,"item":23},{"name":5,"item":1747},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fastro-vs-eleventy-for-documentation-sites\u002Fsyntax-highlighting-with-shiki-in-astro-and-eleventy\u002F","2026-09-25","Highlight code at build time with Shiki in Astro and Eleventy: dual light and dark themes, line annotations, build-time cost and zero runtime JavaScript.",[1751,1752,1753,1754],{"q":1646,"a":1649},{"q":1653,"a":1656},{"q":1660,"a":1663},{"q":1667,"a":1670},{},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fastro-vs-eleventy-for-documentation-sites\u002Fsyntax-highlighting-with-shiki-in-astro-and-eleventy",{"title":5,"description":1749},"choosing-the-right-static-site-generator-for-production\u002Fastro-vs-eleventy-for-documentation-sites\u002Fsyntax-highlighting-with-shiki-in-astro-and-eleventy\u002Findex","article","olc4H7VBC3nLgOYlr_HbSGuZOIjdwnlsZsBTrluVpJg",[1762,1765,1768,1771,1774,1777,1780,1783,1786,1789,1792,1795,1798,1801,1804,1807,1810,1813,1815,1818,1820,1822,1825,1826,1829,1832,1835,1838,1841,1844,1847,1850,1853,1856,1859,1862,1865,1868,1871,1874,1877,1880,1883,1886,1889,1892,1895,1898,1901,1904,1907,1910,1913,1916,1918,1921,1924,1927,1930,1933,1936,1939,1942,1945,1948,1951,1954,1957,1960,1963,1966,1969,1972,1975,1978,1981,1984,1987,1990,1993,1996,1999,2002,2005,2008,2011,2014,2017,2020,2023,2026,2029,2032,2035,2038,2041,2044,2047,2050,2053,2056,2059,2062,2065,2068,2071,2074,2077,2080,2083,2086,2089,2092,2095,2098,2101,2104,2107,2110,2113,2116,2119,2122,2125,2128,2131,2134,2137,2140,2143,2146,2149,2152,2155,2158,2161,2164,2167,2170,2173,2176,2179,2182,2185,2188,2191,2194,2197,2200,2203,2206,2209,2212,2215,2218,2221,2224,2227,2230,2233,2236,2239,2242,2245,2248,2251,2254,2257,2260,2263,2266,2269,2272,2275,2278,2281,2284,2287,2290,2293,2296,2299,2302,2305,2308,2311,2314,2317,2320,2323,2326,2329,2332,2335,2338,2341,2344,2347,2350,2353,2355,2358,2361,2364,2367,2370,2373,2375,2378,2381,2384,2387,2390,2393,2396,2399,2402,2405,2408,2411,2414,2417,2420,2423,2426,2429,2432,2435,2438,2441,2444,2447,2450,2453,2456,2459,2462,2465,2468,2471,2474,2477,2480,2483,2486,2489,2492,2495,2498,2501,2504,2507,2510,2513,2516,2519,2522,2525,2528,2531,2534,2537,2540,2543,2546,2549,2552,2555,2558,2561,2564,2567,2570,2573,2576,2579,2582,2585,2588,2591,2594,2597,2600,2603,2606,2608,2611,2614,2617,2620,2623,2626,2629,2632,2635,2638,2641,2644,2647,2650,2653,2656,2659,2662,2665,2668,2671,2674,2677,2680,2683,2686,2689,2692,2695,2698,2701,2704,2707,2710,2713,2716,2719,2722,2725,2728,2731,2734,2737,2740,2743,2746,2749,2752,2755,2758,2761,2764,2767,2770,2773,2776,2779,2782,2785,2788,2791,2794,2797,2800,2803,2806,2809,2812,2815,2818,2821,2824,2827,2830,2833,2836,2839,2842,2845,2848,2851,2854,2857,2860,2863,2866,2869,2872,2875,2877,2880,2883,2886,2889,2892,2895,2898],{"path":1763,"title":1764},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Faccessibility-for-static-sites\u002Faccessible-code-blocks-in-documentation-sites","Accessible Code Blocks in Documentation Sites",{"path":1766,"title":1767},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Faccessibility-for-static-sites\u002Faccessible-dark-mode-toggles-for-static-sites","Accessible Dark Mode Toggles for Static Sites",{"path":1769,"title":1770},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Faccessibility-for-static-sites\u002Faccessible-svg-diagrams-on-static-sites","Accessible SVG Diagrams on Static Sites",{"path":1772,"title":1773},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Faccessibility-for-static-sites\u002Fenforcing-alt-text-for-markdown-images-at-build-time","Enforcing Alt Text for Markdown Images at Build Time",{"path":1775,"title":1776},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Faccessibility-for-static-sites\u002Ffixing-heading-order-problems-in-markdown-content","Fixing Heading Order Problems in Markdown Content",{"path":1778,"title":1779},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Faccessibility-for-static-sites\u002Ffixing-low-color-contrast-flagged-by-lighthouse","Fixing Low Color Contrast Flagged by Lighthouse",{"path":1781,"title":1782},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Faccessibility-for-static-sites","Accessibility for Static Sites",{"path":1784,"title":1785},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Faccessibility-for-static-sites\u002Fkeyboard-navigation-and-focus-order-on-static-sites","Keyboard Navigation and Focus Order on Static Sites",{"path":1787,"title":1788},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Faccessibility-for-static-sites\u002Fskip-links-and-landmarks-in-ssg-layouts","Skip Links and Landmarks in SSG Layouts",{"path":1790,"title":1791},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fastro-vs-eleventy-for-documentation-sites\u002Fastro-vs-eleventy-build-times-at-10000-pages","Astro vs Eleventy Build Times at 10,000 Pages",{"path":1793,"title":1794},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fastro-vs-eleventy-for-documentation-sites\u002Fchoosing-between-astro-and-eleventy-for-large-docs","Astro vs Eleventy for Large Docs (1000+ Pages)",{"path":1796,"title":1797},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fastro-vs-eleventy-for-documentation-sites\u002Fcontent-collections-vs-eleventy-data-cascade","Content Collections vs the Eleventy Data Cascade",{"path":1799,"title":1800},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fastro-vs-eleventy-for-documentation-sites\u002Fdev-server-performance-astro-vs-eleventy","Dev Server Performance: Astro vs Eleventy",{"path":1802,"title":1803},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fastro-vs-eleventy-for-documentation-sites\u002Ffixing-astro-build-errors-after-upgrading-to-astro-5","Fixing Astro Build Errors After Upgrading to Astro 5",{"path":1805,"title":1806},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fastro-vs-eleventy-for-documentation-sites\u002Ffixing-duplicate-permalink-errors-in-eleventy","Fixing Duplicate Permalink Errors in Eleventy",{"path":1808,"title":1809},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fastro-vs-eleventy-for-documentation-sites\u002Ffixing-eleventy-out-of-memory-errors-on-large-collections","Fixing Eleventy Out-of-Memory Errors on Large Collections",{"path":1811,"title":1812},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fastro-vs-eleventy-for-documentation-sites\u002Ffixing-slow-astro-builds-caused-by-large-mdx-collections","Fixing Slow Astro Builds Caused by Large MDX Collections",{"path":1814,"title":24},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fastro-vs-eleventy-for-documentation-sites",{"path":1816,"title":1817},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fastro-vs-eleventy-for-documentation-sites\u002Floading-remote-content-with-astro-content-layer-loaders","Loading Remote Content With Astro Content Layer Loaders",{"path":1819,"title":1691},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fastro-vs-eleventy-for-documentation-sites\u002Fmarkdown-pipelines-remark-vs-markdown-it",{"path":1821,"title":1698},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fastro-vs-eleventy-for-documentation-sites\u002Fshortcodes-vs-components-for-docs-authors",{"path":1823,"title":1824},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fastro-vs-eleventy-for-documentation-sites\u002Fsidebar-navigation-in-astro-and-eleventy","Sidebar Navigation in Astro and Eleventy",{"path":1756,"title":5},{"path":1827,"title":1828},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fastro-vs-eleventy-for-documentation-sites\u002Fupgrading-eleventy-2-to-3-with-esm-configuration","Upgrading Eleventy 2 to 3 With ESM Configuration",{"path":1830,"title":1831},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fdocs-frameworks-docusaurus-starlight-vitepress\u002Fadding-local-search-to-a-vitepress-site","Adding Local Search to a VitePress Site",{"path":1833,"title":1834},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fdocs-frameworks-docusaurus-starlight-vitepress\u002Fcomparing-docs-framework-build-times","Comparing Docs Framework Build Times",{"path":1836,"title":1837},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fdocs-frameworks-docusaurus-starlight-vitepress\u002Fcustomizing-starlight-without-forking-the-theme","Customizing Starlight Without Forking the Theme",{"path":1839,"title":1840},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fdocs-frameworks-docusaurus-starlight-vitepress\u002Fdocusaurus-vs-starlight-for-product-documentation","Docusaurus vs Starlight for Product Documentation",{"path":1842,"title":1843},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fdocs-frameworks-docusaurus-starlight-vitepress\u002Ffixing-broken-links-reported-by-docusaurus-builds","Fixing Broken Links Reported by Docusaurus Builds",{"path":1845,"title":1846},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fdocs-frameworks-docusaurus-starlight-vitepress\u002Fgenerating-api-reference-pages-in-starlight-from-openapi","Generating API Reference Pages in Starlight From OpenAPI",{"path":1848,"title":1849},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fdocs-frameworks-docusaurus-starlight-vitepress","Docs Frameworks: Docusaurus, Starlight and VitePress",{"path":1851,"title":1852},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fdocs-frameworks-docusaurus-starlight-vitepress\u002Finternationalizing-starlight-docs","Internationalizing Starlight Docs",{"path":1854,"title":1855},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fdocs-frameworks-docusaurus-starlight-vitepress\u002Fmdx-vs-markdoc-for-docs-content","MDX vs Markdoc for Docs Content",{"path":1857,"title":1858},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fdocs-frameworks-docusaurus-starlight-vitepress\u002Fmigrating-from-mkdocs-to-starlight","Migrating from MkDocs to Starlight",{"path":1860,"title":1861},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fdocs-frameworks-docusaurus-starlight-vitepress\u002Fmigrating-mkdocs-documentation-to-vitepress","Migrating MkDocs Documentation to VitePress",{"path":1863,"title":1864},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fdocs-frameworks-docusaurus-starlight-vitepress\u002Fspeeding-up-docusaurus-builds-with-rspack","Speeding Up Docusaurus Builds With Rspack",{"path":1866,"title":1867},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fdocs-frameworks-docusaurus-starlight-vitepress\u002Fversioned-documentation-with-docusaurus","Versioned Documentation with Docusaurus",{"path":1869,"title":1870},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fdocs-frameworks-docusaurus-starlight-vitepress\u002Fversioning-vitepress-documentation-without-a-plugin","Versioning VitePress Documentation Without a Plugin",{"path":1872,"title":1873},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fdocs-frameworks-docusaurus-starlight-vitepress\u002Fvitepress-for-library-documentation","VitePress for Library Documentation",{"path":1875,"title":1876},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fdocs-frameworks-docusaurus-starlight-vitepress\u002Fvitepress-vs-starlight-for-vue-and-astro-teams","VitePress vs Starlight for Vue and Astro Teams",{"path":1878,"title":1879},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fhugo-build-times-for-large-repositories\u002Ffixing-hugo-builds-that-fail-after-a-version-upgrade","Fixing Hugo Builds That Fail After a Version Upgrade",{"path":1881,"title":1882},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fhugo-build-times-for-large-repositories\u002Ffixing-hugo-builds-that-slow-down-after-adding-taxonomies","Fixing Hugo Builds That Slow Down After Adding Taxonomies",{"path":1884,"title":1885},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fhugo-build-times-for-large-repositories\u002Fhow-to-benchmark-hugo-vs-astro-build-speeds","How to Benchmark Hugo vs Astro Build Speeds",{"path":1887,"title":1888},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fhugo-build-times-for-large-repositories\u002Fhugo-image-processing-cache-in-ci","Hugo Image Processing Cache in CI",{"path":1890,"title":1891},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fhugo-build-times-for-large-repositories\u002Fhugo-modules-and-dependency-caching","Hugo Modules and Dependency Caching",{"path":1893,"title":1894},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fhugo-build-times-for-large-repositories\u002Fhugo-partialcached-for-faster-builds","Hugo partialCached for Faster Builds",{"path":1896,"title":1897},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fhugo-build-times-for-large-repositories","Hugo Build Times for Large Repositories",{"path":1899,"title":1900},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fhugo-build-times-for-large-repositories\u002Fparallel-hugo-builds-across-ci-jobs","Parallel Hugo Builds Across CI Jobs",{"path":1902,"title":1903},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fhugo-build-times-for-large-repositories\u002Fprofiling-hugo-templates-with-template-metrics","Profiling Hugo Templates With Template Metrics",{"path":1905,"title":1906},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fhugo-build-times-for-large-repositories\u002Freducing-hugo-memory-usage-on-ci-runners","Reducing Hugo Memory Usage on CI Runners",{"path":1908,"title":1909},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fhugo-build-times-for-large-repositories\u002Fsharing-a-theme-across-hugo-sites-with-modules","Sharing a Theme Across Hugo Sites With Modules",{"path":1911,"title":1912},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fhugo-build-times-for-large-repositories\u002Fspeeding-up-hugo-builds-with-render-hooks-and-caching","Speeding Up Hugo Builds with Render Hooks & Caching",{"path":1914,"title":1915},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fhugo-build-times-for-large-repositories\u002Fsplitting-large-hugo-sites-with-segments","Splitting Large Hugo Sites with Segments",{"path":1917,"title":1743},"\u002Fchoosing-the-right-static-site-generator-for-production",{"path":1919,"title":1920},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Finternationalization-for-static-sites\u002Ffixing-hreflang-errors-reported-in-search-console","Fixing Hreflang Errors Reported in Search Console",{"path":1922,"title":1923},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Finternationalization-for-static-sites\u002Fhreflang-and-language-alternates-on-static-sites","hreflang and Language Alternates on Static Sites",{"path":1925,"title":1926},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Finternationalization-for-static-sites\u002Fi18n-routing-in-astro","i18n Routing in Astro",{"path":1928,"title":1929},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Finternationalization-for-static-sites","Internationalization for Static Sites",{"path":1931,"title":1932},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Finternationalization-for-static-sites\u002Flanguage-detection-and-redirects-at-the-edge","Language Detection and Redirects at the Edge",{"path":1934,"title":1935},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Finternationalization-for-static-sites\u002Fmultilingual-eleventy-sites-with-the-i18n-plugin","Multilingual Eleventy Sites With the i18n Plugin",{"path":1937,"title":1938},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Finternationalization-for-static-sites\u002Fmultilingual-sites-with-hugo","Multilingual Sites with Hugo",{"path":1940,"title":1941},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Finternationalization-for-static-sites\u002Fright-to-left-layouts-on-static-sites","Right-to-Left Layouts on Static Sites",{"path":1943,"title":1944},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Finternationalization-for-static-sites\u002Fsubdirectories-vs-subdomains-for-translated-static-sites","Subdirectories vs Subdomains for Translated Static Sites",{"path":1946,"title":1947},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Finternationalization-for-static-sites\u002Ftranslation-workflows-with-git-and-crowdin","Translation Workflows with Git and Crowdin",{"path":1949,"title":1950},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fjekyll-plugin-ecosystem\u002Fcustom-domains-and-https-for-jekyll-on-github-pages","Custom Domains and HTTPS for Jekyll on GitHub Pages",{"path":1952,"title":1953},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fjekyll-plugin-ecosystem\u002Fdeploying-jekyll-with-github-actions","Deploying Jekyll with GitHub Actions",{"path":1955,"title":1956},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fjekyll-plugin-ecosystem\u002Feleventy-vs-jekyll-for-markdown-heavy-blogs","Eleventy vs Jekyll for Markdown-Heavy Blogs",{"path":1958,"title":1959},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fjekyll-plugin-ecosystem\u002Ffixing-jekyll-builds-that-break-after-a-ruby-upgrade","Fixing Jekyll Builds That Break After a Ruby Upgrade",{"path":1961,"title":1962},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fjekyll-plugin-ecosystem","Jekyll Plugin Ecosystem",{"path":1964,"title":1965},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fjekyll-plugin-ecosystem\u002Freplacing-jekyll-plugins-when-migrating-to-eleventy","Replacing Jekyll Plugins When Migrating to Eleventy",{"path":1967,"title":1968},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fjekyll-plugin-ecosystem\u002Frunning-jekyll-in-docker-for-reproducible-builds","Running Jekyll in Docker for Reproducible Builds",{"path":1970,"title":1971},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fjekyll-plugin-ecosystem\u002Frunning-jekyll-on-github-pages-without-plugins","Running Jekyll on GitHub Pages Without Plugins",{"path":1973,"title":1974},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fjekyll-plugin-ecosystem\u002Fspeeding-up-slow-jekyll-builds","Speeding Up Slow Jekyll Builds",{"path":1976,"title":1977},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fjekyll-plugin-ecosystem\u002Fupgrading-jekyll-and-ruby-versions-safely","Upgrading Jekyll and Ruby Versions Safely",{"path":1979,"title":1980},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fmigrating-between-static-site-generators\u002Fauditing-content-parity-after-a-migration","Auditing Content Parity After a Migration",{"path":1982,"title":1983},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fmigrating-between-static-site-generators\u002Fconverting-front-matter-at-scale-during-migration","Converting Front Matter at Scale During Migration",{"path":1985,"title":1986},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fmigrating-between-static-site-generators","Migrating Between Static Site Generators",{"path":1988,"title":1989},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fmigrating-between-static-site-generators\u002Fkeeping-redirects-working-after-an-ssg-migration","Keeping Redirects Working After an SSG Migration",{"path":1991,"title":1992},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fmigrating-between-static-site-generators\u002Fmigrating-a-docs-site-from-jekyll-to-hugo","Migrating a Docs Site From Jekyll to Hugo",{"path":1994,"title":1995},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fmigrating-between-static-site-generators\u002Fmigrating-a-wordpress-export-to-eleventy","Migrating a WordPress Export to Eleventy",{"path":1997,"title":1998},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fmigrating-between-static-site-generators\u002Fmigrating-from-docusaurus-to-starlight","Migrating from Docusaurus to Starlight",{"path":2000,"title":2001},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fmigrating-between-static-site-generators\u002Fmigrating-from-gatsby-to-astro","Migrating from Gatsby to Astro",{"path":2003,"title":2004},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fmigrating-between-static-site-generators\u002Fmigrating-from-hugo-to-astro-without-breaking-urls","Migrating From Hugo to Astro Without Breaking URLs",{"path":2006,"title":2007},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fmigrating-between-static-site-generators\u002Fmigrating-from-nextjs-pages-router-to-astro","Migrating from Next.js Pages Router to Astro",{"path":2009,"title":2010},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fmigrating-between-static-site-generators\u002Fmigrating-wordpress-to-a-static-site-generator","Migrating WordPress to a Static Site Generator",{"path":2012,"title":2013},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fmigrating-between-static-site-generators\u002Fporting-shortcodes-and-includes-between-generators","Porting Shortcodes and Includes Between Generators",{"path":2015,"title":2016},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fmigrating-between-static-site-generators\u002Frecovering-search-traffic-lost-after-a-generator-migration","Recovering Search Traffic Lost After a Generator Migration",{"path":2018,"title":2019},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fmigrating-between-static-site-generators\u002Freplacing-gatsby-graphql-queries-during-a-migration","Replacing Gatsby GraphQL Queries During a Migration",{"path":2021,"title":2022},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fnextjs-static-export-for-content-sites\u002Ffixing-404s-on-refresh-in-nextjs-static-export","Fixing 404s on Refresh in Next.js Static Export",{"path":2024,"title":2025},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fnextjs-static-export-for-content-sites\u002Fgenerating-sitemaps-and-rss-in-nextjs-static-export","Generating Sitemaps and RSS in Next.js Static Export",{"path":2027,"title":2028},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fnextjs-static-export-for-content-sites\u002Fhandling-dynamic-routes-in-nextjs-static-export","Handling Dynamic Routes in Next.js Static Export",{"path":2030,"title":2031},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fnextjs-static-export-for-content-sites","Next.js Static Export for Content Sites",{"path":2033,"title":2034},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fnextjs-static-export-for-content-sites\u002Fmigrating-from-gatsby-to-nextjs-static-export","Migrating from Gatsby to Next.js Static Export",{"path":2036,"title":2037},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fnextjs-static-export-for-content-sites\u002Fnextjs-app-router-static-export-limitations","Next.js App Router Static Export Limitations",{"path":2039,"title":2040},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fnextjs-static-export-for-content-sites\u002Fnextjs-static-export-vs-astro-for-marketing-sites","Next.js Static Export vs Astro for Marketing",{"path":2042,"title":2043},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fnextjs-static-export-for-content-sites\u002Fnextjs-static-export-vs-gatsby-for-existing-react-sites","Next.js Static Export vs Gatsby for Existing React Sites",{"path":2045,"title":2046},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fnextjs-static-export-for-content-sites\u002Foptimizing-images-in-nextjs-static-export","Optimizing Images in Next.js Static Export",{"path":2048,"title":2049},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fnextjs-static-export-for-content-sites\u002Ftrailing-slash-and-basepath-in-nextjs-static-export","Trailing Slash and basePath in Next.js Static Export",{"path":2051,"title":2052},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fnextjs-static-export-for-content-sites\u002Fusing-mdx-in-nextjs-static-export","Using MDX in Next.js Static Export",{"path":2054,"title":2055},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fsearch-for-static-sites\u002Faccessible-search-ui-for-static-sites","Accessible Search UI for Static Sites",{"path":2057,"title":2058},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fsearch-for-static-sites\u002Fadding-pagefind-to-an-astro-site","Adding Pagefind to an Astro Site",{"path":2060,"title":2061},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fsearch-for-static-sites\u002Fbuilding-a-lunr-index-at-build-time-in-eleventy","Building a Lunr Index at Build Time in Eleventy",{"path":2063,"title":2064},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fsearch-for-static-sites\u002Fcustomizing-the-pagefind-ui","Customizing the Pagefind UI",{"path":2066,"title":2067},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fsearch-for-static-sites\u002Ffixing-missing-results-in-pagefind-indexes","Fixing Missing Results in Pagefind Indexes",{"path":2069,"title":2070},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fsearch-for-static-sites","Search for Static Sites",{"path":2072,"title":2073},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fsearch-for-static-sites\u002Findexing-hugo-sites-with-pagefind","Indexing Hugo Sites with Pagefind",{"path":2075,"title":2076},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fsearch-for-static-sites\u002Fmultilingual-search-on-static-sites","Multilingual Search on Static Sites",{"path":2078,"title":2079},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fsearch-for-static-sites\u002Fpagefind-vs-algolia-docsearch","Pagefind vs Algolia DocSearch",{"path":2081,"title":2082},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fsearch-for-static-sites\u002Fpagefind-vs-lunr-for-small-documentation-sites","Pagefind vs Lunr for Small Documentation Sites",{"path":2084,"title":2085},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fsearch-for-static-sites\u002Fsearch-index-size-budgets-for-large-docs","Search Index Size Budgets for Large Docs",{"path":2087,"title":2088},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fsearch-for-static-sites\u002Fself-hosting-typesense-for-a-static-site","Self-Hosting Typesense for a Static Site",{"path":2090,"title":2091},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fsearch-for-static-sites\u002Ftracking-zero-result-searches","Tracking Zero-Result Searches",{"path":2093,"title":2094},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fssg-framework-selection-matrix\u002Fbest-ssg-for-technical-writers-without-coding-experience","Best SSG for Non-Developer Technical Writers",{"path":2096,"title":2097},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fssg-framework-selection-matrix\u002Fchoosing-an-ssg-for-a-marketing-site-with-non-technical-editors","Choosing an SSG for a Marketing Site with Non-Technical Editors",{"path":2099,"title":2100},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fssg-framework-selection-matrix\u002Fchoosing-an-ssg-for-api-reference-documentation","Choosing an SSG for API Reference Documentation",{"path":2102,"title":2103},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fssg-framework-selection-matrix\u002Fevaluating-ssg-accessibility-defaults","Evaluating SSG Accessibility Defaults",{"path":2105,"title":2106},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fssg-framework-selection-matrix\u002Fgatsby-vs-astro-for-content-sites-in-2026","Gatsby vs Astro for Content Sites in 2026",{"path":2108,"title":2109},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fssg-framework-selection-matrix","SSG Framework Selection Matrix",{"path":2111,"title":2112},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fssg-framework-selection-matrix\u002Fpicking-an-ssg-for-a-multi-language-documentation-site","Picking an SSG for a Multi-Language Docs Site",{"path":2114,"title":2115},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fssg-framework-selection-matrix\u002Fscoring-ssg-long-term-maintenance-risk","Scoring SSG Long-Term Maintenance Risk",{"path":2117,"title":2118},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fssg-framework-selection-matrix\u002Fssg-selection-checklist-for-engineering-teams","SSG Selection Checklist for Engineering Teams",{"path":2120,"title":2121},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fssg-framework-selection-matrix\u002Ftotal-cost-of-ownership-for-static-site-generators","Total Cost of Ownership for Static Site Generators",{"path":2123,"title":2124},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fssg-framework-selection-matrix\u002Fwhen-a-static-site-generator-is-the-wrong-choice","When a Static Site Generator Is the Wrong Choice",{"path":2126,"title":2127},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Ftechnical-seo-for-static-sites\u002Fadding-json-ld-structured-data-at-build-time","Adding JSON-LD Structured Data at Build Time",{"path":2129,"title":2130},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Ftechnical-seo-for-static-sites\u002Fcanonical-urls-and-duplicate-content-on-static-sites","Canonical URLs and Duplicate Content on Static Sites",{"path":2132,"title":2133},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Ftechnical-seo-for-static-sites\u002Ffixing-pages-crawled-but-not-indexed-on-static-sites","Fixing Pages Crawled but Not Indexed on Static Sites",{"path":2135,"title":2136},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Ftechnical-seo-for-static-sites\u002Ffixing-soft-404s-on-static-hosts","Fixing Soft 404s on Static Hosts",{"path":2138,"title":2139},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Ftechnical-seo-for-static-sites\u002Fgenerating-breadcrumb-structured-data-in-astro","Generating Breadcrumb Structured Data in Astro",{"path":2141,"title":2142},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Ftechnical-seo-for-static-sites\u002Fgenerating-sitemaps-for-large-static-sites","Generating Sitemaps for Large Static Sites",{"path":2144,"title":2145},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Ftechnical-seo-for-static-sites","Technical SEO for Static Sites",{"path":2147,"title":2148},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Ftechnical-seo-for-static-sites\u002Frobots-txt-and-noindex-for-preview-and-staging","robots.txt and noindex for Preview and Staging",{"path":2150,"title":2151},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Ftechnical-seo-for-static-sites\u002Frss-and-atom-feeds-for-static-blogs","RSS and Atom Feeds for Static Blogs",{"path":2153,"title":2154},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Ftechnical-seo-for-static-sites\u002Fseo-safe-pagination-and-tag-pages","SEO-Safe Pagination and Tag Pages",{"path":2156,"title":2157},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fcdn-caching-rules-for-ssgs\u002Fcache-busting-with-content-hashed-filenames","Cache Busting with Content-Hashed Filenames",{"path":2159,"title":2160},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fcdn-caching-rules-for-ssgs\u002Fcache-control-headers-for-static-sites-in-nginx","Cache-Control Headers for Static Sites in Nginx",{"path":2162,"title":2163},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fcdn-caching-rules-for-ssgs\u002Fcache-control-headers-on-s3-and-cloudfront","Cache-Control Headers on S3 and CloudFront",{"path":2165,"title":2166},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fcdn-caching-rules-for-ssgs\u002Fcache-control-headers-on-vercel-for-static-sites","Cache-Control Headers on Vercel for Static Sites",{"path":2168,"title":2169},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fcdn-caching-rules-for-ssgs\u002Fcache-keys-and-query-strings-on-cdns","Cache Keys and Query Strings on CDNs",{"path":2171,"title":2172},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fcdn-caching-rules-for-ssgs\u002Fcaching-404s-and-redirects-at-the-edge","Caching 404s and Redirects at the Edge",{"path":2174,"title":2175},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fcdn-caching-rules-for-ssgs\u002Fcloudflare-vs-cloudfront-cache-hit-ratios-for-static-sites","Cloudflare vs CloudFront Cache Hit Ratios for Static Sites",{"path":2177,"title":2178},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fcdn-caching-rules-for-ssgs\u002Ffixing-stale-html-after-deploys-on-cloudflare","Fixing Stale HTML After Deploys on Cloudflare",{"path":2180,"title":2181},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fcdn-caching-rules-for-ssgs","CDN Caching Rules for SSGs",{"path":2183,"title":2184},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fcdn-caching-rules-for-ssgs\u002Fpurging-the-cdn-cache-after-a-static-deploy","Purging the CDN Cache After a Static Deploy",{"path":2186,"title":2187},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fcdn-caching-rules-for-ssgs\u002Fsetting-cache-control-headers-on-cloudflare-pages","Cache-Control Headers on Cloudflare Pages",{"path":2189,"title":2190},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fcdn-caching-rules-for-ssgs\u002Fsetting-up-proper-cache-headers-on-netlify","Proper Cache Headers on Netlify for SSGs",{"path":2192,"title":2193},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fcdn-caching-rules-for-ssgs\u002Fstale-while-revalidate-for-static-html","Stale-While-Revalidate for Static HTML",{"path":2195,"title":2196},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fcdn-caching-rules-for-ssgs\u002Ftiered-caching-and-origin-shield","Tiered Caching and Origin Shield",{"path":2198,"title":2199},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fcss-and-javascript-asset-optimization\u002Fcode-splitting-and-module-preload-in-vite-based-ssgs","Code Splitting and Module Preload in Vite-Based SSGs",{"path":2201,"title":2202},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fcss-and-javascript-asset-optimization\u002Ffixing-missing-tailwind-classes-in-production-builds","Fixing Missing Tailwind Classes in Production Builds",{"path":2204,"title":2205},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fcss-and-javascript-asset-optimization\u002Ffixing-unused-javascript-warnings-on-static-pages","Fixing Unused JavaScript Warnings on Static Pages",{"path":2207,"title":2208},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fcss-and-javascript-asset-optimization","CSS and JavaScript Asset Optimization",{"path":2210,"title":2211},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fcss-and-javascript-asset-optimization\u002Finlining-critical-css-on-static-sites","Inlining Critical CSS on Static Sites",{"path":2213,"title":2214},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fcss-and-javascript-asset-optimization\u002Fkeeping-tailwind-css-output-small-on-static-sites","Keeping Tailwind CSS Output Small on Static Sites",{"path":2216,"title":2217},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fcss-and-javascript-asset-optimization\u002Fminifying-html-css-and-js-in-eleventy","Minifying HTML, CSS and JS in Eleventy",{"path":2219,"title":2220},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fcss-and-javascript-asset-optimization\u002Fprecompressing-assets-with-brotli-and-zstd","Precompressing Assets with Brotli and Zstd",{"path":2222,"title":2223},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fcss-and-javascript-asset-optimization\u002Fpurging-unused-css-with-tailwind-and-lightningcss","Purging Unused CSS with Tailwind and Lightning CSS",{"path":2225,"title":2226},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fcss-and-javascript-asset-optimization\u002Fsvg-icon-sprites-vs-inline-icons","SVG Icon Sprites vs Inline Icons",{"path":2228,"title":2229},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fcss-and-javascript-asset-optimization\u002Ftailwind-v4-in-astro-without-postcss-plugins","Tailwind v4 in Astro Without PostCSS Plugins",{"path":2231,"title":2232},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fcumulative-layout-shift-fixes-for-static-sites\u002Fcls-from-client-side-rendered-components","CLS from Client-Side Rendered Components",{"path":2234,"title":2235},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fcumulative-layout-shift-fixes-for-static-sites\u002Fdebugging-cls-with-the-layout-instability-api","Debugging CLS with the Layout Instability API",{"path":2237,"title":2238},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fcumulative-layout-shift-fixes-for-static-sites\u002Feliminating-layout-shift-from-web-fonts","Eliminating Layout Shift From Web Fonts",{"path":2240,"title":2241},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fcumulative-layout-shift-fixes-for-static-sites\u002Ffixing-cls-from-cookie-banners","Fixing CLS from Cookie Banners",{"path":2243,"title":2244},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fcumulative-layout-shift-fixes-for-static-sites\u002Ffixing-cls-from-dynamic-table-of-contents-widgets","Fixing CLS From Dynamic Table of Contents Widgets",{"path":2246,"title":2247},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fcumulative-layout-shift-fixes-for-static-sites\u002Ffixing-cls-from-images-without-dimensions-in-markdown","Fixing CLS From Images Without Dimensions in Markdown",{"path":2249,"title":2250},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fcumulative-layout-shift-fixes-for-static-sites\u002Ffixing-cls-from-late-loading-embeds","Fixing CLS From Late-Loading Embeds",{"path":2252,"title":2253},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fcumulative-layout-shift-fixes-for-static-sites\u002Ffixing-cls-from-sticky-headers-and-anchor-links","Fixing CLS from Sticky Headers and Anchor Links",{"path":2255,"title":2256},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fcumulative-layout-shift-fixes-for-static-sites","Cumulative Layout Shift Fixes for Static Sites",{"path":2258,"title":2259},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fcumulative-layout-shift-fixes-for-static-sites\u002Fmeasuring-cls-in-the-field-with-web-vitals-js","Measuring CLS in the Field With web-vitals.js",{"path":2261,"title":2262},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fcumulative-layout-shift-fixes-for-static-sites\u002Freserving-space-for-ad-and-promo-slots","Reserving Space for Ad and Promo Slots",{"path":2264,"title":2265},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fcumulative-layout-shift-fixes-for-static-sites\u002Freserving-space-for-images-and-embeds-to-stop-layout-shift","Reserving Space for Images and Embeds",{"path":2267,"title":2268},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Ffont-loading-strategies-for-static-sites\u002Fauditing-font-payload-per-page","Auditing Font Payload per Page",{"path":2270,"title":2271},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Ffont-loading-strategies-for-static-sites\u002Ffixing-invisible-text-while-web-fonts-load","Fixing Invisible Text While Web Fonts Load",{"path":2273,"title":2274},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Ffont-loading-strategies-for-static-sites\u002Ffont-display-optional-vs-swap","font-display: optional vs swap",{"path":2276,"title":2277},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Ffont-loading-strategies-for-static-sites","Font Loading Strategies for Static Sites",{"path":2279,"title":2280},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Ffont-loading-strategies-for-static-sites\u002Fmetric-matched-fallback-fonts-with-size-adjust","Metric-Matched Fallback Fonts with size-adjust",{"path":2282,"title":2283},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Ffont-loading-strategies-for-static-sites\u002Fpreloading-fonts-without-double-downloads","Preloading Fonts Without Double Downloads",{"path":2285,"title":2286},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Ffont-loading-strategies-for-static-sites\u002Fself-hosted-fonts-vs-google-fonts-for-static-sites","Self-Hosted Fonts vs Google Fonts for Static Sites",{"path":2288,"title":2289},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Ffont-loading-strategies-for-static-sites\u002Fself-hosting-google-fonts-to-eliminate-layout-shift","Self-Host Google Fonts to Eliminate Layout Shift",{"path":2291,"title":2292},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Ffont-loading-strategies-for-static-sites\u002Fsubsetting-variable-fonts-for-faster-first-render","Subsetting Variable Fonts for Faster First Render",{"path":2294,"title":2295},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Ffont-loading-strategies-for-static-sites\u002Fusing-system-font-stacks-to-skip-webfonts","Using System Font Stacks to Skip Web Fonts",{"path":2297,"title":2298},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Ffont-loading-strategies-for-static-sites\u002Fvariable-fonts-vs-static-weights","Variable Fonts vs Static Weights",{"path":2300,"title":2301},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fimage-optimization-pipelines-in-astro\u002Fart-direction-with-the-picture-element","Art Direction with the Picture Element",{"path":2303,"title":2304},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fimage-optimization-pipelines-in-astro\u002Fblur-up-placeholders-with-lqip","Blur-Up Placeholders with LQIP",{"path":2306,"title":2307},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fimage-optimization-pipelines-in-astro\u002Fbuilding-an-image-cdn-pipeline-for-static-sites","Building an Image CDN Pipeline for Static Sites",{"path":2309,"title":2310},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fimage-optimization-pipelines-in-astro\u002Fcaching-processed-images-between-builds","Caching Processed Images Between Builds",{"path":2312,"title":2313},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fimage-optimization-pipelines-in-astro\u002Ffixing-blurry-images-from-astro-assets-resizing","Fixing Blurry Images From astro:assets Resizing",{"path":2315,"title":2316},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fimage-optimization-pipelines-in-astro\u002Fgenerating-open-graph-images-at-build-time","Generating Open Graph Images at Build Time",{"path":2318,"title":2319},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fimage-optimization-pipelines-in-astro","Image Optimization Pipelines in Astro",{"path":2321,"title":2322},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fimage-optimization-pipelines-in-astro\u002Flazy-loading-images-without-hurting-lcp","Lazy-Loading Images Without Hurting LCP",{"path":2324,"title":2325},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fimage-optimization-pipelines-in-astro\u002Foptimizing-webp-images-in-hugo-without-plugins","Optimizing WebP Images in Hugo Without Plugins",{"path":2327,"title":2328},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fimage-optimization-pipelines-in-astro\u002Fresponsive-images-with-srcset-in-eleventy","Responsive Images with srcset in Eleventy",{"path":2330,"title":2331},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fimage-optimization-pipelines-in-astro\u002Fserving-astro-images-through-cloudflare-image-resizing","Serving Astro Images Through Cloudflare Image Resizing",{"path":2333,"title":2334},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fimage-optimization-pipelines-in-astro\u002Fserving-avif-with-fallbacks-on-static-sites","Serving AVIF With Fallbacks on Static Sites",{"path":2336,"title":2337},"\u002Fperformance-optimization-core-web-vitals-for-ssgs","Core Web Vitals Optimization for SSGs",{"path":2339,"title":2340},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fjavascript-hydration-partial-rendering\u002Fastro-islands-vs-full-hydration-performance","Astro Islands vs Full Hydration Performance",{"path":2342,"title":2343},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fjavascript-hydration-partial-rendering\u002Fbreaking-up-long-tasks-on-static-sites","Breaking Up Long Tasks on Static Sites",{"path":2345,"title":2346},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fjavascript-hydration-partial-rendering\u002Fdeferring-hydration-with-client-visible-in-astro","Deferring Hydration with client:visible in Astro",{"path":2348,"title":2349},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fjavascript-hydration-partial-rendering\u002Ffixing-hydration-mismatch-errors-in-astro-islands","Fixing Hydration Mismatch Errors in Astro Islands",{"path":2351,"title":2352},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fjavascript-hydration-partial-rendering\u002Ffixing-poor-inp-on-static-pages-with-heavy-widgets","Fixing Poor INP on Static Pages With Heavy Widgets",{"path":2354,"title":1705},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fjavascript-hydration-partial-rendering\u002Fhow-to-reduce-bundle-size-in-eleventy-builds",{"path":2356,"title":2357},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fjavascript-hydration-partial-rendering","JavaScript Hydration & Partial Rendering",{"path":2359,"title":2360},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fjavascript-hydration-partial-rendering\u002Fmeasuring-inp-on-static-sites-with-real-user-monitoring","Measuring INP on Static Sites with RUM",{"path":2362,"title":2363},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fjavascript-hydration-partial-rendering\u002Fpreact-vs-react-islands-bundle-size","Preact vs React Islands Bundle Size",{"path":2365,"title":2366},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fjavascript-hydration-partial-rendering\u002Freplacing-react-islands-with-web-components","Replacing React Islands with Web Components",{"path":2368,"title":2369},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fjavascript-hydration-partial-rendering\u002Fserver-islands-in-astro","Server Islands in Astro",{"path":2371,"title":2372},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Flargest-contentful-paint-optimization-for-static-sites\u002Feliminating-render-blocking-css-on-static-sites","Eliminating Render-Blocking CSS on Static Sites",{"path":2374,"title":1712},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Flargest-contentful-paint-optimization-for-static-sites\u002Ffixing-lcp-on-text-heavy-documentation-pages",{"path":2376,"title":2377},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Flargest-contentful-paint-optimization-for-static-sites\u002Ffixing-lcp-regressions-caused-by-cookie-consent-tools","Fixing LCP Regressions Caused by Cookie Consent Tools",{"path":2379,"title":2380},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Flargest-contentful-paint-optimization-for-static-sites\u002Ffixing-lcp-when-the-hero-is-a-background-image","Fixing LCP When the Hero Is a Background Image",{"path":2382,"title":2383},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Flargest-contentful-paint-optimization-for-static-sites\u002Ffixing-slow-lcp-on-pages-with-embedded-video","Fixing Slow LCP on Pages With Embedded Video",{"path":2385,"title":2386},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Flargest-contentful-paint-optimization-for-static-sites\u002Fimproving-ttfb-for-static-html","Improving TTFB for Static HTML",{"path":2388,"title":2389},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Flargest-contentful-paint-optimization-for-static-sites","Largest Contentful Paint Optimization for Static Sites",{"path":2391,"title":2392},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Flargest-contentful-paint-optimization-for-static-sites\u002Fmeasuring-lcp-subparts-with-devtools","Measuring LCP Subparts with DevTools",{"path":2394,"title":2395},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Flargest-contentful-paint-optimization-for-static-sites\u002Foptimizing-lcp-on-astro-with-priority-hints","Optimizing LCP on Astro with Priority Hints",{"path":2397,"title":2398},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Flargest-contentful-paint-optimization-for-static-sites\u002Freducing-lcp-from-hero-images-on-static-sites","Reducing LCP from Hero Images on Static Sites",{"path":2400,"title":2401},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fperformance-budgets-and-lighthouse-ci\u002Fcomparing-lab-and-field-data-with-crux","Comparing Lab and Field Data with CrUX",{"path":2403,"title":2404},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fperformance-budgets-and-lighthouse-ci","Performance Budgets and Lighthouse CI",{"path":2406,"title":2407},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fperformance-budgets-and-lighthouse-ci\u002Flighthouse-ci-vs-webpagetest-for-regression-gates","Lighthouse CI vs WebPageTest for Regression Gates",{"path":2409,"title":2410},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fperformance-budgets-and-lighthouse-ci\u002Fmeasuring-web-vitals-in-playwright-tests","Measuring Web Vitals in Playwright Tests",{"path":2412,"title":2413},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fperformance-budgets-and-lighthouse-ci\u002Fper-template-performance-budgets","Per-Template Performance Budgets",{"path":2415,"title":2416},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fperformance-budgets-and-lighthouse-ci\u002Fperformance-testing-on-throttled-mobile-profiles","Performance Testing on Throttled Mobile Profiles",{"path":2418,"title":2419},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fperformance-budgets-and-lighthouse-ci\u002Freducing-lighthouse-score-variance-in-ci","Reducing Lighthouse Score Variance in CI",{"path":2421,"title":2422},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fperformance-budgets-and-lighthouse-ci\u002Frunning-webpagetest-scripts-against-preview-deploys","Running WebPageTest Scripts Against Preview Deploys",{"path":2424,"title":2425},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fperformance-budgets-and-lighthouse-ci\u002Fsetting-up-lighthouse-ci-for-a-static-site","Setting Up Lighthouse CI for a Static Site",{"path":2427,"title":2428},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fperformance-budgets-and-lighthouse-ci\u002Ftracking-bundle-size-per-pull-request","Tracking Bundle Size per Pull Request",{"path":2430,"title":2431},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fperformance-budgets-and-lighthouse-ci\u002Ftracking-page-weight-over-time","Tracking Page Weight Over Time",{"path":2433,"title":2434},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fperformance-budgets-and-lighthouse-ci\u002Fwriting-a-performance-budget-that-fails-builds","Writing a Performance Budget That Fails Builds",{"path":2436,"title":2437},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fresource-hints-and-navigation-speed\u002Fauditing-unused-preloads","Auditing Unused Preloads",{"path":2439,"title":2440},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fresource-hints-and-navigation-speed\u002Fearly-hints-103-on-cloudflare","Early Hints (103) on Cloudflare",{"path":2442,"title":2443},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fresource-hints-and-navigation-speed\u002Ffetchpriority-beyond-the-hero-image","Fetchpriority Beyond the Hero Image",{"path":2445,"title":2446},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fresource-hints-and-navigation-speed\u002Ffixing-wasted-preloads-flagged-by-chrome","Fixing Wasted Preloads Flagged by Chrome",{"path":2448,"title":2449},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fresource-hints-and-navigation-speed","Resource Hints and Navigation Speed",{"path":2451,"title":2452},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fresource-hints-and-navigation-speed\u002Finstant-navigation-with-speculation-rules","Instant Navigation with Speculation Rules",{"path":2454,"title":2455},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fresource-hints-and-navigation-speed\u002Fpreconnect-vs-dns-prefetch-on-static-sites","Preconnect vs DNS-Prefetch on Static Sites",{"path":2457,"title":2458},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fresource-hints-and-navigation-speed\u002Fprefetching-links-in-astro","Prefetching Links in Astro",{"path":2460,"title":2461},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fresource-hints-and-navigation-speed\u002Fview-transitions-in-astro-without-hurting-vitals","View Transitions in Astro Without Hurting Vitals",{"path":2463,"title":2464},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fresource-hints-and-navigation-speed\u002Fview-transitions-on-multi-page-static-sites","View Transitions on Multi-Page Static Sites",{"path":2466,"title":2467},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fthird-party-script-performance-on-static-sites\u002Fauditing-third-party-scripts-with-lighthouse","Auditing Third-Party Scripts With Lighthouse",{"path":2469,"title":2470},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fthird-party-script-performance-on-static-sites\u002Ffacades-for-chat-widgets-and-maps","Facades for Chat Widgets and Maps",{"path":2472,"title":2473},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fthird-party-script-performance-on-static-sites\u002Ffixing-main-thread-blocking-from-chat-widgets","Fixing Main-Thread Blocking From Chat Widgets",{"path":2475,"title":2476},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fthird-party-script-performance-on-static-sites","Third-Party Script Performance on Static Sites",{"path":2478,"title":2479},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fthird-party-script-performance-on-static-sites\u002Flazy-loading-youtube-embeds-on-static-sites","Lazy-Loading YouTube Embeds on Static Sites",{"path":2481,"title":2482},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fthird-party-script-performance-on-static-sites\u002Floading-google-tag-manager-without-hurting-inp","Loading Google Tag Manager Without Hurting INP",{"path":2484,"title":2485},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fthird-party-script-performance-on-static-sites\u002Fmeasuring-third-party-cost-with-request-blocking","Measuring Third-Party Cost with Request Blocking",{"path":2487,"title":2488},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fthird-party-script-performance-on-static-sites\u002Fprivacy-friendly-analytics-compared-by-page-weight","Privacy-Friendly Analytics Compared by Page Weight",{"path":2490,"title":2491},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fthird-party-script-performance-on-static-sites\u002Frunning-third-party-scripts-in-a-web-worker-with-partytown","Running Third-Party Scripts in a Web Worker with Partytown",{"path":2493,"title":2494},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fthird-party-script-performance-on-static-sites\u002Fself-hosting-analytics-to-cut-third-party-requests","Self-Hosting Analytics to Cut Third-Party Requests",{"path":2496,"title":2497},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fcloudflare-pages-edge-caching-setup\u002Fautomating-eleventy-deployments-with-cloudflare-pages","Automating Eleventy Deployments on Cloudflare Pages",{"path":2499,"title":2500},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fcloudflare-pages-edge-caching-setup\u002Fbranch-deploy-controls-on-cloudflare-pages","Branch Deploy Controls on Cloudflare Pages",{"path":2502,"title":2503},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fcloudflare-pages-edge-caching-setup\u002Fcloudflare-pages-functions-middleware","Cloudflare Pages Functions Middleware",{"path":2505,"title":2506},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fcloudflare-pages-edge-caching-setup\u002Fconfiguring-redirects-on-cloudflare-pages","Configuring Redirects on Cloudflare Pages",{"path":2508,"title":2509},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fcloudflare-pages-edge-caching-setup\u002Fcustom-domains-and-tls-on-cloudflare-pages","Custom Domains and TLS on Cloudflare Pages",{"path":2511,"title":2512},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fcloudflare-pages-edge-caching-setup\u002Fdeploying-astro-to-cloudflare-workers-static-assets","Deploying Astro to Cloudflare Workers Static Assets",{"path":2514,"title":2515},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fcloudflare-pages-edge-caching-setup\u002Fdeploying-hugo-to-cloudflare-pages-and-workers","Deploying Hugo to Cloudflare Pages and Workers",{"path":2517,"title":2518},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fcloudflare-pages-edge-caching-setup\u002Fdeploying-to-cloudflare-from-github-actions-with-wrangler","Deploying to Cloudflare From GitHub Actions With Wrangler",{"path":2520,"title":2521},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fcloudflare-pages-edge-caching-setup\u002Ffixing-redirect-loops-on-cloudflare-pages","Fixing Redirect Loops on Cloudflare Pages",{"path":2523,"title":2524},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fcloudflare-pages-edge-caching-setup","Cloudflare Pages Edge Caching Setup",{"path":2526,"title":2527},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fcloudflare-pages-edge-caching-setup\u002Fmigrating-from-cloudflare-pages-to-workers-static-assets","Migrating from Cloudflare Pages to Workers Static Assets",{"path":2529,"title":2530},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fcontent-workflows-for-documentation-teams\u002Fchecking-links-in-pull-requests","Checking Links in Pull Requests",{"path":2532,"title":2533},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fcontent-workflows-for-documentation-teams\u002Fcontent-linting-with-markdownlint","Content Linting with markdownlint",{"path":2535,"title":2536},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fcontent-workflows-for-documentation-teams\u002Fdocs-as-code-review-workflow-for-writers","Docs-as-Code Review Workflow for Writers",{"path":2538,"title":2539},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fcontent-workflows-for-documentation-teams\u002Feditorial-checks-with-vale-in-ci","Editorial Checks with Vale in CI",{"path":2541,"title":2542},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fcontent-workflows-for-documentation-teams\u002Fgit-based-cms-options-for-static-sites-compared","Git-Based CMS Options for Static Sites Compared",{"path":2544,"title":2545},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fcontent-workflows-for-documentation-teams","Content Workflows for Documentation Teams",{"path":2547,"title":2548},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fcontent-workflows-for-documentation-teams\u002Fmanaging-images-in-docs-as-code-repos","Managing Images in Docs-as-Code Repos",{"path":2550,"title":2551},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fcontent-workflows-for-documentation-teams\u002Frelease-notes-and-changelogs-from-git","Release Notes and Changelogs from Git",{"path":2553,"title":2554},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fcontent-workflows-for-documentation-teams\u002Fscheduled-content-publishing-with-github-actions","Scheduled Content Publishing With GitHub Actions",{"path":2556,"title":2557},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fcontent-workflows-for-documentation-teams\u002Fscheduling-content-publication-with-cron-triggered-builds","Scheduling Content Publication With Cron-Triggered Builds",{"path":2559,"title":2560},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fcontent-workflows-for-documentation-teams\u002Fwiring-a-headless-cms-to-a-static-build","Wiring a Headless CMS to a Static Build",{"path":2562,"title":2563},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fgithub-actions-for-automated-ssg-builds\u002Fbuilding-astro-sites-with-github-actions","Building Astro Sites with GitHub Actions",{"path":2565,"title":2566},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fgithub-actions-for-automated-ssg-builds\u002Fcaching-node-modules-in-github-actions-for-faster-ssg-builds","Caching node_modules in GitHub Actions",{"path":2568,"title":2569},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fgithub-actions-for-automated-ssg-builds\u002Fconcurrency-groups-to-cancel-stale-builds","Concurrency Groups to Cancel Stale Builds",{"path":2571,"title":2572},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fgithub-actions-for-automated-ssg-builds\u002Fdeploying-to-github-pages-with-actions","Deploying to GitHub Pages with Actions",{"path":2574,"title":2575},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fgithub-actions-for-automated-ssg-builds\u002Fdeploying-to-multiple-environments-from-one-workflow","Deploying to Multiple Environments From One Workflow",{"path":2577,"title":2578},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fgithub-actions-for-automated-ssg-builds\u002Ffixing-flaky-static-site-builds-in-github-actions","Fixing Flaky Static Site Builds in GitHub Actions",{"path":2580,"title":2581},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fgithub-actions-for-automated-ssg-builds\u002Fhow-to-set-up-github-actions-for-hugo-deployments","GitHub Actions for Hugo Deployments",{"path":2583,"title":2584},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fgithub-actions-for-automated-ssg-builds","GitHub Actions for Automated SSG Builds",{"path":2586,"title":2587},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fgithub-actions-for-automated-ssg-builds\u002Fmatrix-builds-for-multi-site-monorepos","Matrix Builds for Multi-Site Monorepos",{"path":2589,"title":2590},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fgithub-actions-for-automated-ssg-builds\u002Fpinning-actions-by-commit-sha","Pinning Actions by Commit SHA",{"path":2592,"title":2593},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fgithub-actions-for-automated-ssg-builds\u002Fpublishing-any-generator-to-github-pages-with-actions","Publishing Any Generator to GitHub Pages With Actions",{"path":2595,"title":2596},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fgithub-actions-for-automated-ssg-builds\u002Freusable-workflows-for-ssg-builds","Reusable Workflows for SSG Builds",{"path":2598,"title":2599},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fincremental-builds-and-build-caching-for-ssgs\u002Fbuild-caching-on-netlify-and-vercel","Build Caching on Netlify and Vercel",{"path":2601,"title":2602},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fincremental-builds-and-build-caching-for-ssgs\u002Fcaching-hugo-builds-in-github-actions","Caching Hugo Builds in GitHub Actions",{"path":2604,"title":2605},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fincremental-builds-and-build-caching-for-ssgs\u002Fdeploying-only-changed-files","Deploying Only Changed Files",{"path":2607,"title":1400},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fincremental-builds-and-build-caching-for-ssgs\u002Fenabling-incremental-builds-in-eleventy",{"path":2609,"title":2610},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fincremental-builds-and-build-caching-for-ssgs\u002Ffixing-stale-pages-from-incremental-builds","Fixing Stale Pages From Incremental Builds",{"path":2612,"title":2613},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fincremental-builds-and-build-caching-for-ssgs\u002Fincremental-builds-in-astro-with-the-content-layer","Incremental Builds in Astro with the Content Layer",{"path":2615,"title":2616},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fincremental-builds-and-build-caching-for-ssgs\u002Fincremental-rebuild-times-across-astro-eleventy-and-hugo","Incremental Rebuild Times Across Astro, Eleventy and Hugo",{"path":2618,"title":2619},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fincremental-builds-and-build-caching-for-ssgs","Incremental Builds and Build Caching for SSGs",{"path":2621,"title":2622},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fincremental-builds-and-build-caching-for-ssgs\u002Fmeasuring-build-time-regressions-in-ci","Measuring Build-Time Regressions in CI",{"path":2624,"title":2625},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fincremental-builds-and-build-caching-for-ssgs\u002Fremote-caching-with-turborepo-for-ssg-monorepos","Remote Caching with Turborepo for SSG Monorepos",{"path":2627,"title":2628},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fincremental-builds-and-build-caching-for-ssgs\u002Fsharing-build-cache-across-ci-runners","Sharing Build Cache Across CI Runners",{"path":2630,"title":2631},"\u002Fproduction-ready-deployment-cicd-workflows","Production-Ready Deployment & CI\u002FCD for SSGs",{"path":2633,"title":2634},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fmonitoring-static-sites-in-production\u002Falerting-on-cache-hit-ratio-drops","Alerting on Cache Hit Ratio Drops",{"path":2636,"title":2637},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fmonitoring-static-sites-in-production\u002Fbuilding-a-core-web-vitals-dashboard-from-rum-data","Building a Core Web Vitals Dashboard from RUM Data",{"path":2639,"title":2640},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fmonitoring-static-sites-in-production\u002Fcrawling-for-broken-links-on-a-schedule","Crawling for Broken Links on a Schedule",{"path":2642,"title":2643},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fmonitoring-static-sites-in-production\u002Ffinding-the-cause-of-a-sudden-field-lcp-drop","Finding the Cause of a Sudden Field LCP Drop",{"path":2645,"title":2646},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fmonitoring-static-sites-in-production","Monitoring Static Sites in Production",{"path":2648,"title":2649},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fmonitoring-static-sites-in-production\u002Flogging-404s-at-the-edge","Logging 404s at the Edge",{"path":2651,"title":2652},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fmonitoring-static-sites-in-production\u002Fmonitoring-tls-certificate-expiry","Monitoring TLS Certificate Expiry",{"path":2654,"title":2655},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fmonitoring-static-sites-in-production\u002Freal-user-error-tracking-on-static-sites","Real-User Error Tracking on Static Sites",{"path":2657,"title":2658},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fmonitoring-static-sites-in-production\u002Fsynthetic-monitoring-with-scheduled-playwright-checks","Synthetic Monitoring With Scheduled Playwright Checks",{"path":2660,"title":2661},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fmonitoring-static-sites-in-production\u002Ftracking-deploy-markers-in-analytics","Tracking Deploy Markers in Analytics",{"path":2663,"title":2664},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fmonitoring-static-sites-in-production\u002Fuptime-and-synthetic-checks-for-static-sites","Uptime and Synthetic Checks for Static Sites",{"path":2666,"title":2667},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fnetlify-vs-vercel-deployment-strategies\u002Fbandwidth-pricing-for-static-sites-across-netlify-vercel-and-cloudflare","Static Site Bandwidth Pricing: Netlify, Vercel, Cloudflare",{"path":2669,"title":2670},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fnetlify-vs-vercel-deployment-strategies\u002Fconfiguring-redirects-on-vercel-for-static-sites","Configuring Redirects on Vercel for Static Sites",{"path":2672,"title":2673},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fnetlify-vs-vercel-deployment-strategies\u002Fconfiguring-vercel-for-hugo-and-eleventy","Configuring Vercel for Hugo and Eleventy",{"path":2675,"title":2676},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fnetlify-vs-vercel-deployment-strategies\u002Fdeploying-astro-to-vercel-as-a-fully-static-site","Deploying Astro to Vercel as a Fully Static Site",{"path":2678,"title":2679},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fnetlify-vs-vercel-deployment-strategies\u002Ffixing-netlify-builds-that-exceed-the-time-limit","Fixing Netlify Builds That Exceed the Time Limit",{"path":2681,"title":2682},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fnetlify-vs-vercel-deployment-strategies\u002Ffixing-vercel-builds-that-run-out-of-memory","Fixing Vercel Builds That Run Out of Memory",{"path":2684,"title":2685},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fnetlify-vs-vercel-deployment-strategies","Netlify vs Vercel Deployment Strategies",{"path":2687,"title":2688},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fnetlify-vs-vercel-deployment-strategies\u002Fnetlify-build-hooks-for-content-updates","Netlify Build Hooks for Content Updates",{"path":2690,"title":2691},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fnetlify-vs-vercel-deployment-strategies\u002Fnetlify-edge-functions-for-static-sites","Netlify Edge Functions for Static Sites",{"path":2693,"title":2694},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fnetlify-vs-vercel-deployment-strategies\u002Fnetlify-redirects-and-rewrites-for-static-sites","Netlify Redirects and Rewrites for Static Sites",{"path":2696,"title":2697},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fnetlify-vs-vercel-deployment-strategies\u002Fsetting-up-deploy-previews-on-netlify-for-every-pull-request","Netlify Deploy Previews for Every Pull Request",{"path":2699,"title":2700},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fnetlify-vs-vercel-deployment-strategies\u002Fvercel-build-output-api-for-custom-ssgs","Vercel Build Output API for Custom SSGs",{"path":2702,"title":2703},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fnetlify-vs-vercel-deployment-strategies\u002Fvercel-isr-vs-static-generation-for-ssgs","Vercel ISR vs Static Generation for SSGs",{"path":2705,"title":2706},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fpreview-environments-for-pull-requests\u002Fautomating-preview-deploy-pipelines-with-github-actions","Automating Preview Deploy Pipelines with GitHub Actions",{"path":2708,"title":2709},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fpreview-environments-for-pull-requests\u002Fcleaning-up-stale-preview-deployments","Cleaning Up Stale Preview Deployments",{"path":2711,"title":2712},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fpreview-environments-for-pull-requests\u002Fcommenting-on-preview-deploys","Commenting on Preview Deploys",{"path":2714,"title":2715},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fpreview-environments-for-pull-requests\u002Ffixing-preview-deploys-leaking-into-search-results","Fixing Preview Deploys Leaking Into Search Results",{"path":2717,"title":2718},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fpreview-environments-for-pull-requests","Preview Environments for Pull Requests",{"path":2720,"title":2721},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fpreview-environments-for-pull-requests\u002Fpassword-protecting-preview-deployments","Password-Protecting Preview Deployments",{"path":2723,"title":2724},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fpreview-environments-for-pull-requests\u002Fpreview-deploys-for-monorepos","Preview Deploys for Monorepos",{"path":2726,"title":2727},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fpreview-environments-for-pull-requests\u002Fpreviewing-headless-cms-drafts","Previewing Headless CMS Drafts",{"path":2729,"title":2730},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fpreview-environments-for-pull-requests\u002Fpull-request-previews-for-github-pages-sites","Pull Request Previews for GitHub Pages Sites",{"path":2732,"title":2733},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fpreview-environments-for-pull-requests\u002Fvisual-regression-testing-on-preview-deploys","Visual Regression Testing on Preview Deploys",{"path":2735,"title":2736},"\u002Fproduction-ready-deployment-cicd-workflows\u002Frollbacks-and-deploy-safety-for-static-sites\u002Fatomic-deploys-vs-incremental-uploads","Atomic Deploys vs Incremental Uploads",{"path":2738,"title":2739},"\u002Fproduction-ready-deployment-cicd-workflows\u002Frollbacks-and-deploy-safety-for-static-sites\u002Fblue-green-deploys-for-static-sites","Blue-Green Deploys for Static Sites",{"path":2741,"title":2742},"\u002Fproduction-ready-deployment-cicd-workflows\u002Frollbacks-and-deploy-safety-for-static-sites\u002Fcanary-releases-for-static-sites","Canary Releases for Static Sites",{"path":2744,"title":2745},"\u002Fproduction-ready-deployment-cicd-workflows\u002Frollbacks-and-deploy-safety-for-static-sites\u002Ffeature-flags-on-static-sites","Feature Flags on Static Sites",{"path":2747,"title":2748},"\u002Fproduction-ready-deployment-cicd-workflows\u002Frollbacks-and-deploy-safety-for-static-sites","Rollbacks and Deploy Safety for Static Sites",{"path":2750,"title":2751},"\u002Fproduction-ready-deployment-cicd-workflows\u002Frollbacks-and-deploy-safety-for-static-sites\u002Fkeeping-old-assets-alive-after-deploy","Keeping Old Assets Alive After Deploy",{"path":2753,"title":2754},"\u002Fproduction-ready-deployment-cicd-workflows\u002Frollbacks-and-deploy-safety-for-static-sites\u002Fpost-deploy-verification-checklists","Post-Deploy Verification Checklists",{"path":2756,"title":2757},"\u002Fproduction-ready-deployment-cicd-workflows\u002Frollbacks-and-deploy-safety-for-static-sites\u002Frecovering-from-a-deploy-that-deleted-live-assets","Recovering From a Deploy That Deleted Live Assets",{"path":2759,"title":2760},"\u002Fproduction-ready-deployment-cicd-workflows\u002Frollbacks-and-deploy-safety-for-static-sites\u002Frolling-back-a-bad-static-deploy-in-under-a-minute","Rolling Back a Bad Static Deploy in Under a Minute",{"path":2762,"title":2763},"\u002Fproduction-ready-deployment-cicd-workflows\u002Frollbacks-and-deploy-safety-for-static-sites\u002Frolling-back-netlify-deploys-from-the-cli-and-api","Rolling Back Netlify Deploys From the CLI and API",{"path":2765,"title":2766},"\u002Fproduction-ready-deployment-cicd-workflows\u002Frollbacks-and-deploy-safety-for-static-sites\u002Frolling-back-s3-and-cloudfront-deploys-with-versioned-prefixes","Rolling Back S3 and CloudFront Deploys With Versioned Prefixes",{"path":2768,"title":2769},"\u002Fproduction-ready-deployment-cicd-workflows\u002Frollbacks-and-deploy-safety-for-static-sites\u002Frunning-smoke-tests-against-a-preview-url","Running Smoke Tests Against a Preview URL",{"path":2771,"title":2772},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fsecurity-headers-for-static-sites\u002Fauditing-npm-dependencies-in-ssg-pipelines","Auditing npm Dependencies in SSG Pipelines",{"path":2774,"title":2775},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fsecurity-headers-for-static-sites\u002Fenabling-hsts-and-preload-safely","Enabling HSTS and Preload Safely",{"path":2777,"title":2778},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fsecurity-headers-for-static-sites\u002Ffixing-content-security-policy-violations-from-inline-scripts","Fixing Content Security Policy Violations From Inline Scripts",{"path":2780,"title":2781},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fsecurity-headers-for-static-sites\u002Ffixing-mixed-content-warnings-after-moving-to-https","Fixing Mixed Content Warnings After Moving to HTTPS",{"path":2783,"title":2784},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fsecurity-headers-for-static-sites\u002Fhash-based-csp-for-inline-scripts-in-astro","Hash-Based CSP for Inline Scripts in Astro",{"path":2786,"title":2787},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fsecurity-headers-for-static-sites","Security Headers and Hardening for Static Sites",{"path":2789,"title":2790},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fsecurity-headers-for-static-sites\u002Fpermissions-policy-and-cross-origin-headers","Permissions-Policy and Cross-Origin Headers",{"path":2792,"title":2793},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fsecurity-headers-for-static-sites\u002Fsecuring-deploy-credentials-with-github-oidc","Securing Deploy Credentials with GitHub OIDC",{"path":2795,"title":2796},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fsecurity-headers-for-static-sites\u002Fsecurity-headers-for-static-sites-served-by-caddy","Security Headers for Static Sites Served by Caddy",{"path":2798,"title":2799},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fsecurity-headers-for-static-sites\u002Fsecurity-headers-on-vercel-for-static-sites","Security Headers on Vercel for Static Sites",{"path":2801,"title":2802},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fsecurity-headers-for-static-sites\u002Fsecurity-txt-and-disclosure-for-static-sites","security.txt and Disclosure for Static Sites",{"path":2804,"title":2805},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fsecurity-headers-for-static-sites\u002Fsubresource-integrity-for-third-party-assets","Subresource Integrity for Third-Party Assets",{"path":2807,"title":2808},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fsecurity-headers-for-static-sites\u002Fwriting-a-content-security-policy-for-a-static-site","Writing a Content Security Policy for a Static Site",{"path":2810,"title":2811},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fself-hosting-static-sites\u002Fbrotli-and-gzip-precompression-served-by-nginx","Brotli and Gzip Precompression Served by Nginx",{"path":2813,"title":2814},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fself-hosting-static-sites\u002Fclean-urls-and-trailing-slashes-on-s3","Clean URLs and Trailing Slashes on S3",{"path":2816,"title":2817},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fself-hosting-static-sites\u002Fcloudfront-functions-for-redirects","CloudFront Functions for Redirects",{"path":2819,"title":2820},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fself-hosting-static-sites\u002Fdeploying-a-static-site-to-s3-and-cloudfront","Deploying a Static Site to S3 and CloudFront",{"path":2822,"title":2823},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fself-hosting-static-sites\u002Fhosting-on-azure-static-web-apps","Hosting on Azure Static Web Apps",{"path":2825,"title":2826},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fself-hosting-static-sites","Self-Hosting Static Sites on S3, Nginx and Caddy",{"path":2828,"title":2829},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fself-hosting-static-sites\u002Fnginx-vs-caddy-for-serving-static-sites","Nginx vs Caddy for Serving Static Sites",{"path":2831,"title":2832},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fself-hosting-static-sites\u002Fserving-a-static-site-from-a-docker-container-with-nginx","Serving a Static Site From a Docker Container With Nginx",{"path":2834,"title":2835},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fself-hosting-static-sites\u002Fserving-a-static-site-with-caddy-and-automatic-https","Serving a Static Site With Caddy and Automatic HTTPS",{"path":2837,"title":2838},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fself-hosting-static-sites\u002Fserving-a-static-site-with-caddy","Serving a Static Site with Caddy",{"path":2840,"title":2841},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fself-hosting-static-sites\u002Fserving-a-static-site-with-nginx","Serving a Static Site with Nginx",{"path":2843,"title":2844},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fself-hosting-static-sites\u002Fstatic-hosting-on-google-cloud-storage","Static Hosting on Google Cloud Storage",{"path":2846,"title":2847},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fself-hosting-static-sites\u002Fzero-downtime-deploys-with-symlink-swaps","Zero-Downtime Deploys with Symlink Swaps",{"path":2849,"title":2850},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fserverless-functions-for-static-sites\u002Fadding-a-contact-form-with-cloudflare-workers","Adding a Contact Form with Cloudflare Workers",{"path":2852,"title":2853},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fserverless-functions-for-static-sites\u002Ffixing-cold-starts-in-netlify-functions-for-forms","Fixing Cold Starts in Netlify Functions for Forms",{"path":2855,"title":2856},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fserverless-functions-for-static-sites\u002Fhandling-form-submissions-on-a-static-site","Handling Form Submissions on a Static Site",{"path":2858,"title":2859},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fserverless-functions-for-static-sites","Serverless Functions for Static Sites",{"path":2861,"title":2862},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fserverless-functions-for-static-sites\u002Fnetlify-functions-vs-cloudflare-workers","Netlify Functions vs Cloudflare Workers",{"path":2864,"title":2865},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fserverless-functions-for-static-sites\u002Fnewsletter-signup-with-an-edge-function","Newsletter Signup with an Edge Function",{"path":2867,"title":2868},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fserverless-functions-for-static-sites\u002Fprotecting-a-static-site-behind-authentication","Protecting a Static Site Behind Authentication",{"path":2870,"title":2871},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fserverless-functions-for-static-sites\u002Fproxying-third-party-apis-from-an-edge-function","Proxying Third-Party APIs from an Edge Function",{"path":2873,"title":2874},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fserverless-functions-for-static-sites\u002Frate-limiting-edge-functions","Rate Limiting Edge Functions",{"path":2876,"title":1199},"\u002Fproduction-ready-deployment-cicd-workflows\u002Ftesting-static-sites-in-ci\u002Faccessibility-testing-with-axe-and-pa11y-in-ci",{"path":2878,"title":2879},"\u002Fproduction-ready-deployment-cicd-workflows\u002Ftesting-static-sites-in-ci\u002Fend-to-end-tests-for-static-sites-with-playwright","End-to-End Tests for Static Sites with Playwright",{"path":2881,"title":2882},"\u002Fproduction-ready-deployment-cicd-workflows\u002Ftesting-static-sites-in-ci\u002Ffixing-flaky-playwright-tests-against-preview-deploys","Fixing Flaky Playwright Tests Against Preview Deploys",{"path":2884,"title":2885},"\u002Fproduction-ready-deployment-cicd-workflows\u002Ftesting-static-sites-in-ci","Testing Static Sites in CI",{"path":2887,"title":2888},"\u002Fproduction-ready-deployment-cicd-workflows\u002Ftesting-static-sites-in-ci\u002Fsnapshot-testing-build-output","Snapshot Testing Build Output",{"path":2890,"title":2891},"\u002Fproduction-ready-deployment-cicd-workflows\u002Ftesting-static-sites-in-ci\u002Ftesting-redirects-and-headers-before-deploy","Testing Redirects and Headers Before Deploy",{"path":2893,"title":2894},"\u002Fproduction-ready-deployment-cicd-workflows\u002Ftesting-static-sites-in-ci\u002Ftesting-search-and-navigation-flows-with-playwright","Testing Search and Navigation Flows With Playwright",{"path":2896,"title":2897},"\u002Fproduction-ready-deployment-cicd-workflows\u002Ftesting-static-sites-in-ci\u002Ftesting-structured-data-and-meta-tags","Testing Structured Data and Meta Tags",{"path":2899,"title":2900},"\u002Fproduction-ready-deployment-cicd-workflows\u002Ftesting-static-sites-in-ci\u002Fvalidating-html-output-in-ci","Validating HTML Output in CI",{"kind":2902,"tools":2906},{"label":2903,"plural":2904,"u":2905},"How-to","How-tos","\u002Fguides\u002Fhow-to\u002F",[2907,2910],{"label":2908,"u":2909},"Astro","\u002Ftools\u002Fastro\u002F",{"label":2911,"u":2912},"Eleventy","\u002Ftools\u002Feleventy\u002F",1790943192382]