[{"data":1,"prerenderedAt":2662},["ShallowReactive",2],{"page:\u002Fchoosing-the-right-static-site-generator-for-production\u002Faccessibility-for-static-sites\u002Faccessible-code-blocks-in-documentation-sites":3,"all-docs-nav":1514,"filed:\u002Fchoosing-the-right-static-site-generator-for-production\u002Faccessibility-for-static-sites\u002Faccessible-code-blocks-in-documentation-sites":2656},{"id":4,"title":5,"body":6,"breadcrumb":1489,"dateModified":1499,"datePublished":1499,"description":1500,"extension":1501,"faq":1502,"meta":1507,"navigation":1508,"path":1509,"seo":1510,"slug":12,"stem":1511,"type":1512,"__hash__":1513},"content\u002Fchoosing-the-right-static-site-generator-for-production\u002Faccessibility-for-static-sites\u002Faccessible-code-blocks-in-documentation-sites\u002Findex.md","Accessible Code Blocks in Documentation Sites",{"type":7,"value":8,"toc":1470},"minimark",[9,13,23,26,31,50,54,57,130,247,251,258,410,416,419,448,452,463,535,542,638,649,781,785,792,919,931,935,942,1089,1107,1198,1202,1225,1238,1257,1261,1346,1350,1383,1387,1390,1394,1399,1402,1406,1409,1413,1416,1420,1423,1427,1466],[10,11,5],"h1",{"id":12},"accessible-code-blocks-in-documentation-sites",[14,15,16,17,22],"p",{},"Documentation sites are made of code blocks. The reference site from ",[18,19,21],"a",{"href":20},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Faccessibility-for-static-sites\u002F","Accessibility for Static Sites"," has about 2,600 of them across 1,140 pages, and every one was generated by the same highlighter configuration. That is good news: three issues that affected all 2,600 blocks were each fixed once. The issues were keyboard access to blocks that scroll, contrast of the syntax colours, and names for the block and its copy button.",[14,24,25],{},"This guide fixes all three in Astro with Shiki (via Starlight's Expressive Code and plain Astro Markdown), and shows the equivalent for Prism in Eleventy and Chroma in Hugo.",[27,28,30],"h2",{"id":29},"prerequisites","Prerequisites",[32,33,34,47],"ul",{},[35,36,37,38,42,43,46],"li",{},"The site's highlighter configuration: Shiki in Astro, ",[39,40,41],"code",{},"@11ty\u002Feleventy-plugin-syntaxhighlight"," (Prism) in Eleventy, or ",[39,44,45],{},"markup.highlight"," (Chroma) in Hugo.",[35,48,49],{},"axe-core to verify, and a screen reader for the naming checks.",[27,51,53],{"id":52},"what-was-wrong","What Was Wrong",[14,55,56],{},"An axe scan of 60 pages plus a manual pass found:",[58,59,60,76],"table",{},[61,62,63],"thead",{},[64,65,66,70,73],"tr",{},[67,68,69],"th",{},"Issue",[67,71,72],{},"axe rule",[67,74,75],{},"Elements",[77,78,79,93,106,119],"tbody",{},[64,80,81,85,90],{},[82,83,84],"td",{},"Overflowing blocks not keyboard-scrollable",[82,86,87],{},[39,88,89],{},"scrollable-region-focusable",[82,91,92],{},"612 of 1,384 blocks scanned",[64,94,95,98,103],{},[82,96,97],{},"Comment and punctuation tokens below 4.5:1",[82,99,100],{},[39,101,102],{},"color-contrast",[82,104,105],{},"1,090 spans",[64,107,108,111,116],{},[82,109,110],{},"Copy button with only an icon",[82,112,113],{},[39,114,115],{},"button-name",[82,117,118],{},"1,384",[64,120,121,124,127],{},[82,122,123],{},"Line numbers read aloud before every line",[82,125,126],{},"— (manual)",[82,128,129],{},"Blocks with numbers",[131,132,133,243],"figure",{},[134,135,142,143,142,147,142,151,142,158],"svg",{"viewBox":136,"role":137,"ariaLabelledBy":138,"xmlns":141},"0 0 760 210","img",[139,140],"code-issues-title","code-issues-desc","http:\u002F\u002Fwww.w3.org\u002F2000\u002Fsvg","\n  ",[144,145,146],"title",{"id":139},"Number of elements affected by each code block issue",[148,149,150],"desc",{"id":140},"Horizontal bars. Unnamed copy buttons affected 1,384 elements. Low-contrast syntax tokens 1,090 spans. Non-focusable scrolling blocks 612. Line numbers read aloud affected 240 blocks.",[152,153],"rect",{"x":154,"y":154,"width":155,"height":156,"fill":157},"0","760","210","#ffffff",[159,160,162,163,162,174,162,178,162,185,162,189,162,196,162,204,162,209,162,216,162,220,162,225,162,229,162,234,162,238,142],"g",{"style":161},"font-family:system-ui, sans-serif;font-size:12px","\n    ",[152,164],{"x":165,"y":166,"width":167,"height":168,"rx":169,"fill":170,"opacity":171,"stroke":172,"style":173},"240.0","65.0","450.4","20.0","3","#ff595e","0.3","#d83b41","stroke-width:1px",[152,175],{"x":165,"y":176,"width":177,"height":168,"rx":169,"fill":170,"opacity":171,"stroke":172,"style":173},"99.0","354.7",[152,179],{"x":165,"y":180,"width":181,"height":168,"rx":169,"fill":182,"opacity":183,"stroke":184,"style":173},"133.0","199.2","#ffca3a","0.45","#a97b00",[152,186],{"x":165,"y":187,"width":188,"height":168,"rx":169,"fill":182,"opacity":183,"stroke":184,"style":173},"167.0","78.1",[190,191],"path",{"d":192,"fill":193,"stroke":194,"style":195},"M240.0 60.0 L240.0 192.0","none","#556071","stroke-width:1.5px",[197,198,203],"text",{"x":199,"y":200,"fill":201,"style":202},"380.0","30.0","#1f2937","font-size:16px;text-anchor:middle;font-weight:700","Code block issues on the 60-page sample",[197,205,208],{"x":168,"y":206,"fill":201,"style":207},"79.2","font-size:12px;text-anchor:start","Unnamed copy button",[197,210,215],{"x":211,"y":212,"fill":213,"style":214},"698.4","79.5","#b32b30","font-size:12px;text-anchor:start;font-weight:700","1384",[197,217,219],{"x":168,"y":218,"fill":201,"style":207},"113.2","Low-contrast tokens",[197,221,224],{"x":222,"y":223,"fill":213,"style":214},"602.7","113.5","1090",[197,226,228],{"x":168,"y":227,"fill":201,"style":207},"147.2","Scroll not focusable",[197,230,233],{"x":231,"y":232,"fill":201,"style":214},"447.2","147.5","612",[197,235,237],{"x":168,"y":236,"fill":201,"style":207},"181.2","Line numbers read",[197,239,242],{"x":240,"y":241,"fill":201,"style":214},"326.1","181.5","240",[244,245,246],"figcaption",{},"All four came from the highlighter configuration, so each was fixed once for the whole site.",[27,248,250],{"id":249},"step-1-make-overflowing-blocks-focusable","Step 1: Make Overflowing Blocks Focusable",[14,252,253,254,257],{},"A block scrolls when its longest line is wider than the content column. On the reference site the column holds about 80 characters of monospace at desktop widths and about 38 on a 390 px phone, so on mobile almost every block scrolls. The cleanest fix is a small script that checks real overflow after layout and adds ",[39,255,256],{},"tabindex=\"0\"",", a role and a name only where needed:",[259,260,265],"pre",{"className":261,"code":262,"language":263,"meta":264,"style":264},"language-js shiki shiki-themes github-light github-dark","for (const pre of document.querySelectorAll('pre')) {\n  if (pre.scrollWidth > pre.clientWidth) {\n    pre.tabIndex = 0;\n    pre.setAttribute('role', 'region');\n    pre.setAttribute('aria-label', `Code: ${pre.dataset.language || 'text'}`);\n  }\n}\n","js","",[39,266,267,307,322,337,360,398,404],{"__ignoreMap":264},[268,269,272,276,280,283,287,290,293,297,300,304],"span",{"class":270,"line":271},"line",1,[268,273,275],{"class":274},"szBVR","for",[268,277,279],{"class":278},"sVt8B"," (",[268,281,282],{"class":274},"const",[268,284,286],{"class":285},"sj4cs"," pre",[268,288,289],{"class":274}," of",[268,291,292],{"class":278}," document.",[268,294,296],{"class":295},"sScJk","querySelectorAll",[268,298,299],{"class":278},"(",[268,301,303],{"class":302},"sZZnC","'pre'",[268,305,306],{"class":278},")) {\n",[268,308,310,313,316,319],{"class":270,"line":309},2,[268,311,312],{"class":274},"  if",[268,314,315],{"class":278}," (pre.scrollWidth ",[268,317,318],{"class":274},">",[268,320,321],{"class":278}," pre.clientWidth) {\n",[268,323,325,328,331,334],{"class":270,"line":324},3,[268,326,327],{"class":278},"    pre.tabIndex ",[268,329,330],{"class":274},"=",[268,332,333],{"class":285}," 0",[268,335,336],{"class":278},";\n",[268,338,340,343,346,348,351,354,357],{"class":270,"line":339},4,[268,341,342],{"class":278},"    pre.",[268,344,345],{"class":295},"setAttribute",[268,347,299],{"class":278},[268,349,350],{"class":302},"'role'",[268,352,353],{"class":278},", ",[268,355,356],{"class":302},"'region'",[268,358,359],{"class":278},");\n",[268,361,363,365,367,369,372,374,377,379,382,385,387,390,393,396],{"class":270,"line":362},5,[268,364,342],{"class":278},[268,366,345],{"class":295},[268,368,299],{"class":278},[268,370,371],{"class":302},"'aria-label'",[268,373,353],{"class":278},[268,375,376],{"class":302},"`Code: ${",[268,378,259],{"class":278},[268,380,381],{"class":302},".",[268,383,384],{"class":278},"dataset",[268,386,381],{"class":302},[268,388,389],{"class":278},"language",[268,391,392],{"class":274}," ||",[268,394,395],{"class":302}," 'text'}`",[268,397,359],{"class":278},[268,399,401],{"class":270,"line":400},6,[268,402,403],{"class":278},"  }\n",[268,405,407],{"class":270,"line":406},7,[268,408,409],{"class":278},"}\n",[14,411,412,413,415],{},"Run it on load and on a debounced resize. It is 0.3 KB. For a site that wants no script at all, a rehype plugin can add the attributes at build time to any block with a line over a threshold; the reference site uses 38 characters so that mobile is covered, accepting a few unnecessary tab stops on desktop. Starlight's Expressive Code adds ",[39,414,256],{}," to every block already, which is why the docs section passed and only the marketing pages' plain Markdown failed.",[14,417,418],{},"Equivalent hooks in the other generators:",[32,420,421,435],{},[35,422,423,427,428,431,432,381],{},[424,425,426],"strong",{},"Eleventy (Prism):"," an Eleventy transform over HTML output, or the ",[39,429,430],{},"markdown-it"," fence renderer override, to add the attributes to ",[39,433,434],{},"\u003Cpre>",[35,436,437,440,441,444,445,381],{},[424,438,439],{},"Hugo (Chroma):"," a code block render hook in ",[39,442,443],{},"layouts\u002F_default\u002F_markup\u002Frender-codeblock.html"," that wraps the highlighted output in ",[39,446,447],{},"\u003Cdiv class=\"code\" tabindex=\"0\" role=\"region\" aria-label=\"Code: {{ .Type }}\">",[27,449,451],{"id":450},"step-2-fix-token-contrast","Step 2: Fix Token Contrast",[14,453,454,455,458,459,462],{},"The site used Shiki's ",[39,456,457],{},"github-light"," and ",[39,460,461],{},"github-dark"," themes. Measuring every token colour against its theme background:",[58,464,465,478],{},[61,466,467],{},[64,468,469,472,475],{},[67,470,471],{},"Token",[67,473,474],{},"Light theme",[67,476,477],{},"Dark theme",[77,479,480,491,502,513,524],{},[64,481,482,485,488],{},[82,483,484],{},"Keyword",[82,486,487],{},"6.1:1",[82,489,490],{},"6.8:1",[64,492,493,496,499],{},[82,494,495],{},"String",[82,497,498],{},"5.6:1",[82,500,501],{},"9.3:1",[64,503,504,507,510],{},[82,505,506],{},"Comment",[82,508,509],{},"4.6:1",[82,511,512],{},"4.1:1",[64,514,515,518,521],{},[82,516,517],{},"Punctuation",[82,519,520],{},"4.9:1",[82,522,523],{},"4.4:1",[64,525,526,529,532],{},[82,527,528],{},"Line highlight background",[82,530,531],{},"—",[82,533,534],{},"changes all ratios on that line",[14,536,537,538,541],{},"Two dark-theme tokens failed, and highlighted lines (with a lighter background) pushed several more under. Shiki's ",[39,539,540],{},"colorReplacements"," option overrides individual colours without forking the theme:",[259,543,545],{"className":261,"code":544,"language":263,"meta":264,"style":264},"\u002F\u002F astro.config.mjs\nmarkdown: {\n  shikiConfig: {\n    themes: { light: 'github-light', dark: 'github-dark' },\n    colorReplacements: { 'github-dark': { '#6a737d': '#8b949e', '#e1e4e8': '#f0f3f6' } }\n  }\n}\n",[39,546,547,553,561,568,598,630,634],{"__ignoreMap":264},[268,548,549],{"class":270,"line":271},[268,550,552],{"class":551},"sJ8bj","\u002F\u002F astro.config.mjs\n",[268,554,555,558],{"class":270,"line":309},[268,556,557],{"class":295},"markdown",[268,559,560],{"class":278},": {\n",[268,562,563,566],{"class":270,"line":324},[268,564,565],{"class":295},"  shikiConfig",[268,567,560],{"class":278},[268,569,570,573,576,579,582,585,587,590,592,595],{"class":270,"line":339},[268,571,572],{"class":295},"    themes",[268,574,575],{"class":278},": { ",[268,577,578],{"class":295},"light",[268,580,581],{"class":278},": ",[268,583,584],{"class":302},"'github-light'",[268,586,353],{"class":278},[268,588,589],{"class":295},"dark",[268,591,581],{"class":278},[268,593,594],{"class":302},"'github-dark'",[268,596,597],{"class":278}," },\n",[268,599,600,603,605,607,609,612,614,617,619,622,624,627],{"class":270,"line":362},[268,601,602],{"class":295},"    colorReplacements",[268,604,575],{"class":278},[268,606,594],{"class":302},[268,608,575],{"class":278},[268,610,611],{"class":302},"'#6a737d'",[268,613,581],{"class":278},[268,615,616],{"class":302},"'#8b949e'",[268,618,353],{"class":278},[268,620,621],{"class":302},"'#e1e4e8'",[268,623,581],{"class":278},[268,625,626],{"class":302},"'#f0f3f6'",[268,628,629],{"class":278}," } }\n",[268,631,632],{"class":270,"line":400},[268,633,403],{"class":278},[268,635,636],{"class":270,"line":406},[268,637,409],{"class":278},[14,639,640,641,644,645,648],{},"The same approach works for Prism by overriding ",[39,642,643],{},".token.comment"," in CSS, and for Chroma by generating the style with ",[39,646,647],{},"hugo gen chromastyles --style=github-dark"," and editing the two colours.",[131,650,651,778],{},[134,652,142,657,142,660,142,663,142,666],{"viewBox":653,"role":137,"ariaLabelledBy":654,"xmlns":141},"0 0 760 300",[655,656],"code-contrast-title","code-contrast-desc",[144,658,659],{"id":655},"Contrast ratio of dark theme syntax tokens before and after colour replacements",[148,661,662],{"id":656},"Paired bars. Comments went from 4.1 to 5.6 to 1. Punctuation from 4.4 to 5.9. Comments on a highlighted line from 3.5 to 4.8. Keywords were unchanged at 6.8.",[152,664],{"x":154,"y":154,"width":155,"height":665,"fill":157},"300",[159,667,162,668,162,675,162,681,162,687,162,691,162,695,162,699,162,703,162,707,162,711,162,714,162,717,162,720,162,725,162,729,162,732,162,737,162,742,162,745,162,749,162,754,162,758,162,763,162,768,162,771,162,775,142],{"style":161},[152,669],{"x":670,"y":671,"width":672,"height":673,"rx":674,"fill":170,"opacity":171,"stroke":172,"style":173},"306.8","50.0","14.0","12.0","2",[152,676],{"x":677,"y":671,"width":672,"height":673,"rx":674,"fill":678,"opacity":679,"stroke":680,"style":173},"398.4","#8ac926","0.4","#5a8a16",[152,682],{"x":683,"y":684,"width":685,"height":686,"rx":169,"fill":170,"opacity":171,"stroke":172,"style":173},"230.0","82.0","280.1","16.0",[152,688],{"x":683,"y":689,"width":690,"height":686,"rx":169,"fill":678,"opacity":679,"stroke":680,"style":173},"102.0","382.6",[152,692],{"x":683,"y":693,"width":694,"height":686,"rx":169,"fill":170,"opacity":171,"stroke":172,"style":173},"134.0","300.6",[152,696],{"x":683,"y":697,"width":698,"height":686,"rx":169,"fill":678,"opacity":679,"stroke":680,"style":173},"154.0","403.1",[152,700],{"x":683,"y":701,"width":702,"height":686,"rx":169,"fill":170,"opacity":171,"stroke":172,"style":173},"186.0","239.1",[152,704],{"x":683,"y":705,"width":706,"height":686,"rx":169,"fill":678,"opacity":679,"stroke":680,"style":173},"206.0","327.9",[152,708],{"x":683,"y":709,"width":710,"height":686,"rx":169,"fill":170,"opacity":171,"stroke":172,"style":173},"238.0","464.5",[152,712],{"x":683,"y":713,"width":710,"height":686,"rx":169,"fill":678,"opacity":679,"stroke":680,"style":173},"258.0",[190,715],{"d":716,"fill":193,"stroke":194,"style":195},"M230.0 78.0 L230.0 280.0",[197,718,719],{"x":199,"y":200,"fill":201,"style":202},"Dark theme token contrast before and after",[197,721,724],{"x":722,"y":723,"fill":194,"style":207},"326.8","60.0","Before",[197,726,728],{"x":727,"y":723,"fill":194,"style":207},"418.4","After",[197,730,506],{"x":168,"y":731,"fill":201,"style":207},"105.2",[197,733,512],{"x":734,"y":735,"fill":213,"style":736},"517.1","94.5","font-size:11.5px;text-anchor:start;font-weight:700",[197,738,498],{"x":739,"y":740,"fill":741,"style":736},"619.6","114.5","#3f6410",[197,743,517],{"x":168,"y":744,"fill":201,"style":207},"157.2",[197,746,523],{"x":747,"y":748,"fill":213,"style":736},"537.6","146.5",[197,750,753],{"x":751,"y":752,"fill":741,"style":736},"640.1","166.5","5.9:1",[197,755,757],{"x":168,"y":756,"fill":201,"style":207},"209.2","Comment on highlighted line",[197,759,762],{"x":760,"y":761,"fill":213,"style":736},"476.1","198.5","3.5:1",[197,764,767],{"x":765,"y":766,"fill":741,"style":736},"564.9","218.5","4.8:1",[197,769,484],{"x":168,"y":770,"fill":201,"style":207},"261.2",[197,772,490],{"x":773,"y":774,"fill":213,"style":736},"701.5","250.5",[197,776,490],{"x":773,"y":777,"fill":741,"style":736},"270.5",[244,779,780],{},"Two colour replacements fixed all dark-theme failures, including those on highlighted lines.",[27,782,784],{"id":783},"step-3-name-the-copy-button","Step 3: Name the Copy Button",[14,786,787,788,791],{},"The copy button rendered an SVG clipboard icon in a ",[39,789,790],{},"\u003Cbutton>"," with no text. Screen readers announced \"button\". The fix is a visually hidden label and a status message when the copy succeeds:",[259,793,797],{"className":794,"code":795,"language":796,"meta":264,"style":264},"language-html shiki shiki-themes github-light github-dark","\u003Cbutton class=\"copy\" type=\"button\">\n  \u003Cspan class=\"icon icon-copy\" aria-hidden=\"true\">\u003C\u002Fspan>\n  \u003Cspan class=\"sr-only\">Copy code\u003C\u002Fspan>\n\u003C\u002Fbutton>\n\u003Cspan class=\"sr-only\" role=\"status\" aria-live=\"polite\">\u003C\u002Fspan>\n","html",[39,798,799,827,856,876,885],{"__ignoreMap":264},[268,800,801,804,808,811,813,816,819,821,824],{"class":270,"line":271},[268,802,803],{"class":278},"\u003C",[268,805,807],{"class":806},"s9eBZ","button",[268,809,810],{"class":295}," class",[268,812,330],{"class":278},[268,814,815],{"class":302},"\"copy\"",[268,817,818],{"class":295}," type",[268,820,330],{"class":278},[268,822,823],{"class":302},"\"button\"",[268,825,826],{"class":278},">\n",[268,828,829,832,834,836,838,841,844,846,849,852,854],{"class":270,"line":309},[268,830,831],{"class":278},"  \u003C",[268,833,268],{"class":806},[268,835,810],{"class":295},[268,837,330],{"class":278},[268,839,840],{"class":302},"\"icon icon-copy\"",[268,842,843],{"class":295}," aria-hidden",[268,845,330],{"class":278},[268,847,848],{"class":302},"\"true\"",[268,850,851],{"class":278},">\u003C\u002F",[268,853,268],{"class":806},[268,855,826],{"class":278},[268,857,858,860,862,864,866,869,872,874],{"class":270,"line":324},[268,859,831],{"class":278},[268,861,268],{"class":806},[268,863,810],{"class":295},[268,865,330],{"class":278},[268,867,868],{"class":302},"\"sr-only\"",[268,870,871],{"class":278},">Copy code\u003C\u002F",[268,873,268],{"class":806},[268,875,826],{"class":278},[268,877,878,881,883],{"class":270,"line":339},[268,879,880],{"class":278},"\u003C\u002F",[268,882,807],{"class":806},[268,884,826],{"class":278},[268,886,887,889,891,893,895,897,900,902,905,908,910,913,915,917],{"class":270,"line":362},[268,888,803],{"class":278},[268,890,268],{"class":806},[268,892,810],{"class":295},[268,894,330],{"class":278},[268,896,868],{"class":302},[268,898,899],{"class":295}," role",[268,901,330],{"class":278},[268,903,904],{"class":302},"\"status\"",[268,906,907],{"class":295}," aria-live",[268,909,330],{"class":278},[268,911,912],{"class":302},"\"polite\"",[268,914,851],{"class":278},[268,916,268],{"class":806},[268,918,826],{"class":278},[14,920,921,922,925,926,930],{},"On click, the script writes \"Copied\" into the status element for two seconds. Screen reader users hear the confirmation that sighted users get from the icon changing to a tick. The ",[39,923,924],{},"sr-only"," class is the usual clip pattern; the ",[18,927,929],{"href":928},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Faccessibility-for-static-sites\u002Fskip-links-and-landmarks-in-ssg-layouts\u002F","skip link guide"," uses the same technique.",[27,932,934],{"id":933},"step-4-keep-line-numbers-out-of-the-reading","Step 4: Keep Line Numbers Out of the Reading",[14,936,937,938,941],{},"Blocks with line numbers rendered them as text inside each line, so NVDA read \"one const x equals one two const y equals two\". Rendering them with a CSS counter on ",[39,939,940],{},"::before"," keeps them visual only:",[259,943,947],{"className":944,"code":945,"language":946,"meta":264,"style":264},"language-css shiki shiki-themes github-light github-dark","pre.numbered code { counter-reset: line; }\npre.numbered .line::before {\n  counter-increment: line; content: counter(line);\n  display: inline-block; width: 2.5ch; margin-right: 1.5ch;\n  text-align: right; color: var(--text-muted); user-select: none;\n}\n","css",[39,948,949,972,984,1010,1047,1085],{"__ignoreMap":264},[268,950,951,953,956,959,962,965,967,969],{"class":270,"line":271},[268,952,259],{"class":806},[268,954,955],{"class":295},".numbered",[268,957,958],{"class":806}," code",[268,960,961],{"class":278}," { ",[268,963,964],{"class":285},"counter-reset",[268,966,581],{"class":278},[268,968,270],{"class":285},[268,970,971],{"class":278},"; }\n",[268,973,974,976,978,981],{"class":270,"line":309},[268,975,259],{"class":806},[268,977,955],{"class":295},[268,979,980],{"class":295}," .line::before",[268,982,983],{"class":278}," {\n",[268,985,986,989,991,993,996,999,1001,1004,1006,1008],{"class":270,"line":324},[268,987,988],{"class":285},"  counter-increment",[268,990,581],{"class":278},[268,992,270],{"class":285},[268,994,995],{"class":278},"; ",[268,997,998],{"class":285},"content",[268,1000,581],{"class":278},[268,1002,1003],{"class":285},"counter",[268,1005,299],{"class":278},[268,1007,270],{"class":285},[268,1009,359],{"class":278},[268,1011,1012,1015,1017,1020,1022,1025,1027,1030,1033,1035,1038,1040,1043,1045],{"class":270,"line":339},[268,1013,1014],{"class":285},"  display",[268,1016,581],{"class":278},[268,1018,1019],{"class":285},"inline-block",[268,1021,995],{"class":278},[268,1023,1024],{"class":285},"width",[268,1026,581],{"class":278},[268,1028,1029],{"class":285},"2.5",[268,1031,1032],{"class":274},"ch",[268,1034,995],{"class":278},[268,1036,1037],{"class":285},"margin-right",[268,1039,581],{"class":278},[268,1041,1042],{"class":285},"1.5",[268,1044,1032],{"class":274},[268,1046,336],{"class":278},[268,1048,1049,1052,1054,1057,1059,1062,1064,1067,1069,1073,1076,1079,1081,1083],{"class":270,"line":362},[268,1050,1051],{"class":285},"  text-align",[268,1053,581],{"class":278},[268,1055,1056],{"class":285},"right",[268,1058,995],{"class":278},[268,1060,1061],{"class":285},"color",[268,1063,581],{"class":278},[268,1065,1066],{"class":285},"var",[268,1068,299],{"class":278},[268,1070,1072],{"class":1071},"s4XuR","--text-muted",[268,1074,1075],{"class":278},"); ",[268,1077,1078],{"class":285},"user-select",[268,1080,581],{"class":278},[268,1082,193],{"class":285},[268,1084,336],{"class":278},[268,1086,1087],{"class":270,"line":400},[268,1088,409],{"class":278},[14,1090,1091,1092,1094,1095,1098,1099,1102,1103,1106],{},"Generated content in ",[39,1093,940],{}," is sometimes read by screen readers; in testing, NVDA and VoiceOver both skipped counter-only content inside ",[39,1096,1097],{},"\u003Ccode>",", but to be certain the reference site also wraps the counter in an ",[39,1100,1101],{},"aria-hidden"," span in builds where the highlighter supports it. ",[39,1104,1105],{},"user-select: none"," keeps the numbers out of copied text, which readers had complained about separately.",[131,1108,1109,1195],{},[134,1110,142,1115,142,1118,142,1121,142,1124],{"viewBox":1111,"role":137,"ariaLabelledBy":1112,"xmlns":141},"0 0 760 223",[1113,1114],"code-reading-title","code-reading-desc",[144,1116,1117],{"id":1113},"Screen reader output for a numbered code block before and after",[148,1119,1120],{"id":1114},"Two panels. Before, NVDA read button, then one const x equals one, two const y equals two. After, NVDA read region Code javascript, const x equals one, const y equals two, and Copy code button.",[152,1122],{"x":154,"y":154,"width":155,"height":1123,"fill":157},"223",[159,1125,162,1126,162,1133,162,1138,162,1141,162,1144,162,1148,162,1151,162,1153,162,1155,162,1158,162,1163,162,1167,162,1171,162,1175,162,1179,162,1182,162,1186,162,1189,162,1192,142],{"style":161},[152,1127],{"x":168,"y":1128,"width":1129,"height":1130,"rx":1131,"fill":170,"opacity":1132,"stroke":172,"style":195},"58.0","350.0","149.0","10","0.12",[1134,1135],"circle",{"cx":1136,"cy":1137,"r":1029,"fill":170,"stroke":172,"style":195},"40.0","103.0",[1134,1139],{"cx":1136,"cy":1140,"r":1029,"fill":170,"stroke":172,"style":195},"125.0",[1134,1142],{"cx":1136,"cy":1143,"r":1029,"fill":170,"stroke":172,"style":195},"146.9",[152,1145],{"x":1146,"y":1128,"width":1129,"height":1130,"rx":1131,"fill":678,"opacity":1147,"stroke":680,"style":195},"390.0","0.2",[1134,1149],{"cx":1150,"cy":1137,"r":1029,"fill":678,"stroke":680,"style":195},"410.0",[1134,1152],{"cx":1150,"cy":1140,"r":1029,"fill":678,"stroke":680,"style":195},[1134,1154],{"cx":1150,"cy":1143,"r":1029,"fill":678,"stroke":680,"style":195},[197,1156,1157],{"x":199,"y":200,"fill":201,"style":202},"What a screen reader hears from one numbered block",[197,1159,724],{"x":1160,"y":1161,"fill":213,"style":1162},"34.0","83.5","font-size:13.5px;text-anchor:start;font-weight:700",[197,1164,823],{"x":671,"y":1165,"fill":201,"style":1166},"107.0","font-size:11.5px;text-anchor:start",[197,1168,1170],{"x":671,"y":1169,"fill":201,"style":1166},"129.0","\"one, const x equals one\"",[197,1172,1174],{"x":671,"y":1173,"fill":201,"style":1166},"150.9","\"two, const y equals two\"",[197,1176,1178],{"x":1160,"y":1177,"fill":201,"style":214},"193.0","no name, numbers read",[197,1180,728],{"x":1181,"y":1161,"fill":741,"style":1162},"404.0",[197,1183,1185],{"x":1184,"y":1165,"fill":201,"style":1166},"420.0","\"Code: javascript, region\"",[197,1187,1188],{"x":1184,"y":1169,"fill":201,"style":1166},"\"const x equals one\"",[197,1190,1191],{"x":1184,"y":1173,"fill":201,"style":1166},"\"Copy code, button\"",[197,1193,1194],{"x":1181,"y":1177,"fill":201,"style":214},"named, numbers silent",[244,1196,1197],{},"Recorded with NVDA 2025.3 speech viewer on Firefox.",[27,1199,1201],{"id":1200},"tabs-diffs-and-terminal-output","Tabs, Diffs and Terminal Output",[14,1203,1204,1205,1208,1209,1212,1213,1216,1217,1220,1221,1224],{},"Three variations of the code block need extra care. ",[424,1206,1207],{},"Tabbed blocks"," — npm, pnpm and yarn versions of the same command — must follow the WAI-ARIA tabs pattern: a ",[39,1210,1211],{},"role=\"tablist\""," of buttons with ",[39,1214,1215],{},"aria-selected",", arrow keys to move between them, and only the selected panel in the tab order. Starlight's ",[39,1218,1219],{},"\u003CTabs>"," component and VitePress's code groups both implement it; a hand-rolled version on the marketing pages did not, and was replaced. A useful extra is to remember the reader's choice of package manager in ",[39,1222,1223],{},"localStorage"," and apply it on every page, so a pnpm user is not switching tabs on every install command.",[14,1226,1227,1230,1231,458,1234,1237],{},[424,1228,1229],{},"Diff blocks"," show added and removed lines with green and red backgrounds. Colour alone fails WCAG 1.4.1, which forbids using colour as the only way to convey information, so the ",[39,1232,1233],{},"+",[39,1235,1236],{},"-"," markers must remain visible — some highlighters hide them for a cleaner look. Screen readers read the markers, which is what makes the diff understandable without sight. Check the contrast of token colours on both diff backgrounds as well; they are the lowest-contrast combinations on most sites.",[14,1239,1240,1243,1244,1247,1248,353,1250,458,1253,1256],{},[424,1241,1242],{},"Terminal output"," is often long and wide. Wrapping it (",[39,1245,1246],{},"white-space: pre-wrap",") is usually better than scrolling, because line breaks in log output rarely carry meaning, and a wrapped block needs no tab stop. The reference site wraps blocks with the ",[39,1249,197],{},[39,1251,1252],{},"log",[39,1254,1255],{},"console"," languages and scrolls everything else.",[27,1258,1260],{"id":1259},"measured-impact","Measured Impact",[58,1262,1263,1277],{},[61,1264,1265],{},[64,1266,1267,1270,1272,1274],{},[67,1268,1269],{},"Measure",[67,1271,724],{},[67,1273,728],{},[67,1275,1276],{},"Tool",[77,1278,1279,1293,1307,1319,1333],{},[64,1280,1281,1285,1288,1290],{},[82,1282,1283],{},[39,1284,89],{},[82,1286,1287],{},"612 elements",[82,1289,154],{},[82,1291,1292],{},"axe-core 4.10",[64,1294,1295,1300,1302,1304],{},[82,1296,1297,1299],{},[39,1298,102],{}," in code",[82,1301,105],{},[82,1303,154],{},[82,1305,1306],{},"axe-core 4.10, both themes",[64,1308,1309,1313,1315,1317],{},[82,1310,1311],{},[39,1312,115],{},[82,1314,118],{},[82,1316,154],{},[82,1318,1292],{},[64,1320,1321,1324,1327,1330],{},[82,1322,1323],{},"Line numbers read aloud",[82,1325,1326],{},"Yes",[82,1328,1329],{},"No",[82,1331,1332],{},"NVDA speech viewer",[64,1334,1335,1338,1340,1343],{},[82,1336,1337],{},"JavaScript added",[82,1339,531],{},[82,1341,1342],{},"0.6 KB",[82,1344,1345],{},"Build output",[27,1347,1349],{"id":1348},"pitfalls-rollback","Pitfalls & Rollback",[32,1351,1352,1365,1371,1377],{},[35,1353,1354,1357,1358,1361,1362,381],{},[424,1355,1356],{},"Focusable blocks without names."," A ",[39,1359,1360],{},"tabindex"," region needs ",[39,1363,1364],{},"aria-label",[35,1366,1367,1370],{},[424,1368,1369],{},"Checking contrast only on the default background."," Highlighted lines and diff backgrounds change every ratio.",[35,1372,1373,1376],{},[424,1374,1375],{},"Icon-only buttons."," Every button needs text, visible or not.",[35,1378,1379,1382],{},[424,1380,1381],{},"Rollback:"," each change is in the highlighter config, one CSS block and a 0.6 KB script; reverting any one leaves the others working.",[27,1384,1386],{"id":1385},"conclusion","Conclusion",[14,1388,1389],{},"Code blocks fail accessibility in four repeatable ways — scroll without focus, low-contrast tokens, unnamed copy buttons and line numbers read aloud — and because a static site generates every block from one configuration, each fix applies everywhere. On the reference site, four changes cleared 3,086 flagged elements across 2,600 blocks.",[27,1391,1393],{"id":1392},"faq","FAQ",[1395,1396,1398],"h3",{"id":1397},"should-code-blocks-have-tabindex-0","Should code blocks have tabindex 0?",[14,1400,1401],{},"Only the ones that scroll. A block that overflows horizontally must be focusable so keyboard users can scroll it with the arrow keys. Adding tabindex to every block, including short ones that never scroll, adds pointless tab stops. Decide at build time from line length, or at runtime by comparing scrollWidth with clientWidth.",[1395,1403,1405],{"id":1404},"how-do-screen-readers-read-syntax-highlighted-code","How do screen readers read syntax-highlighted code?",[14,1407,1408],{},"They read the text and ignore the colour spans, so highlighting itself does not get in the way. Problems come from line numbers rendered as text, which are read before every line, from copy buttons without names, and from blocks with no indication of language. Render line numbers with CSS counters or aria-hidden so they are not read.",[1395,1410,1412],{"id":1411},"is-it-acceptable-to-wrap-long-lines-instead-of-scrolling","Is it acceptable to wrap long lines instead of scrolling?",[14,1414,1415],{},"Wrapping avoids the keyboard problem entirely and suits prose-like content such as shell output. For code where indentation and line breaks carry meaning, wrapping can mislead, so most documentation sites scroll by default and offer a wrap toggle. Either way, the block must work without a mouse.",[1395,1417,1419],{"id":1418},"which-highlighter-themes-pass-contrast-requirements","Which highlighter themes pass contrast requirements?",[14,1421,1422],{},"Few pass out of the box for every token. GitHub Light and GitHub Dark in Shiki pass for most tokens but have comment colours near 4.5 to 1. Many popular dark themes have comments around 3 to 1. Measure the theme's token colours against its background and override the failing ones rather than assuming.",[27,1424,1426],{"id":1425},"related","Related",[32,1428,1429,1438,1445,1452,1459],{},[35,1430,1431,1434,1435,1437],{},[424,1432,1433],{},"Parent:"," ",[18,1436,21],{"href":20}," — code blocks among the build-output issues.",[35,1439,1440,1444],{},[18,1441,1443],{"href":1442},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Faccessibility-for-static-sites\u002Ffixing-low-color-contrast-flagged-by-lighthouse\u002F","Fixing Low Color Contrast Flagged by Lighthouse"," — the token approach for the rest of the palette.",[35,1446,1447,1451],{},[18,1448,1450],{"href":1449},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Faccessibility-for-static-sites\u002Fkeyboard-navigation-and-focus-order-on-static-sites\u002F","Keyboard Navigation and Focus Order on Static Sites"," — why scrollable regions need focus.",[35,1453,1454,1458],{},[18,1455,1457],{"href":1456},"\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 build-time plugin hooks in.",[35,1460,1461,1465],{},[18,1462,1464],{"href":1463},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Faccessibility-for-static-sites\u002Faccessible-svg-diagrams-on-static-sites\u002F","Accessible SVG Diagrams on Static Sites"," — the other generated content type.",[1467,1468,1469],"style",{},"html pre.shiki code .s9eBZ, html code.shiki .s9eBZ{--shiki-default:#22863A;--shiki-dark:#85E89D}html pre.shiki code .sScJk, html code.shiki .sScJk{--shiki-default:#6F42C1;--shiki-dark:#B392F0}html pre.shiki code .sVt8B, html code.shiki .sVt8B{--shiki-default:#24292E;--shiki-dark:#E1E4E8}html pre.shiki code .sj4cs, html code.shiki .sj4cs{--shiki-default:#005CC5;--shiki-dark:#79B8FF}html pre.shiki code .szBVR, html code.shiki .szBVR{--shiki-default:#D73A49;--shiki-dark:#F97583}html pre.shiki code .s4XuR, html code.shiki .s4XuR{--shiki-default:#E36209;--shiki-dark:#FFAB70}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 .sZZnC, html code.shiki .sZZnC{--shiki-default:#032F62;--shiki-dark:#9ECBFF}html pre.shiki code .sJ8bj, html code.shiki .sJ8bj{--shiki-default:#6A737D;--shiki-dark:#6A737D}",{"title":264,"searchDepth":309,"depth":309,"links":1471},[1472,1473,1474,1475,1476,1477,1478,1479,1480,1481,1482,1488],{"id":29,"depth":309,"text":30},{"id":52,"depth":309,"text":53},{"id":249,"depth":309,"text":250},{"id":450,"depth":309,"text":451},{"id":783,"depth":309,"text":784},{"id":933,"depth":309,"text":934},{"id":1200,"depth":309,"text":1201},{"id":1259,"depth":309,"text":1260},{"id":1348,"depth":309,"text":1349},{"id":1385,"depth":309,"text":1386},{"id":1392,"depth":309,"text":1393,"children":1483},[1484,1485,1486,1487],{"id":1397,"depth":324,"text":1398},{"id":1404,"depth":324,"text":1405},{"id":1411,"depth":324,"text":1412},{"id":1418,"depth":324,"text":1419},{"id":1425,"depth":309,"text":1426},[1490,1493,1496,1497],{"name":1491,"item":1492},"Home","\u002F",{"name":1494,"item":1495},"Choosing the Right Static Site Generator for Production","\u002Fchoosing-the-right-static-site-generator-for-production\u002F",{"name":21,"item":20},{"name":5,"item":1498},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Faccessibility-for-static-sites\u002Faccessible-code-blocks-in-documentation-sites\u002F","2026-10-02","Make highlighted code blocks keyboard-scrollable, readable at AA contrast in both themes and labelled for screen readers, using Shiki, Prism or Hugo Chroma.","md",[1503,1504,1505,1506],{"q":1398,"a":1401},{"q":1405,"a":1408},{"q":1412,"a":1415},{"q":1419,"a":1422},{},true,"\u002Fchoosing-the-right-static-site-generator-for-production\u002Faccessibility-for-static-sites\u002Faccessible-code-blocks-in-documentation-sites",{"title":5,"description":1500},"choosing-the-right-static-site-generator-for-production\u002Faccessibility-for-static-sites\u002Faccessible-code-blocks-in-documentation-sites\u002Findex","article","_fu5Z8UYh5rHs-JPRjXw_SVxmBN-5eGOYd-514XfsIQ",[1515,1516,1519,1521,1524,1527,1529,1531,1533,1536,1539,1542,1545,1548,1551,1554,1557,1560,1563,1566,1568,1571,1574,1577,1580,1583,1586,1589,1592,1595,1598,1601,1604,1607,1610,1613,1616,1619,1622,1625,1628,1631,1634,1637,1640,1643,1646,1649,1652,1655,1658,1661,1664,1667,1669,1672,1675,1678,1681,1684,1687,1690,1693,1696,1699,1702,1705,1708,1711,1714,1717,1720,1723,1726,1729,1732,1735,1738,1741,1744,1747,1750,1753,1756,1759,1762,1765,1768,1771,1774,1777,1780,1783,1786,1789,1792,1795,1798,1801,1804,1807,1810,1813,1816,1819,1822,1825,1828,1831,1834,1837,1840,1843,1846,1849,1852,1855,1858,1861,1864,1867,1870,1873,1876,1879,1882,1885,1888,1891,1894,1897,1900,1903,1906,1909,1912,1915,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,2356,2359,2362,2365,2368,2371,2374,2377,2380,2383,2386,2389,2392,2395,2398,2401,2404,2407,2410,2413,2416,2419,2422,2425,2428,2431,2434,2437,2440,2443,2446,2449,2452,2455,2458,2461,2464,2467,2470,2473,2476,2479,2482,2485,2488,2491,2494,2497,2500,2503,2506,2509,2512,2515,2518,2521,2524,2527,2530,2533,2536,2539,2542,2545,2548,2551,2554,2557,2560,2563,2566,2569,2572,2575,2578,2581,2584,2587,2590,2593,2596,2599,2602,2605,2608,2611,2614,2617,2620,2623,2626,2629,2632,2635,2638,2641,2644,2647,2650,2653],{"path":1509,"title":5},{"path":1517,"title":1518},"\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":1520,"title":1464},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Faccessibility-for-static-sites\u002Faccessible-svg-diagrams-on-static-sites",{"path":1522,"title":1523},"\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":1525,"title":1526},"\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":1528,"title":1443},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Faccessibility-for-static-sites\u002Ffixing-low-color-contrast-flagged-by-lighthouse",{"path":1530,"title":21},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Faccessibility-for-static-sites",{"path":1532,"title":1450},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Faccessibility-for-static-sites\u002Fkeyboard-navigation-and-focus-order-on-static-sites",{"path":1534,"title":1535},"\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":1537,"title":1538},"\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":1540,"title":1541},"\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":1543,"title":1544},"\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":1546,"title":1547},"\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":1549,"title":1550},"\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":1552,"title":1553},"\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":1555,"title":1556},"\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":1558,"title":1559},"\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":1561,"title":1562},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fastro-vs-eleventy-for-documentation-sites","Astro vs Eleventy for Documentation Sites",{"path":1564,"title":1565},"\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":1567,"title":1457},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fastro-vs-eleventy-for-documentation-sites\u002Fmarkdown-pipelines-remark-vs-markdown-it",{"path":1569,"title":1570},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fastro-vs-eleventy-for-documentation-sites\u002Fshortcodes-vs-components-for-docs-authors","Shortcodes vs Components for Docs Authors",{"path":1572,"title":1573},"\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":1575,"title":1576},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fastro-vs-eleventy-for-documentation-sites\u002Fsyntax-highlighting-with-shiki-in-astro-and-eleventy","Syntax Highlighting with Shiki in Astro and Eleventy",{"path":1578,"title":1579},"\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":1581,"title":1582},"\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":1584,"title":1585},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fdocs-frameworks-docusaurus-starlight-vitepress\u002Fcomparing-docs-framework-build-times","Comparing Docs Framework Build Times",{"path":1587,"title":1588},"\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":1590,"title":1591},"\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":1593,"title":1594},"\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":1596,"title":1597},"\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":1599,"title":1600},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fdocs-frameworks-docusaurus-starlight-vitepress","Docs Frameworks: Docusaurus, Starlight and VitePress",{"path":1602,"title":1603},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fdocs-frameworks-docusaurus-starlight-vitepress\u002Finternationalizing-starlight-docs","Internationalizing Starlight Docs",{"path":1605,"title":1606},"\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":1608,"title":1609},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fdocs-frameworks-docusaurus-starlight-vitepress\u002Fmigrating-from-mkdocs-to-starlight","Migrating from MkDocs to Starlight",{"path":1611,"title":1612},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fdocs-frameworks-docusaurus-starlight-vitepress\u002Fmigrating-mkdocs-documentation-to-vitepress","Migrating MkDocs Documentation to VitePress",{"path":1614,"title":1615},"\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":1617,"title":1618},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fdocs-frameworks-docusaurus-starlight-vitepress\u002Fversioned-documentation-with-docusaurus","Versioned Documentation with Docusaurus",{"path":1620,"title":1621},"\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":1623,"title":1624},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fdocs-frameworks-docusaurus-starlight-vitepress\u002Fvitepress-for-library-documentation","VitePress for Library Documentation",{"path":1626,"title":1627},"\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":1629,"title":1630},"\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":1632,"title":1633},"\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":1635,"title":1636},"\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":1638,"title":1639},"\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":1641,"title":1642},"\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":1644,"title":1645},"\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":1647,"title":1648},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fhugo-build-times-for-large-repositories","Hugo Build Times for Large Repositories",{"path":1650,"title":1651},"\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":1653,"title":1654},"\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":1656,"title":1657},"\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":1659,"title":1660},"\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":1662,"title":1663},"\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":1665,"title":1666},"\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":1668,"title":1494},"\u002Fchoosing-the-right-static-site-generator-for-production",{"path":1670,"title":1671},"\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":1673,"title":1674},"\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":1676,"title":1677},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Finternationalization-for-static-sites\u002Fi18n-routing-in-astro","i18n Routing in Astro",{"path":1679,"title":1680},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Finternationalization-for-static-sites","Internationalization for Static Sites",{"path":1682,"title":1683},"\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":1685,"title":1686},"\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":1688,"title":1689},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Finternationalization-for-static-sites\u002Fmultilingual-sites-with-hugo","Multilingual Sites with Hugo",{"path":1691,"title":1692},"\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":1694,"title":1695},"\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":1697,"title":1698},"\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":1700,"title":1701},"\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":1703,"title":1704},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fjekyll-plugin-ecosystem\u002Fdeploying-jekyll-with-github-actions","Deploying Jekyll with GitHub Actions",{"path":1706,"title":1707},"\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":1709,"title":1710},"\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":1712,"title":1713},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fjekyll-plugin-ecosystem","Jekyll Plugin Ecosystem",{"path":1715,"title":1716},"\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":1718,"title":1719},"\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":1721,"title":1722},"\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":1724,"title":1725},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fjekyll-plugin-ecosystem\u002Fspeeding-up-slow-jekyll-builds","Speeding Up Slow Jekyll Builds",{"path":1727,"title":1728},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fjekyll-plugin-ecosystem\u002Fupgrading-jekyll-and-ruby-versions-safely","Upgrading Jekyll and Ruby Versions Safely",{"path":1730,"title":1731},"\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":1733,"title":1734},"\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":1736,"title":1737},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fmigrating-between-static-site-generators","Migrating Between Static Site Generators",{"path":1739,"title":1740},"\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":1742,"title":1743},"\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":1745,"title":1746},"\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":1748,"title":1749},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fmigrating-between-static-site-generators\u002Fmigrating-from-docusaurus-to-starlight","Migrating from Docusaurus to Starlight",{"path":1751,"title":1752},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fmigrating-between-static-site-generators\u002Fmigrating-from-gatsby-to-astro","Migrating from Gatsby to Astro",{"path":1754,"title":1755},"\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":1757,"title":1758},"\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":1760,"title":1761},"\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":1763,"title":1764},"\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":1766,"title":1767},"\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":1769,"title":1770},"\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":1772,"title":1773},"\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":1775,"title":1776},"\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":1778,"title":1779},"\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":1781,"title":1782},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fnextjs-static-export-for-content-sites","Next.js Static Export for Content Sites",{"path":1784,"title":1785},"\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":1787,"title":1788},"\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":1790,"title":1791},"\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":1793,"title":1794},"\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":1796,"title":1797},"\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":1799,"title":1800},"\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":1802,"title":1803},"\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":1805,"title":1806},"\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":1808,"title":1809},"\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":1811,"title":1812},"\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":1814,"title":1815},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fsearch-for-static-sites\u002Fcustomizing-the-pagefind-ui","Customizing the Pagefind UI",{"path":1817,"title":1818},"\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":1820,"title":1821},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fsearch-for-static-sites","Search for Static Sites",{"path":1823,"title":1824},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fsearch-for-static-sites\u002Findexing-hugo-sites-with-pagefind","Indexing Hugo Sites with Pagefind",{"path":1826,"title":1827},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fsearch-for-static-sites\u002Fmultilingual-search-on-static-sites","Multilingual Search on Static Sites",{"path":1829,"title":1830},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fsearch-for-static-sites\u002Fpagefind-vs-algolia-docsearch","Pagefind vs Algolia DocSearch",{"path":1832,"title":1833},"\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":1835,"title":1836},"\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":1838,"title":1839},"\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":1841,"title":1842},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fsearch-for-static-sites\u002Ftracking-zero-result-searches","Tracking Zero-Result Searches",{"path":1844,"title":1845},"\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":1847,"title":1848},"\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":1850,"title":1851},"\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":1853,"title":1854},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fssg-framework-selection-matrix\u002Fevaluating-ssg-accessibility-defaults","Evaluating SSG Accessibility Defaults",{"path":1856,"title":1857},"\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":1859,"title":1860},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Fssg-framework-selection-matrix","SSG Framework Selection Matrix",{"path":1862,"title":1863},"\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":1865,"title":1866},"\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":1868,"title":1869},"\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":1871,"title":1872},"\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":1874,"title":1875},"\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":1877,"title":1878},"\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":1880,"title":1881},"\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":1883,"title":1884},"\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":1886,"title":1887},"\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":1889,"title":1890},"\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":1892,"title":1893},"\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":1895,"title":1896},"\u002Fchoosing-the-right-static-site-generator-for-production\u002Ftechnical-seo-for-static-sites","Technical SEO for Static Sites",{"path":1898,"title":1899},"\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":1901,"title":1902},"\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":1904,"title":1905},"\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":1907,"title":1908},"\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":1910,"title":1911},"\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":1913,"title":1914},"\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":1916,"title":1917},"\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":1919,"title":1920},"\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":1922,"title":1923},"\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":1925,"title":1926},"\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":1928,"title":1929},"\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":1931,"title":1932},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fcdn-caching-rules-for-ssgs","CDN Caching Rules for SSGs",{"path":1934,"title":1935},"\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":1937,"title":1938},"\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":1940,"title":1941},"\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":1943,"title":1944},"\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":1946,"title":1947},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fcdn-caching-rules-for-ssgs\u002Ftiered-caching-and-origin-shield","Tiered Caching and Origin Shield",{"path":1949,"title":1950},"\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":1952,"title":1953},"\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":1955,"title":1956},"\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":1958,"title":1959},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fcss-and-javascript-asset-optimization","CSS and JavaScript Asset Optimization",{"path":1961,"title":1962},"\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":1964,"title":1965},"\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":1967,"title":1968},"\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":1970,"title":1971},"\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":1973,"title":1974},"\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":1976,"title":1977},"\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":1979,"title":1980},"\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":1982,"title":1983},"\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":1985,"title":1986},"\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":1988,"title":1989},"\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":1991,"title":1992},"\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":1994,"title":1995},"\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":1997,"title":1998},"\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":2000,"title":2001},"\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":2003,"title":2004},"\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":2006,"title":2007},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fcumulative-layout-shift-fixes-for-static-sites","Cumulative Layout Shift Fixes for Static Sites",{"path":2009,"title":2010},"\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":2012,"title":2013},"\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":2015,"title":2016},"\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":2018,"title":2019},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Ffont-loading-strategies-for-static-sites\u002Fauditing-font-payload-per-page","Auditing Font Payload per Page",{"path":2021,"title":2022},"\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":2024,"title":2025},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Ffont-loading-strategies-for-static-sites\u002Ffont-display-optional-vs-swap","font-display: optional vs swap",{"path":2027,"title":2028},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Ffont-loading-strategies-for-static-sites","Font Loading Strategies for Static Sites",{"path":2030,"title":2031},"\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":2033,"title":2034},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Ffont-loading-strategies-for-static-sites\u002Fpreloading-fonts-without-double-downloads","Preloading Fonts Without Double Downloads",{"path":2036,"title":2037},"\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":2039,"title":2040},"\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":2042,"title":2043},"\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":2045,"title":2046},"\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":2048,"title":2049},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Ffont-loading-strategies-for-static-sites\u002Fvariable-fonts-vs-static-weights","Variable Fonts vs Static Weights",{"path":2051,"title":2052},"\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":2054,"title":2055},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fimage-optimization-pipelines-in-astro\u002Fblur-up-placeholders-with-lqip","Blur-Up Placeholders with LQIP",{"path":2057,"title":2058},"\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":2060,"title":2061},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fimage-optimization-pipelines-in-astro\u002Fcaching-processed-images-between-builds","Caching Processed Images Between Builds",{"path":2063,"title":2064},"\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":2066,"title":2067},"\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":2069,"title":2070},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fimage-optimization-pipelines-in-astro","Image Optimization Pipelines in Astro",{"path":2072,"title":2073},"\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":2075,"title":2076},"\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":2078,"title":2079},"\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":2081,"title":2082},"\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":2084,"title":2085},"\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":2087,"title":2088},"\u002Fperformance-optimization-core-web-vitals-for-ssgs","Core Web Vitals Optimization for SSGs",{"path":2090,"title":2091},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fjavascript-hydration-partial-rendering\u002Fastro-islands-vs-full-hydration-performance","Astro Islands vs Full Hydration Performance",{"path":2093,"title":2094},"\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":2096,"title":2097},"\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":2099,"title":2100},"\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":2102,"title":2103},"\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":2105,"title":2106},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fjavascript-hydration-partial-rendering\u002Fhow-to-reduce-bundle-size-in-eleventy-builds","How to Reduce Bundle Size in Eleventy Builds",{"path":2108,"title":2109},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fjavascript-hydration-partial-rendering","JavaScript Hydration & Partial Rendering",{"path":2111,"title":2112},"\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":2114,"title":2115},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fjavascript-hydration-partial-rendering\u002Fpreact-vs-react-islands-bundle-size","Preact vs React Islands Bundle Size",{"path":2117,"title":2118},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fjavascript-hydration-partial-rendering\u002Freplacing-react-islands-with-web-components","Replacing React Islands with Web Components",{"path":2120,"title":2121},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fjavascript-hydration-partial-rendering\u002Fserver-islands-in-astro","Server Islands in Astro",{"path":2123,"title":2124},"\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":2126,"title":2127},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Flargest-contentful-paint-optimization-for-static-sites\u002Ffixing-lcp-on-text-heavy-documentation-pages","Fixing LCP on Text-Heavy Documentation Pages",{"path":2129,"title":2130},"\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":2132,"title":2133},"\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":2135,"title":2136},"\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":2138,"title":2139},"\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":2141,"title":2142},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Flargest-contentful-paint-optimization-for-static-sites","Largest Contentful Paint Optimization for Static Sites",{"path":2144,"title":2145},"\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":2147,"title":2148},"\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":2150,"title":2151},"\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":2153,"title":2154},"\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":2156,"title":2157},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fperformance-budgets-and-lighthouse-ci","Performance Budgets and Lighthouse CI",{"path":2159,"title":2160},"\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":2162,"title":2163},"\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":2165,"title":2166},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fperformance-budgets-and-lighthouse-ci\u002Fper-template-performance-budgets","Per-Template Performance Budgets",{"path":2168,"title":2169},"\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":2171,"title":2172},"\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":2174,"title":2175},"\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":2177,"title":2178},"\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":2180,"title":2181},"\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":2183,"title":2184},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fperformance-budgets-and-lighthouse-ci\u002Ftracking-page-weight-over-time","Tracking Page Weight Over Time",{"path":2186,"title":2187},"\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":2189,"title":2190},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fresource-hints-and-navigation-speed\u002Fauditing-unused-preloads","Auditing Unused Preloads",{"path":2192,"title":2193},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fresource-hints-and-navigation-speed\u002Fearly-hints-103-on-cloudflare","Early Hints (103) on Cloudflare",{"path":2195,"title":2196},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fresource-hints-and-navigation-speed\u002Ffetchpriority-beyond-the-hero-image","Fetchpriority Beyond the Hero Image",{"path":2198,"title":2199},"\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":2201,"title":2202},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fresource-hints-and-navigation-speed","Resource Hints and Navigation Speed",{"path":2204,"title":2205},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fresource-hints-and-navigation-speed\u002Finstant-navigation-with-speculation-rules","Instant Navigation with Speculation Rules",{"path":2207,"title":2208},"\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":2210,"title":2211},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fresource-hints-and-navigation-speed\u002Fprefetching-links-in-astro","Prefetching Links in Astro",{"path":2213,"title":2214},"\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":2216,"title":2217},"\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":2219,"title":2220},"\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":2222,"title":2223},"\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":2225,"title":2226},"\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":2228,"title":2229},"\u002Fperformance-optimization-core-web-vitals-for-ssgs\u002Fthird-party-script-performance-on-static-sites","Third-Party Script Performance on Static Sites",{"path":2231,"title":2232},"\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":2234,"title":2235},"\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":2237,"title":2238},"\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":2240,"title":2241},"\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":2243,"title":2244},"\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":2246,"title":2247},"\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":2249,"title":2250},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fcloudflare-pages-edge-caching-setup\u002Fautomating-eleventy-deployments-with-cloudflare-pages","Automating Eleventy Deployments on Cloudflare Pages",{"path":2252,"title":2253},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fcloudflare-pages-edge-caching-setup\u002Fbranch-deploy-controls-on-cloudflare-pages","Branch Deploy Controls on Cloudflare Pages",{"path":2255,"title":2256},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fcloudflare-pages-edge-caching-setup\u002Fcloudflare-pages-functions-middleware","Cloudflare Pages Functions Middleware",{"path":2258,"title":2259},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fcloudflare-pages-edge-caching-setup\u002Fconfiguring-redirects-on-cloudflare-pages","Configuring Redirects on Cloudflare Pages",{"path":2261,"title":2262},"\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":2264,"title":2265},"\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":2267,"title":2268},"\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":2270,"title":2271},"\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":2273,"title":2274},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fcloudflare-pages-edge-caching-setup\u002Ffixing-redirect-loops-on-cloudflare-pages","Fixing Redirect Loops on Cloudflare Pages",{"path":2276,"title":2277},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fcloudflare-pages-edge-caching-setup","Cloudflare Pages Edge Caching Setup",{"path":2279,"title":2280},"\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":2282,"title":2283},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fcontent-workflows-for-documentation-teams\u002Fchecking-links-in-pull-requests","Checking Links in Pull Requests",{"path":2285,"title":2286},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fcontent-workflows-for-documentation-teams\u002Fcontent-linting-with-markdownlint","Content Linting with markdownlint",{"path":2288,"title":2289},"\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":2291,"title":2292},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fcontent-workflows-for-documentation-teams\u002Feditorial-checks-with-vale-in-ci","Editorial Checks with Vale in CI",{"path":2294,"title":2295},"\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":2297,"title":2298},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fcontent-workflows-for-documentation-teams","Content Workflows for Documentation Teams",{"path":2300,"title":2301},"\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":2303,"title":2304},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fcontent-workflows-for-documentation-teams\u002Frelease-notes-and-changelogs-from-git","Release Notes and Changelogs from Git",{"path":2306,"title":2307},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fcontent-workflows-for-documentation-teams\u002Fscheduled-content-publishing-with-github-actions","Scheduled Content Publishing With GitHub Actions",{"path":2309,"title":2310},"\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":2312,"title":2313},"\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":2315,"title":2316},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fgithub-actions-for-automated-ssg-builds\u002Fbuilding-astro-sites-with-github-actions","Building Astro Sites with GitHub Actions",{"path":2318,"title":2319},"\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":2321,"title":2322},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fgithub-actions-for-automated-ssg-builds\u002Fconcurrency-groups-to-cancel-stale-builds","Concurrency Groups to Cancel Stale Builds",{"path":2324,"title":2325},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fgithub-actions-for-automated-ssg-builds\u002Fdeploying-to-github-pages-with-actions","Deploying to GitHub Pages with Actions",{"path":2327,"title":2328},"\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":2330,"title":2331},"\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":2333,"title":2334},"\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":2336,"title":2337},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fgithub-actions-for-automated-ssg-builds","GitHub Actions for Automated SSG Builds",{"path":2339,"title":2340},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fgithub-actions-for-automated-ssg-builds\u002Fmatrix-builds-for-multi-site-monorepos","Matrix Builds for Multi-Site Monorepos",{"path":2342,"title":2343},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fgithub-actions-for-automated-ssg-builds\u002Fpinning-actions-by-commit-sha","Pinning Actions by Commit SHA",{"path":2345,"title":2346},"\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":2348,"title":2349},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fgithub-actions-for-automated-ssg-builds\u002Freusable-workflows-for-ssg-builds","Reusable Workflows for SSG Builds",{"path":2351,"title":2352},"\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":2354,"title":2355},"\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":2357,"title":2358},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fincremental-builds-and-build-caching-for-ssgs\u002Fdeploying-only-changed-files","Deploying Only Changed Files",{"path":2360,"title":2361},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fincremental-builds-and-build-caching-for-ssgs\u002Fenabling-incremental-builds-in-eleventy","Enabling Incremental Builds in Eleventy",{"path":2363,"title":2364},"\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":2366,"title":2367},"\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":2369,"title":2370},"\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":2372,"title":2373},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fincremental-builds-and-build-caching-for-ssgs","Incremental Builds and Build Caching for SSGs",{"path":2375,"title":2376},"\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":2378,"title":2379},"\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":2381,"title":2382},"\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":2384,"title":2385},"\u002Fproduction-ready-deployment-cicd-workflows","Production-Ready Deployment & CI\u002FCD for SSGs",{"path":2387,"title":2388},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fmonitoring-static-sites-in-production\u002Falerting-on-cache-hit-ratio-drops","Alerting on Cache Hit Ratio Drops",{"path":2390,"title":2391},"\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":2393,"title":2394},"\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":2396,"title":2397},"\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":2399,"title":2400},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fmonitoring-static-sites-in-production","Monitoring Static Sites in Production",{"path":2402,"title":2403},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fmonitoring-static-sites-in-production\u002Flogging-404s-at-the-edge","Logging 404s at the Edge",{"path":2405,"title":2406},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fmonitoring-static-sites-in-production\u002Fmonitoring-tls-certificate-expiry","Monitoring TLS Certificate Expiry",{"path":2408,"title":2409},"\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":2411,"title":2412},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fmonitoring-static-sites-in-production\u002Fsynthetic-monitoring-with-scheduled-playwright-checks","Synthetic Monitoring With Scheduled Playwright Checks",{"path":2414,"title":2415},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fmonitoring-static-sites-in-production\u002Ftracking-deploy-markers-in-analytics","Tracking Deploy Markers in Analytics",{"path":2417,"title":2418},"\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":2420,"title":2421},"\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":2423,"title":2424},"\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":2426,"title":2427},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fnetlify-vs-vercel-deployment-strategies\u002Fconfiguring-vercel-for-hugo-and-eleventy","Configuring Vercel for Hugo and Eleventy",{"path":2429,"title":2430},"\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":2432,"title":2433},"\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":2435,"title":2436},"\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":2438,"title":2439},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fnetlify-vs-vercel-deployment-strategies","Netlify vs Vercel Deployment Strategies",{"path":2441,"title":2442},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fnetlify-vs-vercel-deployment-strategies\u002Fnetlify-build-hooks-for-content-updates","Netlify Build Hooks for Content Updates",{"path":2444,"title":2445},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fnetlify-vs-vercel-deployment-strategies\u002Fnetlify-edge-functions-for-static-sites","Netlify Edge Functions for Static Sites",{"path":2447,"title":2448},"\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":2450,"title":2451},"\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":2453,"title":2454},"\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":2456,"title":2457},"\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":2459,"title":2460},"\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":2462,"title":2463},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fpreview-environments-for-pull-requests\u002Fcleaning-up-stale-preview-deployments","Cleaning Up Stale Preview Deployments",{"path":2465,"title":2466},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fpreview-environments-for-pull-requests\u002Fcommenting-on-preview-deploys","Commenting on Preview Deploys",{"path":2468,"title":2469},"\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":2471,"title":2472},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fpreview-environments-for-pull-requests","Preview Environments for Pull Requests",{"path":2474,"title":2475},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fpreview-environments-for-pull-requests\u002Fpassword-protecting-preview-deployments","Password-Protecting Preview Deployments",{"path":2477,"title":2478},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fpreview-environments-for-pull-requests\u002Fpreview-deploys-for-monorepos","Preview Deploys for Monorepos",{"path":2480,"title":2481},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fpreview-environments-for-pull-requests\u002Fpreviewing-headless-cms-drafts","Previewing Headless CMS Drafts",{"path":2483,"title":2484},"\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":2486,"title":2487},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fpreview-environments-for-pull-requests\u002Fvisual-regression-testing-on-preview-deploys","Visual Regression Testing on Preview Deploys",{"path":2489,"title":2490},"\u002Fproduction-ready-deployment-cicd-workflows\u002Frollbacks-and-deploy-safety-for-static-sites\u002Fatomic-deploys-vs-incremental-uploads","Atomic Deploys vs Incremental Uploads",{"path":2492,"title":2493},"\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":2495,"title":2496},"\u002Fproduction-ready-deployment-cicd-workflows\u002Frollbacks-and-deploy-safety-for-static-sites\u002Fcanary-releases-for-static-sites","Canary Releases for Static Sites",{"path":2498,"title":2499},"\u002Fproduction-ready-deployment-cicd-workflows\u002Frollbacks-and-deploy-safety-for-static-sites\u002Ffeature-flags-on-static-sites","Feature Flags on Static Sites",{"path":2501,"title":2502},"\u002Fproduction-ready-deployment-cicd-workflows\u002Frollbacks-and-deploy-safety-for-static-sites","Rollbacks and Deploy Safety for Static Sites",{"path":2504,"title":2505},"\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":2507,"title":2508},"\u002Fproduction-ready-deployment-cicd-workflows\u002Frollbacks-and-deploy-safety-for-static-sites\u002Fpost-deploy-verification-checklists","Post-Deploy Verification Checklists",{"path":2510,"title":2511},"\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":2513,"title":2514},"\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":2516,"title":2517},"\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":2519,"title":2520},"\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":2522,"title":2523},"\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":2525,"title":2526},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fsecurity-headers-for-static-sites\u002Fauditing-npm-dependencies-in-ssg-pipelines","Auditing npm Dependencies in SSG Pipelines",{"path":2528,"title":2529},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fsecurity-headers-for-static-sites\u002Fenabling-hsts-and-preload-safely","Enabling HSTS and Preload Safely",{"path":2531,"title":2532},"\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":2534,"title":2535},"\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":2537,"title":2538},"\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":2540,"title":2541},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fsecurity-headers-for-static-sites","Security Headers and Hardening for Static Sites",{"path":2543,"title":2544},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fsecurity-headers-for-static-sites\u002Fpermissions-policy-and-cross-origin-headers","Permissions-Policy and Cross-Origin Headers",{"path":2546,"title":2547},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fsecurity-headers-for-static-sites\u002Fsecuring-deploy-credentials-with-github-oidc","Securing Deploy Credentials with GitHub OIDC",{"path":2549,"title":2550},"\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":2552,"title":2553},"\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":2555,"title":2556},"\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":2558,"title":2559},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fsecurity-headers-for-static-sites\u002Fsubresource-integrity-for-third-party-assets","Subresource Integrity for Third-Party Assets",{"path":2561,"title":2562},"\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":2564,"title":2565},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fself-hosting-static-sites\u002Fbrotli-and-gzip-precompression-served-by-nginx","Brotli and Gzip Precompression Served by Nginx",{"path":2567,"title":2568},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fself-hosting-static-sites\u002Fclean-urls-and-trailing-slashes-on-s3","Clean URLs and Trailing Slashes on S3",{"path":2570,"title":2571},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fself-hosting-static-sites\u002Fcloudfront-functions-for-redirects","CloudFront Functions for Redirects",{"path":2573,"title":2574},"\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":2576,"title":2577},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fself-hosting-static-sites\u002Fhosting-on-azure-static-web-apps","Hosting on Azure Static Web Apps",{"path":2579,"title":2580},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fself-hosting-static-sites","Self-Hosting Static Sites on S3, Nginx and Caddy",{"path":2582,"title":2583},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fself-hosting-static-sites\u002Fnginx-vs-caddy-for-serving-static-sites","Nginx vs Caddy for Serving Static Sites",{"path":2585,"title":2586},"\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":2588,"title":2589},"\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":2591,"title":2592},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fself-hosting-static-sites\u002Fserving-a-static-site-with-caddy","Serving a Static Site with Caddy",{"path":2594,"title":2595},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fself-hosting-static-sites\u002Fserving-a-static-site-with-nginx","Serving a Static Site with Nginx",{"path":2597,"title":2598},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fself-hosting-static-sites\u002Fstatic-hosting-on-google-cloud-storage","Static Hosting on Google Cloud Storage",{"path":2600,"title":2601},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fself-hosting-static-sites\u002Fzero-downtime-deploys-with-symlink-swaps","Zero-Downtime Deploys with Symlink Swaps",{"path":2603,"title":2604},"\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":2606,"title":2607},"\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":2609,"title":2610},"\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":2612,"title":2613},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fserverless-functions-for-static-sites","Serverless Functions for Static Sites",{"path":2615,"title":2616},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fserverless-functions-for-static-sites\u002Fnetlify-functions-vs-cloudflare-workers","Netlify Functions vs Cloudflare Workers",{"path":2618,"title":2619},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fserverless-functions-for-static-sites\u002Fnewsletter-signup-with-an-edge-function","Newsletter Signup with an Edge Function",{"path":2621,"title":2622},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fserverless-functions-for-static-sites\u002Fprotecting-a-static-site-behind-authentication","Protecting a Static Site Behind Authentication",{"path":2624,"title":2625},"\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":2627,"title":2628},"\u002Fproduction-ready-deployment-cicd-workflows\u002Fserverless-functions-for-static-sites\u002Frate-limiting-edge-functions","Rate Limiting Edge Functions",{"path":2630,"title":2631},"\u002Fproduction-ready-deployment-cicd-workflows\u002Ftesting-static-sites-in-ci\u002Faccessibility-testing-with-axe-and-pa11y-in-ci","Accessibility Testing with axe and pa11y in CI",{"path":2633,"title":2634},"\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":2636,"title":2637},"\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":2639,"title":2640},"\u002Fproduction-ready-deployment-cicd-workflows\u002Ftesting-static-sites-in-ci","Testing Static Sites in CI",{"path":2642,"title":2643},"\u002Fproduction-ready-deployment-cicd-workflows\u002Ftesting-static-sites-in-ci\u002Fsnapshot-testing-build-output","Snapshot Testing Build Output",{"path":2645,"title":2646},"\u002Fproduction-ready-deployment-cicd-workflows\u002Ftesting-static-sites-in-ci\u002Ftesting-redirects-and-headers-before-deploy","Testing Redirects and Headers Before Deploy",{"path":2648,"title":2649},"\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":2651,"title":2652},"\u002Fproduction-ready-deployment-cicd-workflows\u002Ftesting-static-sites-in-ci\u002Ftesting-structured-data-and-meta-tags","Testing Structured Data and Meta Tags",{"path":2654,"title":2655},"\u002Fproduction-ready-deployment-cicd-workflows\u002Ftesting-static-sites-in-ci\u002Fvalidating-html-output-in-ci","Validating HTML Output in CI",{"kind":2657,"tools":2661},{"label":2658,"plural":2659,"u":2660},"How-to","How-tos","\u002Fguides\u002Fhow-to\u002F",[],1790943190979]