[{"data":1,"prerenderedAt":1493},["ShallowReactive",2],{"navigation_docs":3,"-guide-content-media":613,"-guide-content-media-surround":1490},[4,39,101,378,540,562,584,606],{"title":5,"icon":6,"path":7,"stem":8,"children":9,"page":38},"Start","i-lucide-rocket","\u002Fstart","1.start",[10,14,18,22,26,30,34],{"title":11,"path":12,"stem":13},"Our approach","\u002Fstart\u002Four-approach","1.start\u002F0.our-approach",{"title":15,"path":16,"stem":17},"Introduction","\u002Fstart\u002Fintroduction","1.start\u002F1.introduction",{"title":19,"path":20,"stem":21},"Concepts","\u002Fstart\u002Fconcepts","1.start\u002F2.concepts",{"title":23,"path":24,"stem":25},"Glossary","\u002Fstart\u002Fglossary","1.start\u002F3.glossary",{"title":27,"path":28,"stem":29},"Try it locally","\u002Fstart\u002Ftry-it-locally","1.start\u002F4.try-it-locally",{"title":31,"path":32,"stem":33},"Features","\u002Fstart\u002Ffeatures","1.start\u002F5.features",{"title":35,"path":36,"stem":37},"Questions","\u002Fstart\u002Ffaq","1.start\u002F6.faq",false,{"title":40,"icon":41,"path":42,"stem":43,"children":44,"page":38},"Run SHADE","i-lucide-server","\u002Frun","2.run",[45,49,53,57,61,65,69,73,77,81,85,89,93,97],{"title":46,"path":47,"stem":48},"Setting up an instance (Coolify)","\u002Frun\u002Fcoolify","2.run\u002F1.coolify",{"title":50,"path":51,"stem":52},"Console commands","\u002Frun\u002Fconsole","2.run\u002F10.console",{"title":54,"path":55,"stem":56},"Rotating APP_SECRET","\u002Frun\u002Frotating-app-secret","2.run\u002F11.rotating-app-secret",{"title":58,"path":59,"stem":60},"Checking an instance","\u002Frun\u002Fdoctor","2.run\u002F12.doctor",{"title":62,"path":63,"stem":64},"Self-hosting by hand","\u002Frun\u002Fown-server-by-hand","2.run\u002F13.own-server-by-hand",{"title":66,"path":67,"stem":68},"NixOS (experimental)","\u002Frun\u002Fnixos","2.run\u002F14.nixos",{"title":70,"path":71,"stem":72},"Self-hosting without Coolify","\u002Frun\u002Fown-server","2.run\u002F2.own-server",{"title":74,"path":75,"stem":76},"Hosting the site on a static host","\u002Frun\u002Fstatic-hosts","2.run\u002F3.static-hosts",{"title":78,"path":79,"stem":80},"Licence","\u002Frun\u002Flicence","2.run\u002F4.licence",{"title":82,"path":83,"stem":84},"Updating and backups","\u002Frun\u002Fupdating-and-backups","2.run\u002F5.updating-and-backups",{"title":86,"path":87,"stem":88},"Troubleshooting","\u002Frun\u002Ftroubleshooting","2.run\u002F6.troubleshooting",{"title":90,"path":91,"stem":92},"Logs, request ids, traces and metrics","\u002Frun\u002Flogs","2.run\u002F7.logs",{"title":94,"path":95,"stem":96},"Maintenance mode","\u002Frun\u002Fmaintenance-mode","2.run\u002F8.maintenance-mode",{"title":98,"path":99,"stem":100},"Usage limits","\u002Frun\u002Fusage-limits","2.run\u002F9.usage-limits",{"title":102,"icon":103,"path":104,"stem":105,"children":106},"Guide","i-lucide-book-open","\u002Fguide","3.guide",[107,109,147,192,210,280,310,364],{"title":102,"path":104,"stem":108},"3.guide\u002Findex",{"title":110,"icon":111,"path":112,"stem":113,"children":114,"page":38},"Content","i-lucide-file-text","\u002Fguide\u002Fcontent","3.guide\u002F1.content",[115,119,123,127,131,135,139,143],{"title":116,"path":117,"stem":118},"Collections and entries","\u002Fguide\u002Fcontent\u002Fcollections","3.guide\u002F1.content\u002F1.collections",{"title":120,"path":121,"stem":122},"Field types","\u002Fguide\u002Fcontent\u002Ffields","3.guide\u002F1.content\u002F2.fields",{"title":124,"path":125,"stem":126},"Drafts, publishing and version history","\u002Fguide\u002Fcontent\u002Fversions","3.guide\u002F1.content\u002F3.versions",{"title":128,"path":129,"stem":130},"Languages","\u002Fguide\u002Fcontent\u002Flanguages","3.guide\u002F1.content\u002F4.languages",{"title":132,"path":133,"stem":134},"Data sources","\u002Fguide\u002Fcontent\u002Fdata-sources","3.guide\u002F1.content\u002F5.data-sources",{"title":136,"path":137,"stem":138},"Media","\u002Fguide\u002Fcontent\u002Fmedia","3.guide\u002F1.content\u002F6.media",{"title":140,"path":141,"stem":142},"Search","\u002Fguide\u002Fcontent\u002Fsearch","3.guide\u002F1.content\u002F7.search",{"title":144,"path":145,"stem":146},"Trash","\u002Fguide\u002Fcontent\u002Ftrash","3.guide\u002F1.content\u002F8.trash",{"title":148,"icon":149,"path":150,"stem":151,"children":152,"page":38},"Website","i-lucide-globe","\u002Fguide\u002Fwebsite","3.guide\u002F2.website",[153,156,160,164,168,172,176,180,184,188],{"title":148,"path":154,"stem":155},"\u002Fguide\u002Fwebsite\u002Fwebsite","3.guide\u002F2.website\u002F1.website",{"title":157,"path":158,"stem":159},"Scroll scenes","\u002Fguide\u002Fwebsite\u002Fscroll-scenes","3.guide\u002F2.website\u002F10.scroll-scenes",{"title":161,"path":162,"stem":163},"Pages and posts","\u002Fguide\u002Fwebsite\u002Fpages","3.guide\u002F2.website\u002F2.pages",{"title":165,"path":166,"stem":167},"The visual editor","\u002Fguide\u002Fwebsite\u002Fvisual-editor","3.guide\u002F2.website\u002F3.visual-editor",{"title":169,"path":170,"stem":171},"Roles and locks","\u002Fguide\u002Fwebsite\u002Froles-and-locks","3.guide\u002F2.website\u002F4.roles-and-locks",{"title":173,"path":174,"stem":175},"Header and footer","\u002Fguide\u002Fwebsite\u002Fheader-and-footer","3.guide\u002F2.website\u002F5.header-and-footer",{"title":177,"path":178,"stem":179},"Theme","\u002Fguide\u002Fwebsite\u002Ftheme","3.guide\u002F2.website\u002F6.theme",{"title":181,"path":182,"stem":183},"Redirects","\u002Fguide\u002Fwebsite\u002Fredirects","3.guide\u002F2.website\u002F7.redirects",{"title":185,"path":186,"stem":187},"Site settings","\u002Fguide\u002Fwebsite\u002Fsite-settings","3.guide\u002F2.website\u002F8.site-settings",{"title":189,"path":190,"stem":191},"The site","\u002Fguide\u002Fwebsite\u002Fthe-site","3.guide\u002F2.website\u002F9.the-site",{"title":193,"icon":194,"path":195,"stem":196,"children":197,"page":38},"Publishing","i-lucide-send","\u002Fguide\u002Fpublishing","3.guide\u002F3.publishing",[198,202,206],{"title":199,"path":200,"stem":201},"Publishing and preview","\u002Fguide\u002Fpublishing\u002Fpublishing","3.guide\u002F3.publishing\u002F1.publishing",{"title":203,"path":204,"stem":205},"Builds","\u002Fguide\u002Fpublishing\u002Fbuilds","3.guide\u002F3.publishing\u002F2.builds",{"title":207,"path":208,"stem":209},"CDN caches","\u002Fguide\u002Fpublishing\u002Fcaches","3.guide\u002F3.publishing\u002F3.caches",{"title":211,"icon":212,"path":213,"stem":214,"children":215,"page":38},"People, security and privacy","i-lucide-shield","\u002Fguide\u002Fpeople-and-security","3.guide\u002F4.people-and-security",[216,220,224,228,232,236,240,244,248,252,256,260,264,268,272,276],{"title":217,"path":218,"stem":219},"People in SHADE","\u002Fguide\u002Fpeople-and-security\u002Fpeople-in-shade","3.guide\u002F4.people-and-security\u002F0.people-in-shade",{"title":221,"path":222,"stem":223},"Team and roles","\u002Fguide\u002Fpeople-and-security\u002Fteam","3.guide\u002F4.people-and-security\u002F1.team",{"title":225,"path":226,"stem":227},"Errors and security alerts","\u002Fguide\u002Fpeople-and-security\u002Ferrors","3.guide\u002F4.people-and-security\u002F10.errors",{"title":229,"path":230,"stem":231},"Exporting an instance","\u002Fguide\u002Fpeople-and-security\u002Fexporting","3.guide\u002F4.people-and-security\u002F11.exporting",{"title":233,"path":234,"stem":235},"Organisations","\u002Fguide\u002Fpeople-and-security\u002Forganisations","3.guide\u002F4.people-and-security\u002F12.organisations",{"title":237,"path":238,"stem":239},"Signing in through an identity provider (team)","\u002Fguide\u002Fpeople-and-security\u002Fidentity-providers","3.guide\u002F4.people-and-security\u002F13.identity-providers",{"title":241,"path":242,"stem":243},"System status","\u002Fguide\u002Fpeople-and-security\u002Fsystem-status","3.guide\u002F4.people-and-security\u002F14.system-status",{"title":245,"path":246,"stem":247},"Appearance","\u002Fguide\u002Fpeople-and-security\u002Fappearance","3.guide\u002F4.people-and-security\u002F15.appearance",{"title":249,"path":250,"stem":251},"Accounts and personal pages","\u002Fguide\u002Fpeople-and-security\u002Faccounts","3.guide\u002F4.people-and-security\u002F2.accounts",{"title":253,"path":254,"stem":255},"Signing in (team)","\u002Fguide\u002Fpeople-and-security\u002Fsign-in","3.guide\u002F4.people-and-security\u002F3.sign-in",{"title":257,"path":258,"stem":259},"API tokens","\u002Fguide\u002Fpeople-and-security\u002Fapi-tokens","3.guide\u002F4.people-and-security\u002F4.api-tokens",{"title":261,"path":262,"stem":263},"Audit log","\u002Fguide\u002Fpeople-and-security\u002Faudit","3.guide\u002F4.people-and-security\u002F5.audit",{"title":265,"path":266,"stem":267},"Request protection","\u002Fguide\u002Fpeople-and-security\u002Fprotection","3.guide\u002F4.people-and-security\u002F6.protection",{"title":269,"path":270,"stem":271},"Personal data per person","\u002Fguide\u002Fpeople-and-security\u002Fprivacy","3.guide\u002F4.people-and-security\u002F7.privacy",{"title":273,"path":274,"stem":275},"Data retention","\u002Fguide\u002Fpeople-and-security\u002Fretention","3.guide\u002F4.people-and-security\u002F8.retention",{"title":277,"path":278,"stem":279},"Consent banner","\u002Fguide\u002Fpeople-and-security\u002Fconsent","3.guide\u002F4.people-and-security\u002F9.consent",{"title":281,"icon":282,"path":283,"stem":284,"children":285,"page":38},"Services","i-lucide-plug","\u002Fguide\u002Fservices","3.guide\u002F5.services",[286,290,294,298,302,306],{"title":287,"path":288,"stem":289},"Email","\u002Fguide\u002Fservices\u002Femail","3.guide\u002F5.services\u002F1.email",{"title":291,"path":292,"stem":293},"Opening hours","\u002Fguide\u002Fservices\u002Fopening-hours","3.guide\u002F5.services\u002F4.opening-hours",{"title":295,"path":296,"stem":297},"Webhooks","\u002Fguide\u002Fservices\u002Fwebhooks","3.guide\u002F5.services\u002F5.webhooks",{"title":299,"path":300,"stem":301},"Locations","\u002Fguide\u002Fservices\u002Flocations","3.guide\u002F5.services\u002F6.locations",{"title":303,"path":304,"stem":305},"VAT rates","\u002Fguide\u002Fservices\u002Fvat-rates","3.guide\u002F5.services\u002F7.vat-rates",{"title":307,"path":308,"stem":309},"Channels","\u002Fguide\u002Fservices\u002Fchannels","3.guide\u002F5.services\u002F8.channels",{"title":311,"icon":312,"path":313,"stem":314,"children":315,"page":38},"InstalledModules","i-lucide-puzzle","\u002Fguide\u002Fmodules","3.guide\u002F6.modules",[316,320,324,328,332,336,340,344,348,352,356,360],{"title":317,"path":318,"stem":319},"Modules","\u002Fguide\u002Fmodules\u002Fmanaging","3.guide\u002F6.modules\u002F1.managing",{"title":321,"path":322,"stem":323},"Dutch services (module)","\u002Fguide\u002Fmodules\u002Fnl","3.guide\u002F6.modules\u002F10.nl",{"title":325,"path":326,"stem":327},"Editorial (module)","\u002Fguide\u002Fmodules\u002Feditorial","3.guide\u002F6.modules\u002F11.editorial",{"title":329,"path":330,"stem":331},"Appointments (module)","\u002Fguide\u002Fmodules\u002Fappointments","3.guide\u002F6.modules\u002F2.appointments",{"title":333,"path":334,"stem":335},"Shop (the commerce module)","\u002Fguide\u002Fmodules\u002Fshop","3.guide\u002F6.modules\u002F3.shop",{"title":337,"path":338,"stem":339},"Untrusted modules","\u002Fguide\u002Fmodules\u002Funtrusted","3.guide\u002F6.modules\u002F4.untrusted",{"title":341,"path":342,"stem":343},"Analytics (module)","\u002Fguide\u002Fmodules\u002Fanalytics","3.guide\u002F6.modules\u002F5.analytics",{"title":345,"path":346,"stem":347},"Error forwarding (module)","\u002Fguide\u002Fmodules\u002Ferror-forwarding","3.guide\u002F6.modules\u002F6.error-forwarding",{"title":349,"path":350,"stem":351},"Client programs","\u002Fguide\u002Fmodules\u002Fprograms","3.guide\u002F6.modules\u002F7.programs",{"title":353,"path":354,"stem":355},"Import and export (module)","\u002Fguide\u002Fmodules\u002Fimport","3.guide\u002F6.modules\u002F8.import",{"title":357,"path":358,"stem":359},"Payments (module)","\u002Fguide\u002Fmodules\u002Fpayments","3.guide\u002F6.modules\u002F8.payments",{"title":361,"path":362,"stem":363},"Forms (module)","\u002Fguide\u002Fmodules\u002Fforms","3.guide\u002F6.modules\u002F9.forms",{"title":365,"icon":366,"path":367,"stem":368,"children":369,"page":38},"AI assistants","i-lucide-bot","\u002Fguide\u002Fai","3.guide\u002F7.ai",[370,374],{"title":371,"path":372,"stem":373},"AI assistants (MCP)","\u002Fguide\u002Fai\u002Fassistants","3.guide\u002F7.ai\u002F1.assistants",{"title":375,"path":376,"stem":377},"Connecting an AI assistant","\u002Fguide\u002Fai\u002Fconnecting","3.guide\u002F7.ai\u002F2.connecting",{"title":379,"icon":380,"path":381,"stem":382,"children":383,"page":38},"Developers","i-lucide-code","\u002Fdevelopers","4.developers",[384,388,392,396,400,404,408,412,416,420,424,428,432,435,489,493,497,501,536],{"title":385,"path":386,"stem":387},"Architecture","\u002Fdevelopers\u002Farchitecture","4.developers\u002F1.architecture",{"title":389,"path":390,"stem":391},"Capabilities","\u002Fdevelopers\u002Fcapabilities","4.developers\u002F10.capabilities",{"title":393,"path":394,"stem":395},"Trust","\u002Fdevelopers\u002Ftrust","4.developers\u002F11.trust",{"title":397,"path":398,"stem":399},"Redis and the ports","\u002Fdevelopers\u002Fredis","4.developers\u002F12.redis",{"title":401,"path":402,"stem":403},"The worker container role","\u002Fdevelopers\u002Fworker","4.developers\u002F13.worker",{"title":405,"path":406,"stem":407},"kv: a module's own key-value storage","\u002Fdevelopers\u002Fkv","4.developers\u002F14.kv",{"title":409,"path":410,"stem":411},"Processes: long-running work on the worker","\u002Fdevelopers\u002Fprocesses","4.developers\u002F15.processes",{"title":413,"path":414,"stem":415},"Network: a module's outgoing calls","\u002Fdevelopers\u002Fnetwork","4.developers\u002F16.network",{"title":417,"path":418,"stem":419},"Realtime","\u002Fdevelopers\u002Frealtime","4.developers\u002F17.realtime",{"title":421,"path":422,"stem":423},"Private files","\u002Fdevelopers\u002Ffiles","4.developers\u002F18.files",{"title":425,"path":426,"stem":427},"Notify","\u002Fdevelopers\u002Fnotify","4.developers\u002F19.notify",{"title":429,"path":430,"stem":431},"Collections","\u002Fdevelopers\u002Fcollections","4.developers\u002F2.collections",{"title":337,"path":433,"stem":434},"\u002Fdevelopers\u002Funtrusted","4.developers\u002F20.untrusted",{"title":436,"icon":312,"path":437,"stem":438,"children":439},"Writing a plugin","\u002Fdevelopers\u002Fmodules","4.developers\u002F3.modules\u002Findex",[440,442,446,450,454,458,462,466,470,473,477,481,485],{"title":441,"path":437,"stem":438},"Writing a module",{"title":443,"path":444,"stem":445},"Module SDK and tooling","\u002Fdevelopers\u002Fmodules\u002Fsdk-and-tooling","4.developers\u002F3.modules\u002F1.sdk-and-tooling",{"title":447,"path":448,"stem":449},"Connecting accounts with OAuth2","\u002Fdevelopers\u002Fmodules\u002Foauth","4.developers\u002F3.modules\u002F10.oauth",{"title":451,"path":452,"stem":453},"Calls between modules","\u002Fdevelopers\u002Fmodules\u002Fcalls-between-modules","4.developers\u002F3.modules\u002F11.calls-between-modules",{"title":455,"path":456,"stem":457},"Experimental parts","\u002Fdevelopers\u002Fmodules\u002Fexperimental-parts","4.developers\u002F3.modules\u002F12.experimental-parts",{"title":459,"path":460,"stem":461},"The manifest","\u002Fdevelopers\u002Fmodules\u002Fmanifest","4.developers\u002F3.modules\u002F2.manifest",{"title":463,"path":464,"stem":465},"Routes","\u002Fdevelopers\u002Fmodules\u002Froutes","4.developers\u002F3.modules\u002F3.routes",{"title":467,"path":468,"stem":469},"Admin screens and the site part","\u002Fdevelopers\u002Fmodules\u002Fadmin-and-site","4.developers\u002F3.modules\u002F4.admin-and-site",{"title":110,"path":471,"stem":472},"\u002Fdevelopers\u002Fmodules\u002Fcontent","4.developers\u002F3.modules\u002F5.content",{"title":474,"path":475,"stem":476},"Background work and services","\u002Fdevelopers\u002Fmodules\u002Fbackground-and-services","4.developers\u002F3.modules\u002F6.background-and-services",{"title":478,"path":479,"stem":480},"SDK reference","\u002Fdevelopers\u002Fmodules\u002Fsdk-reference","4.developers\u002F3.modules\u002F7.sdk-reference",{"title":482,"path":483,"stem":484},"The website module's SDK","\u002Fdevelopers\u002Fmodules\u002Fwebsite-sdk","4.developers\u002F3.modules\u002F8.website-sdk",{"title":486,"path":487,"stem":488},"Incoming webhooks","\u002Fdevelopers\u002Fmodules\u002Fincoming-webhooks","4.developers\u002F3.modules\u002F9.incoming-webhooks",{"title":490,"path":491,"stem":492},"Core and the website module","\u002Fdevelopers\u002Fcore-and-website-module","4.developers\u002F4.core-and-website-module",{"title":494,"path":495,"stem":496},"The API","\u002Fdevelopers\u002Fapi","4.developers\u002F6.api",{"title":498,"path":499,"stem":500},"API reference","\u002Fdevelopers\u002Fapi-reference","4.developers\u002F6.api-reference",{"title":502,"icon":503,"path":504,"stem":505,"children":506},"Sites in other frameworks","i-lucide-layout-template","\u002Fdevelopers\u002Fframeworks","4.developers\u002F7.frameworks\u002Findex",[507,508,512,516,520,524,528,532],{"title":502,"path":504,"stem":505},{"title":509,"path":510,"stem":511},"Accounts: sign-in and modules' routes","\u002Fdevelopers\u002Fframeworks\u002Faccounts","4.developers\u002F7.frameworks\u002F1.accounts",{"title":513,"path":514,"stem":515},"`@shadestack\u002Ftree`","\u002Fdevelopers\u002Fframeworks\u002Ftree","4.developers\u002F7.frameworks\u002F2.tree",{"title":517,"path":518,"stem":519},"Expressions and styles","\u002Fdevelopers\u002Fframeworks\u002Fexpressions-and-styles","4.developers\u002F7.frameworks\u002F3.expressions-and-styles",{"title":521,"path":522,"stem":523},"`@shadestack\u002Frender`","\u002Fdevelopers\u002Fframeworks\u002Frender","4.developers\u002F7.frameworks\u002F4.render",{"title":525,"path":526,"stem":527},"`@shadestack\u002Finteractions`","\u002Fdevelopers\u002Fframeworks\u002Finteractions","4.developers\u002F7.frameworks\u002F5.interactions",{"title":529,"path":530,"stem":531},"`@shadestack\u002Fa11y`","\u002Fdevelopers\u002Fframeworks\u002Fa11y","4.developers\u002F7.frameworks\u002F6.a11y",{"title":533,"path":534,"stem":535},"Your own page for SHADE's links","\u002Fdevelopers\u002Fframeworks\u002Flinks","4.developers\u002F7.frameworks\u002F7.links",{"title":537,"path":538,"stem":539},"Build a client module","\u002Fdevelopers\u002Fclient-module","4.developers\u002F9.client-module",{"title":541,"icon":542,"path":543,"stem":544,"children":545,"page":38},"Security","i-lucide-shield-check","\u002Fsecurity","5.security",[546,550,554,558],{"title":547,"path":548,"stem":549},"Reporting a vulnerability","\u002Fsecurity\u002Freporting","5.security\u002F0.reporting",{"title":551,"path":552,"stem":553},"Security testing","\u002Fsecurity\u002Ftesting","5.security\u002F1.testing",{"title":555,"path":556,"stem":557},"Hardening a production instance","\u002Fsecurity\u002Fhardening","5.security\u002F2.hardening",{"title":559,"path":560,"stem":561},"Manual testing with Kali Linux","\u002Fsecurity\u002Fmanual-testing","5.security\u002F3.manual-testing",{"title":563,"icon":564,"path":565,"stem":566,"children":567,"page":38},"Contributing","i-lucide-git-pull-request","\u002Fcontributing","6.contributing",[568,572,576,580],{"title":569,"path":570,"stem":571},"Reading the code","\u002Fcontributing\u002Freading-the-code","6.contributing\u002F1.reading-the-code",{"title":573,"path":574,"stem":575},"Docs site","\u002Fcontributing\u002Fdocs-site","6.contributing\u002F2.docs-site",{"title":577,"path":578,"stem":579},"Releases","\u002Fcontributing\u002Freleases","6.contributing\u002F3.releases",{"title":581,"path":582,"stem":583},"Load tests","\u002Fcontributing\u002Fload-tests","6.contributing\u002F4.load-tests",{"title":585,"icon":586,"path":587,"stem":588,"children":589,"page":38},"Project","i-lucide-map","\u002Fproject","7.project",[590,594,598,602],{"title":591,"path":592,"stem":593},"Roadmap","\u002Fproject\u002Froadmap","7.project\u002F1.roadmap",{"title":595,"path":596,"stem":597},"Known issues","\u002Fproject\u002Fknown-issues","7.project\u002F2.known-issues",{"title":599,"path":600,"stem":601},"Changelog","\u002Fproject\u002Fchangelog","7.project\u002F3.changelog",{"title":603,"path":604,"stem":605},"Decisions","\u002Fproject\u002Fdecisions","7.project\u002F4.decisions",{"title":607,"path":608,"stem":609,"children":610,"icon":612},"Community","\u002Fcommunity","8.community\u002Findex",[611],{"title":607,"path":608,"stem":609},"i-lucide-users",{"id":614,"title":136,"body":615,"description":1475,"extension":1484,"links":1485,"meta":1486,"navigation":1487,"path":137,"seo":1488,"stem":138,"__hash__":1489},"docs\u002F3.guide\u002F1.content\u002F6.media.md",{"type":616,"value":617,"toc":1474},"minimark",[618,622,627,633,699,705,710,715,723,727,814,842,846,853,873,994,1000,1123,1129,1168,1171,1175,1196,1200,1205,1230,1235,1259,1263,1295,1299,1306,1356,1360,1378,1382,1411,1416,1437,1449,1459,1463],[619,620,621],"p",{},"The media library holds every image (SVG images too), document (PDF), web font (WOFF2), video, audio file and\ncaptions file the website uses. Editors upload files once and pick them in pages, collections and settings. SHADE\nmakes resized copies of images and removes hidden location data from them; videos and audio are kept exactly as\nuploaded. When the site is built, the files are copied into the static website.",[623,624,626],"h2",{"id":625},"what-users-can-do","What users can do",[619,628,629],{},[630,631,632],"strong",{},"Editors and admins",[634,635,636,640,643,696],"ul",{},[637,638,639],"li",{},"Upload one or more files by dropping them on the library or choosing them: JPEG, PNG, WebP, AVIF, GIF, SVG, PDF,\nWOFF2, MP4 and WebM videos, MP3 audio and WebVTT captions, up to 20 MB each and videos and audio up to 100 MB (an\nSVG up to 5 MB, and only when it passes the SVG check, below).",[637,641,642],{},"Browse, search, filter and sort the library, as a grid of small, medium or large tiles, or as a list.",[637,644,645,646],{},"Open an item in a side panel to:\n",[634,647,648,655,662,668,674,677,684],{},[637,649,650,651,654],{},"write its ",[630,652,653],{},"alt text"," (the description for people who can't see the image), also per site language;",[637,656,657,658,661],{},"set the ",[630,659,660],{},"focal point",": the part of the image that stays visible when the site crops it;",[637,663,664,667],{},[630,665,666],{},"replace its file"," with a new one of the same kind: everything that uses it shows the new file, with the same\nalt texts and focal point;",[637,669,670,673],{},[630,671,672],{},"crop"," an image (not GIFs, SVGs or other animated images): everything that uses it shows the cropped image, and the focal point is\nreset;",[637,675,676],{},"rename it (the name is only shown in the library);",[637,678,679,680,683],{},"see its details and ",[630,681,682],{},"where it is used",", and open the original;",[637,685,686,687,691,692,695],{},"delete it, if it is not used anywhere: it goes to the ",[688,689,690],"a",{"href":145},"trash",", and ",[630,693,694],{},"Undo"," in the toast puts it back.",[637,697,698],{},"Choose an image or a document in an image field, a file field or the website editor, and upload new files from that\npicker. When the chosen image has no alt text, the picker asks for it before using it.",[619,700,701,704],{},[630,702,703],{},"AI users"," (through MCP)",[634,706,707],{},[637,708,709],{},"Search the library, list images without alt text, and set alt text. Nothing else.",[619,711,712],{},[630,713,714],{},"Visitors",[634,716,717,720],{},[637,718,719],{},"See images in the size and format their browser handles best, cropped around the focal point.",[637,721,722],{},"Download documents a page links to.",[623,724,726],{"id":725},"who-may-do-it","Who may do it",[728,729,730,746],"table",{},[731,732,733],"thead",{},[734,735,736,740,743],"tr",{},[737,738,739],"th",{},"Action",[737,741,742],{},"Permission",[737,744,745],{},"Roles",[747,748,749,764,777,790,802],"tbody",{},[734,750,751,755,761],{},[752,753,754],"td",{},"See the library, usage, pick media",[752,756,757],{},[758,759,760],"code",{},"media.read",[752,762,763],{},"admin, editor, ai",[734,765,766,769,774],{},[752,767,768],{},"Upload",[752,770,771],{},[758,772,773],{},"media.upload",[752,775,776],{},"admin, editor",[734,778,779,782,787],{},[752,780,781],{},"Change alt text",[752,783,784],{},[758,785,786],{},"media.update",[752,788,789],{},"admin, editor, ai (only images not used by published content)",[734,791,792,795,799],{},[752,793,794],{},"Change focal point or name, replace or crop",[752,796,797],{},[758,798,786],{},[752,800,801],{},"admin, editor (ai: refused, alt text only)",[734,803,804,807,812],{},[752,805,806],{},"Delete",[752,808,809],{},[758,810,811],{},"media.delete",[752,813,776],{},[634,815,816,819,836],{},[637,817,818],{},"An AI user that tries to change more than alt text is refused, not silently ignored. AI users can never upload or\ndelete.",[637,820,821,822,824,825,827,828,832,833,835],{},"A module can never be given ",[758,823,811],{},". It may be given ",[758,826,773],{}," (the install consent says ",[829,830,831],"em",{},"Upload\nimages, PDF files and fonts to the media library",") and ",[758,834,786],{}," (which also replaces and crops files, and\nthe consent says so).",[637,837,838,839,841],{},"The website reads media with its own token, which needs ",[758,840,760],{},".",[623,843,845],{"id":844},"in-the-admin","In the admin",[619,847,848],{},[849,850],"img",{"alt":851,"src":852},"The media library with an image, two web fonts and a logo, and the drop zone for uploads","\u002Fscreenshots\u002Fmedia.png",[619,854,855,857,858,860,861,864,865,868,869,872],{},[630,856,136],{}," (sidebar entry ",[829,859,136],{},", shortcut ",[758,862,863],{},"g"," ",[758,866,867],{},"m","; also ",[829,870,871],{},"Media library"," on the dashboard). Shown to users who may\nsee the library.",[634,874,875,878,923,941,955,972],{},[637,876,877],{},"Tiles, newest first, 48 per page.",[637,879,880,881,884,885,888,889,892,893,888,896,888,899,888,902,888,905,888,908,888,911,914,915,918,919,922],{},"Top bar: the item count, a search box (",[829,882,883],{},"Search filename or alt text…","), a type select (",[829,886,887],{},"All types",", ",[829,890,891],{},"Images",",\n",[829,894,895],{},"GIFs",[829,897,898],{},"SVG images",[829,900,901],{},"Documents (PDF)",[829,903,904],{},"Web fonts (WOFF2)",[829,906,907],{},"Videos (MP4, WebM)",[829,909,910],{},"Audio (MP3)",[829,912,913],{},"Captions\n(WebVTT)",") and a ",[829,916,917],{},"Missing alt text"," checkbox. ",[829,920,921],{},"Missing alt\ntext"," finds images without alt text in the default language or in any of the site's other languages (on the site\na missing translation falls back to the default alt silently, so this is where editors find them).",[637,924,925,926,929,930,933,934,937,938],{},"Upload area (only for users who may upload): ",[829,927,928],{},"Drop files here or click to choose",", with the hint ",[829,931,932],{},"Images (JPEG,\nPNG, WebP, AVIF, GIF or SVG), PDF, web fonts (WOFF2), video (MP4, WebM), audio (MP3) or captions (WebVTT) · up to\n20 MB each, video and audio up to 100 MB · location data is removed from images, but video and audio keep their\nmetadata as uploaded (such as where and when they were recorded); SVGs with scripts or outside links are refused",".\nSeveral uploads end with ",[829,935,936],{},"Uploaded {count} files",". Each file is\nsent separately, so one bad file gets its own error message and the others still upload. Afterwards a message\nreminds: ",[829,939,940],{},"Add alt text before publishing pages that use them.",[637,942,943,944,947,948,951,952,841],{},"Grid of tiles, each with its file name below it. Each image is shown whole, never cut off, on a checkerboard so\ntransparent parts show: a wide logo shows from end to end, with empty space above and below it. Images without alt\ntext get a ",[829,945,946],{},"No alt"," badge. A video shows a frame of itself with a play mark, a font \"Aa\" in its own letters, and\nother files an icon for their kind (document, audio, captions). The list and the media picker show the same\npreviews. In a file's details a video plays, and a font shows a sample line. Empty states: ",[829,949,950],{},"No media yet"," or\n",[829,953,954],{},"Nothing matches",[637,956,957,958,961,962,888,965,888,968,971],{},"Tile size, next to the grid and list buttons (",[829,959,960],{},"Tile size",": ",[829,963,964],{},"Small tiles",[829,966,967],{},"Medium tiles",[829,969,970],{},"Large tiles","): small\ntiles fit more files on the screen, large tiles show more detail. Medium is the size the library starts with. The\nchoice is remembered in the browser, and only shown with the grid.",[637,973,974,975,978,979,982,983,985,986,989,990,993],{},"Or a list (",[829,976,977],{},"Show as a list"," \u002F ",[829,980,981],{},"Show as a grid"," in the toolbar, remembered in the browser): a small thumbnail, the\nname, a ",[829,984,946],{}," badge, the dimensions (or ",[829,987,988],{},"PDF","), the file size and the upload date. A ",[829,991,992],{},"Sort"," select next to\nit: newest or oldest first, name A–Z or Z–A, largest or smallest first.",[619,995,996,999],{},[630,997,998],{},"Detail panel"," (click a tile). The title is the file name.",[634,1001,1002,1009,1034,1041,1051,1057,1078,1099,1120],{},[637,1003,1004,1005,1008],{},"Images: the focal point picker. Click or drag on the image; arrow keys move the point by 1% (Shift: 10%);\nEscape or ",[829,1006,1007],{},"Reset to centre"," clears it. Three small previews show 1:1, 16:9 and 4:5 crops. Disabled for AI users.",[637,1010,1011,1012,1015,1016,888,1019,888,1022,1025,1026,1029,1030,1033],{},"Images (not GIFs, SVGs or other animated images, such as an animated WebP): ",[630,1013,1014],{},"Crop"," swaps the focal point picker for the cropper: drag over the image to draw the\npart to keep, or type it as ",[829,1017,1018],{},"Left",[829,1020,1021],{},"Top",[829,1023,1024],{},"Width"," and ",[829,1027,1028],{},"Height"," in percent; ",[630,1031,1032],{},"Crop image"," applies it (\"Image\ncropped\").",[637,1035,1036,1037,1040],{},"Documents: an ",[829,1038,1039],{},"Open the document"," button instead of the image; no alt text fields.",[637,1042,1043,1046,1047,1050],{},[829,1044,1045],{},"Alt text"," (max 300 characters), and ",[829,1048,1049],{},"Alt text (\u003Clanguage>)"," for every other site language. An empty\ntranslation means the default language's alt text is used.",[637,1052,1053,1056],{},[829,1054,1055],{},"Name",": display name only; the stored file is not renamed. Folders and control characters are taken out, as in an\nuploaded name.",[637,1058,1059,1060,888,1063,1066,1067,888,1070,1073,1074,1077],{},"Facts: ",[829,1061,1062],{},"Size",[829,1064,1065],{},"Type"," (with the number of generated sizes), ",[829,1068,1069],{},"Uploaded",[829,1071,1072],{},"Original"," (",[829,1075,1076],{},"Open in new tab",").",[637,1079,1080,1083,1084,892,1087,1090,1091,1094,1095,1098],{},[829,1081,1082],{},"Used in",": each entry or the site settings, the field it is used in, and whether it is used in the ",[829,1085,1086],{},"draft",[829,1088,1089],{},"live only",", or ",[829,1092,1093],{},"live and draft",". Each title links to where it can be edited. When this cannot be loaded, the panel says so,\nwith ",[630,1096,1097],{},"Try again",", rather than calling the item unused.",[637,1100,1101,1102,1104,1105,1108,1109,1111,1112,1115,1116,1119],{},"Footer: ",[829,1103,806],{}," (to the trash at once, without asking; the toast ",[829,1106,1107],{},"Moved to the trash"," has ",[630,1110,694],{},"),\n",[829,1113,1114],{},"Replace file"," (a file chooser for the same kind of file; \"File replaced: everything that uses it shows the new\none\") and ",[829,1117,1118],{},"Save"," (only enabled when something changed; Ctrl\u002FCmd+S also saves).",[637,1121,1122],{},"Closing the panel (or opening another item) while a save, crop or replacement is still on its way is fine: it\nstill completes (\"Saved\") and the library shows the result, but the panel stays closed.",[619,1124,1125,1128],{},[630,1126,1127],{},"Media picker",", opened from fields:",[634,1130,1131,1149,1162],{},[637,1132,1133,1134,1137,1138,1141,1142,1145,1146,841],{},"Image fields: title ",[829,1135,1136],{},"Choose image",", shows only images; button ",[829,1139,1140],{},"Use image",". The field shows a thumbnail and\nwarnings ",[829,1143,1144],{},"No alt text"," or ",[829,1147,1148],{},"Image no longer exists",[637,1150,1151,1152,1155,1156,978,1159,841],{},"File fields: shows only the field's kinds of document (PDFs); button ",[829,1153,1154],{},"Use file",". The field shows the file name (a\nlink to the file) and ",[829,1157,1158],{},"Choose file",[829,1160,1161],{},"Change file",[637,1163,1164,1165,1167],{},"Search, pagination (24 per page), an ",[829,1166,768],{}," button, double-click to choose. Images are shown whole, as in the\nlibrary. A selected image without alt\ntext gets an alt text input; it is saved when the image is used (a warning, not a block: publishing enforces it).",[619,1169,1170],{},"The admin is available in English and Dutch.",[623,1172,1174],{"id":1173},"on-the-website","On the website",[634,1176,1177,1182,1188,1193],{},[637,1178,1179,1181],{},[630,1180,891],{}," are shown in every generated size and format, so each browser picks the best one, with their width and\nheight set so the page does not jump while they load. Alt text is in the page's language, falling back to the\ndefault language.",[637,1183,1184,1187],{},[630,1185,1186],{},"Files are part of the site",": when the site is built, every media file it uses is copied into it. Visitors never\nload anything from SHADE itself. A missing file stops the build.",[637,1189,1190,1192],{},[630,1191,898],{}," are only ever shown as images, never put into the page's own HTML, where their markup would be part\nof the page.",[637,1194,1195],{},"Previews of drafts load media straight from SHADE (only the team sees them).",[623,1197,1199],{"id":1198},"rules-and-limits","Rules and limits",[619,1201,1202],{},[630,1203,1204],{},"Uploads",[634,1206,1207,1210,1224,1227],{},[637,1208,1209],{},"Maximum 20 MB per file, 100 MB for a video or audio file, and up to 200 MB in one upload of several files.",[637,1211,1212,1213,1216,1217,1220,1221,1077],{},"The type is recognised from the file's content, never from its name or the type the browser claims. Accepted:\nJPEG, PNG, WebP, AVIF, GIF, SVG (checked as below), PDF, WOFF2, MP4 and WebM video, MP3 audio and WebVTT captions.\nAnything else is refused with ",[829,1214,1215],{},"Unsupported file type … use JPEG, PNG, WebP, AVIF, GIF, SVG, PDF, WOFF2, MP4, WebM,\nMP3, WebVTT",". HEIC (iPhone photos) is recognised but refused; so are QuickTime (",[758,1218,1219],{},".mov",") and audio-only MP4 (",[758,1222,1223],{},".m4a",[637,1225,1226],{},"Images above about 100 megapixels are refused (protection against \"decompression bombs\").",[637,1228,1229],{},"File names are cleaned for display: folders and control characters removed, max 200 characters.",[619,1231,1232],{},[630,1233,1234],{},"Video, audio and captions",[634,1236,1237,1240,1251,1254],{},[637,1238,1239],{},"Kept exactly as uploaded: SHADE doesn't convert, shrink or strip them, so any metadata in the file (where and\nwhen it was recorded, the camera) stays. Remove it before uploading when it shouldn't be public. Make videos web\nsized yourself: SHADE makes no smaller copies.",[637,1241,1242,1243,1246,1247,1250],{},"Captions are WebVTT text files (",[758,1244,1245],{},".vtt",", starting with ",[758,1248,1249],{},"WEBVTT","). They are served as captions only, never as a page.",[637,1252,1253],{},"A video is replaced by a video (MP4 or WebM), audio by audio and captions by captions.",[637,1255,1256,1257,841],{},"In the website editor a video, audio or captions element picks its file from the library; see\n",[688,1258,165],{"href":166},[619,1260,1261],{},[630,1262,891],{},[634,1264,1265,1268,1271,1274,1277,1286,1289],{},[637,1266,1267],{},"Hidden metadata (GPS location, camera serial numbers) is removed before storing; colour profiles are kept.\nPortrait photos stay portrait.",[637,1269,1270],{},"Generated sizes: widths 320, 640, 960, 1280, 1920 and 2560 that are smaller than the original, plus the original\nwidth, each in AVIF and WebP. Images are never enlarged.",[637,1272,1273],{},"Animated GIFs (and other multi-frame images) get no other sizes; the original is shown, animation kept.",[637,1275,1276],{},"Alt text: max 300 characters per language. Translations may only use the site's other languages. An empty\ntranslation removes it.",[637,1278,1279,1281,1282,1285],{},[630,1280,193],{},": a page or entry that uses an image without alt text (in the default language) cannot be\npublished: ",[829,1283,1284],{},"Image \"…\" needs alt text before publishing",". Referring to a media item that no longer exists is\nalso refused.",[637,1287,1288],{},"Changing alt text (any language) or the focal point of an item used in published content rebuilds the site.\nRenaming does not.",[637,1290,1291,1294],{},[630,1292,1293],{},"Replacing and cropping"," (never by AI users): the new file goes through the same checks as an upload (size,\ntype, metadata removed, sizes made) and gets a new address, so no visitor's browser keeps showing the old one; the\nold files are deleted after the change is saved. An image can only be replaced by an image and a PDF by a PDF\n(\"Replace an image with an image\"), so fields that take only one kind keep fitting. A crop must lie inside the\nimage and be at least 10 pixels a side. Both are recorded in the audit log (\"Replaced the file of …\" \u002F \"Cropped …\nto W × H\") and rebuild the site when published content uses the item.",[619,1296,1297],{},[630,1298,898],{},[619,1300,1301,1302,1305],{},"An SVG is not a picture but a document: it can run scripts, load other files and hold a whole web page. So an SVG is\naccepted only when it passes a strict check on upload, and a file that fails is refused with the reason and the line\n(",[829,1303,1304],{},"\"logo.svg\" is refused: it has an event attribute (onload, line 3), which runs code.","). SHADE never changes an\nSVG to make it pass: what is stored is exactly what was uploaded, or nothing.",[634,1307,1308,1340,1350,1353],{},[637,1309,1310,1311],{},"The check allows drawing only (shapes, text, gradients, patterns, clipping and masks, filters, markers, simple\nanimation). It refuses:\n",[634,1312,1313,1316,1319,1322,1325,1328,1331,1334,1337],{},[637,1314,1315],{},"scripts and anything that runs code when the image is shown or clicked;",[637,1317,1318],{},"another document inside the image (an embedded web page or object);",[637,1320,1321],{},"anything outside the file: links to other files or addresses, other images or styles loaded from elsewhere;",[637,1323,1324],{},"addresses that run code or hold data, however they are written, except a PNG, JPEG or WebP picture inside the\nimage (Figma exports an image fill this way);",[637,1326,1327],{},"animations of a link, of anything that runs code or of another animation's settings, and an animation inside\nanother animation or a style;",[637,1329,1330],{},"declarations that can make the server read other files or blow up in size;",[637,1332,1333],{},"an editor's own extra data (such as Inkscape's or old Sketch files'): save the file as a plain SVG;",[637,1335,1336],{},"in its styles: escaped characters, and rules other than screen-size and animation rules;",[637,1338,1339],{},"broken files, text not in UTF-8, files over 5 MB, and files without a width and height in pixels or a view box\n(the image needs dimensions).",[637,1341,1342,1343,1346,1347,841],{},"Typical logo and icon exports pass: Figma, Illustrator (",[829,1344,1345],{},"SVG"," with internal CSS), Sketch and Inkscape's ",[829,1348,1349],{},"Plain SVG",[637,1351,1352],{},"Stored as uploaded, with no other sizes (the browser draws an SVG sharp at any size). Like any image it needs alt\ntext before publishing and has a focal point. It is never cropped; it can be replaced by any image, and an image\nby an SVG.",[637,1354,1355],{},"Opened on its own, an SVG runs nothing and loads nothing. Where files are kept in a cloud bucket, opening an SVG\nat the bucket's address downloads it instead, while pages show it as usual.",[619,1357,1358],{},[630,1359,901],{},[634,1361,1362,1372],{},[637,1363,1364,1365,1368,1369,1077],{},"Stored as uploaded: no other sizes, no dimensions, no alt text, no focal point. The details panel shows only the\nfile size (",[829,1366,1367],{},"… KB",") and the type (",[829,1370,1371],{},"application\u002Fpdf",[637,1373,1374,1375,1377],{},"The ",[829,1376,917],{}," filter and the publishing alt text check skip documents.",[619,1379,1380],{},[630,1381,904],{},[634,1383,1384,1399,1402,1408],{},[637,1385,1386,1387,1389,1390,1393,1394,888,1396,1398],{},"Stored like documents: no other sizes, no dimensions, no alt text. The type filter has ",[829,1388,904],{},"; the\nTheme screen's ",[829,1391,1392],{},"Add a web font"," opens the picker with fonts only (",[829,1395,1158],{},[829,1397,1154],{},"). A font is replaced\nonly by a font (\"Replace a font with a WOFF2 font\").",[637,1400,1401],{},"Only WOFF2: every current browser reads it and it is the smallest. Convert TTF or OTF files first.",[637,1403,1404,1405,1407],{},"A font the theme uses counts as used (",[829,1406,177],{},", with the font's name), so it cannot be deleted.",[637,1409,1410],{},"Where files are kept in a cloud bucket, the preview shows the fallback font until the bucket allows the site to\nload fonts from it; the published site has its own copy and needs nothing.",[619,1412,1413],{},[630,1414,1415],{},"Deleting",[634,1417,1418,1425,1431,1434],{},[637,1419,1420,1421,1424],{},"An item that is used cannot be deleted: ",[829,1422,1423],{},"\"…\" is still used in About, … Remove it there first."," \"Used\" means: in an\nimage or file field or inside the content of any page or entry, in its draft or published version, as the default\nsocial image in the site settings, or as one of the theme's web fonts.",[637,1426,1427,1428,1430],{},"Content in the ",[688,1429,690],{"href":145}," doesn't count for that, but it keeps the item from being deleted forever (\"… (in\nthe trash)\").",[637,1432,1433],{},"A deleted item goes to the trash with its files: it leaves the library, pickers and the site, and its files still count\ntoward the storage limit. Restored, it is back as it was.",[637,1435,1436],{},"Deleted forever (from the trash, or by retention after 30 days), the original and all its sizes are removed. Older\nversions in the history do not count; their reference becomes empty. If the storage cannot be reached at that\nmoment, SHADE retries every hour until the files are gone.",[619,1438,1439,1442,1443,978,1446,841],{},[630,1440,1441],{},"Kinds per field."," An image field (and an image in a page's content) takes images only, a file field the types it\naccepts. The picker shows that kind, and another is refused on save: ",[829,1444,1445],{},"This file is not an image",[829,1447,1448],{},"This type of\nfile is not allowed here",[619,1450,1451,1454,1455,1458],{},[630,1452,1453],{},"Storage."," Files are kept on the server's disk or in an S3-compatible bucket, whichever the instance is set up\nfor; see ",[688,1456,62],{"href":1457},"\u002Frun\u002Fown-server-by-hand#details",". The site build only downloads files it has not\ncopied before.",[623,1460,1462],{"id":1461},"for-developers","For developers",[619,1464,1465,1466,1469,1470,1473],{},"The code and its tests: ",[758,1467,1468],{},"shade\u002Ffeatures\u002Fmedia\u002FREADME.md"," in the ",[758,1471,1472],{},"shade"," repository.",{"title":1475,"searchDepth":1476,"depth":1476,"links":1477},"",2,[1478,1479,1480,1481,1482,1483],{"id":625,"depth":1476,"text":626},{"id":725,"depth":1476,"text":726},{"id":844,"depth":1476,"text":845},{"id":1173,"depth":1476,"text":1174},{"id":1198,"depth":1476,"text":1199},{"id":1461,"depth":1476,"text":1462},"md",null,{},true,{"title":136,"description":1475},"WCEvVz1K0MYrNNE0coNg-eXvs6NRbJjGodwJ8voWp4g",[1491,1492],{"title":132,"path":133,"stem":134,"description":1475,"children":-1},{"title":140,"path":141,"stem":142,"description":1475,"children":-1},1796500158635]