[{"data":1,"prerenderedAt":1514},["ShallowReactive",2],{"navigation_docs":3,"-guide-website-header-and-footer":613,"-guide-website-header-and-footer-surround":1511},[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":173,"body":615,"description":1496,"extension":1505,"links":1506,"meta":1507,"navigation":1508,"path":174,"seo":1509,"stem":175,"__hash__":1510},"docs\u002F3.guide\u002F2.website\u002F5.header-and-footer.md",{"type":616,"value":617,"toc":1495},"minimark",[618,639,646,651,654,782,785,797,819,823,841,978,982,989,1037,1048,1062,1078,1126,1130,1133,1140,1272,1275,1293,1341,1402,1409,1439,1442,1445,1448,1452,1485,1489],[619,620,621,622,625,626,629,630,633,634,638],"p",{},"Every page of the website is framed by a header and a footer. Both are built in the visual editor like a page, from\nelements, components and SHADE's widgets, on their own screen, ",[623,624,173],"strong",{},". What they show of the menu,\nthe footer's link columns, the social links and the copyright stays content: it is kept on the ",[623,627,628],{},"Navigation"," and\n",[623,631,632],{},"Footer"," screens of the ",[635,636,637],"a",{"href":154},"website module",", and the header and footer read it through data sources.",[619,640,641,642,645],{},"One header and one footer are the ",[623,643,644],{},"defaults",": every page shows them unless it picks another, or none. A site starts\nwith SHADE's own header and footer and changes them from there.",[647,648,650],"h2",{"id":649},"what-users-can-do","What users can do",[619,652,653],{},"Editors and admins:",[655,656,657,668,671,674,677,684,704,756],"ul",{},[658,659,660,661,663,664,667],"li",{},"See the site's headers and footers on the ",[623,662,173],{}," screen, the defaults marked ",[623,665,666],{},"Default",".",[658,669,670],{},"Make a new header or footer (a name and its kind) and build it in the visual editor: elements, components, data and\nstyles as on a page. Publish it from the editor.",[658,672,673],{},"Make another header or footer the default; the old one stops being the default at once.",[658,675,676],{},"Remove a header or footer that is not the default. One that pages pick is not removed: the message names them.",[658,678,679,680,683],{},"On a site without any, start from SHADE's header and footer (",[623,681,682],{},"Start from SHADE's header and footer",").",[658,685,686,687,689,690,693,694,697,698,697,700,703],{},"Pick another header or footer for one page, or none, in the page's form under ",[623,688,173],{}," (",[623,691,692],{},"Header",",\n",[623,695,696],{},"No header",", ",[623,699,632],{},[623,701,702],{},"No footer","). Empty means the default.",[658,705,706,707,709,710,712,713,715,716],{},"Build the menu, the call-to-action button, the footer's columns, the social links and the copyright on the\n",[623,708,628],{}," and ",[623,711,632],{}," screens, with drafts, publishing, history and translations like any entry (see\n",[635,714,124],{"href":125},"):\n",[655,717,718,721,724,732],{},[658,719,720],{},"the menu: up to 12 items, each with a label, a link and up to 20 dropdown items (one level deep);",[658,722,723],{},"one optional call-to-action button (label and link);",[658,725,726,727,731],{},"up to 6 link columns (an optional title and up to 20 links each), up to 10 social links (platform and URL) and the\nclosing words, up to 1,000 characters, in which ",[728,729,730],"code",{},"{year}"," becomes the current year: the copyright and, after a blank\nline, a paragraph of its own such as the licence;",[658,733,734,735,738,739,697,742,697,745,693,748,751,752,755],{},"links to a page of the site (optionally with an anchor such as ",[728,736,737],{},"#pricing",") or a URL (",[728,740,741],{},"https:\u002F\u002F…",[728,743,744],{},"\u002Fpath",[728,746,747],{},"#…",[728,749,750],{},"mailto:"," or ",[728,753,754],{},"tel:","), opening in a new tab or not.",[658,757,758,759,762,763,693,766,697,769,697,772,697,775,709,778,781],{},"Restyle the consent banner from the ",[623,760,761],{},"Site styles"," screen with variables named ",[728,764,765],{},"consent-background",[728,767,768],{},"consent-text",[728,770,771],{},"consent-border",[728,773,774],{},"consent-accent",[728,776,777],{},"consent-accent-contrast",[728,779,780],{},"consent-radius","; each falls back\nto the theme. Styles or a theme that would make its text hard to read (below 4.5:1 in any mode) are refused.",[619,783,784],{},"Visitors:",[655,786,787,794],{},[658,788,789,790,793],{},"See the page's header and footer, in the page's language. SHADE's header has the site's name, the menu (with\ndropdowns), the call-to-action button and a language switch; on phones a ",[623,791,792],{},"Menu"," button opens the menu, and Escape\nor a click outside closes it. SHADE's footer has the columns, the social links with their icons, and the copyright\nwith the current year.",[658,795,796],{},"See the default header and footer on the built-in \"page not found\" message. The account pages are pages of the\nsite, with their own pick.",[619,798,799,800,697,803,806,807,810,811,814,815,818],{},"AI assistants change them as drafts, as they change pages, and a person publishes what they drafted: the headers' and\nfooters' elements, styles and animations with the website tools (",[728,801,802],{},"website_list_parts",[728,804,805],{},"website_create_part",", then\nthe page tools given a ",[728,808,809],{},"partId","), and the Navigation and Footer content with the content tools (",[728,812,813],{},"update_draft_entry",").\nAn assistant makes a header or footer unpublished and not the default, and never publishes one. It may move one\nnothing shows to the trash (",[728,816,817],{},"website_delete_part","): never the default, never one a page picks; a person restores it or\nremoves it for good.",[647,820,822],{"id":821},"who-may-do-it","Who may do it",[619,824,825,826,829,830,709,833,836,837,840],{},"Headers and footers use their collection's actions, ",[728,827,828],{},"collections.website-parts.\u003Caction>","; the navigation and footer\ncontent use ",[728,831,832],{},"collections.website-navigation.\u003Caction>",[728,834,835],{},"collections.website-footer.\u003Caction>",". The ",[728,838,839],{},"ai"," role reads,\nmakes and drafts them, and moves a header or footer nothing shows to the trash; it can't publish one, restore or\nremove one for good, or publish the navigation or footer.",[842,843,844,860],"table",{},[845,846,847],"thead",{},[848,849,850,854,857],"tr",{},[851,852,853],"th",{},"Action",[851,855,856],{},"Permission",[851,858,859],{},"Roles",[861,862,863,877,893,906,919,932,948,965],"tbody",{},[848,864,865,869,874],{},[866,867,868],"td",{},"See the Header and footer screen, open one in the editor (ai: read one over MCP)",[866,870,871],{},[728,872,873],{},"collections.website-parts.read",[866,875,876],{},"admin, editor, ai",[848,878,879,882,890],{},[866,880,881],{},"Make one, start from SHADE's",[866,883,884,709,887],{},[728,885,886],{},"collections.website-parts.create",[728,888,889],{},".publish",[866,891,892],{},"admin, editor; ai makes one, unpublished and not the default",[848,894,895,898,903],{},[866,896,897],{},"Change one, make it the default",[866,899,900],{},[728,901,902],{},"collections.website-parts.update",[866,904,905],{},"admin, editor; ai drafts its elements, styles and animations only",[848,907,908,911,916],{},[866,909,910],{},"Publish one",[866,912,913],{},[728,914,915],{},"collections.website-parts.publish",[866,917,918],{},"admin, editor",[848,920,921,924,929],{},[866,922,923],{},"Remove one",[866,925,926],{},[728,927,928],{},"collections.website-parts.delete",[866,930,931],{},"admin, editor; ai one nothing shows (not the default, not one a page picks), to the trash",[848,933,934,937,946],{},[866,935,936],{},"Design or build in the editor",[866,938,939,697,942,945],{},[728,940,941],{},"website.pages.design",[728,943,944],{},"website.pages.build",", as on pages",[866,947,918],{},[848,949,950,953,962],{},[866,951,952],{},"Change the Navigation and Footer content",[866,954,955,958,959],{},[728,956,957],{},"collections.website-navigation.update"," \u002F ",[728,960,961],{},"collections.website-footer.update",[866,963,964],{},"admin, editor; ai as drafts",[848,966,967,970,975],{},[866,968,969],{},"Read the published header and footer (the site's build, AI assistants)",[866,971,972],{},[728,973,974],{},"content.read",[866,976,977],{},"admin, editor, ai, read tokens",[647,979,981],{"id":980},"in-the-admin","In the admin",[619,983,984],{},[985,986],"img",{"alt":987,"src":988},"The Header and footer screen: one header and one footer, each marked as the default","\u002Fscreenshots\u002Fheader-and-footer.png",[619,990,991,993,994,996,997,709,1000,1003,1004,751,1007,1010,1011,697,1013,751,1016,1019,1020,1023,1024,1027,1028,709,1031,1034,1035,667],{},[623,992,173],{}," is in the sidebar's ",[623,995,148],{}," section. It lists ",[623,998,999],{},"Headers",[623,1001,1002],{},"Footers",", each with ",[623,1005,1006],{},"New\nheader",[623,1008,1009],{},"New footer",". A card shows the name, ",[623,1012,666],{},[623,1014,1015],{},"Not published",[623,1017,1018],{},"Unpublished changes",", and\n",[623,1021,1022],{},"Edit"," (or ",[623,1025,1026],{},"View","), ",[623,1029,1030],{},"Make default",[623,1032,1033],{},"Remove"," (not on the default). Without any headers or footers the\nscreen offers ",[623,1036,682],{},[619,1038,1039,1041,1042,1045,1046,667],{},[623,1040,1022],{}," opens the visual editor as for a page: the canvas shows the header or footer alone on the home page (or\nelse the page changed last), with the structure, settings, style, data and motion panels, History, Accessibility and\n",[623,1043,1044],{},"Publish",". The way back is ",[623,1047,173],{},[655,1049,1050,1056],{},[658,1051,1052,1055],{},[623,1053,1054],{},"Motion"," animates its elements as on a page. Saved animations reach the site when it is published again, on\nevery page that shows it.",[658,1057,1058,1061],{},[623,1059,1060],{},"Accessibility"," runs the check a publish runs on the header or footer as it is now, alone around an empty page.\nA refused publish opens it with what the publish said.",[619,1063,1064,1065,1067,1068,709,1070,1072,1073,709,1075,1077],{},"A page's form has the group ",[623,1066,173],{},": ",[623,1069,692],{},[623,1071,632],{}," pick one (\"Empty for the default\nheader.\"), ",[623,1074,696],{},[623,1076,702],{}," show none. A header picked as a footer, or the other way round, is refused.",[619,1079,1080,1081,709,1083,1085,1086,689,1089,697,1092,697,1095,1098,1099,1102,1103,689,1106,697,1109,1027,1112,689,1115,1118,1119,1098,1122,1125],{},"The ",[623,1082,628],{},[623,1084,632],{}," screens are the entry editor: ",[623,1087,1088],{},"Menu items",[623,1090,1091],{},"Label",[623,1093,1094],{},"Link",[623,1096,1097],{},"Dropdown\nitems",") and ",[623,1100,1101],{},"Call-to-action button","; ",[623,1104,1105],{},"Columns",[623,1107,1108],{},"Title",[623,1110,1111],{},"Links",[623,1113,1114],{},"Social links",[623,1116,1117],{},"Platform",": Facebook,\nInstagram, LinkedIn, X, YouTube, TikTok, GitHub or Mastodon; ",[623,1120,1121],{},"URL",[623,1123,1124],{},"Closing words",", where a blank line starts\na new paragraph. Deleting a page that they\nlink to is refused, naming them.",[647,1127,1129],{"id":1128},"on-the-website","On the website",[619,1131,1132],{},"The page's header comes before it and its footer after it, each with its own styles. The built-in \"page not found\"\nmessage shows the defaults. The editor's canvas shows a page without them.",[619,1134,1135,1136,1139],{},"SHADE's starting header and footer read the content through these data sources, which any header or footer may loop\nover in the editor's ",[623,1137,1138],{},"Data"," tab:",[842,1141,1142,1152],{},[845,1143,1144],{},[848,1145,1146,1149],{},[851,1147,1148],{},"Source",[851,1150,1151],{},"Each item",[861,1153,1154,1184,1200,1222,1244],{},[848,1155,1156,1161],{},[866,1157,1158],{},[728,1159,1160],{},"website.navigation",[866,1162,1163,1164,697,1167,697,1170,697,1173,1176,1177,1180,1181,1183],{},"a menu item: ",[728,1165,1166],{},"label",[728,1168,1169],{},"url",[728,1171,1172],{},"newTab",[728,1174,1175],{},"current",", its ",[728,1178,1179],{},"children"," (the dropdown items, each with its own ",[728,1182,1175],{},")",[848,1185,1186,1191],{},[866,1187,1188],{},[728,1189,1190],{},"website.cta",[866,1192,1193,1194,697,1196,697,1198],{},"the call-to-action button, when it has a label and a link: ",[728,1195,1166],{},[728,1197,1169],{},[728,1199,1172],{},[848,1201,1202,1207],{},[866,1203,1204],{},[728,1205,1206],{},"website.footer",[866,1208,1209,1210,1176,1213,689,1216,697,1218,697,1220,1183],{},"a link column: ",[728,1211,1212],{},"title",[728,1214,1215],{},"links",[728,1217,1166],{},[728,1219,1169],{},[728,1221,1172],{},[848,1223,1224,1229],{},[866,1225,1226],{},[728,1227,1228],{},"website.social",[866,1230,1231,1232,1235,1236,697,1238,1240,1241],{},"a social link: ",[728,1233,1234],{},"platform",", its name ",[728,1237,1166],{},[728,1239,1169],{},", its icon's name ",[728,1242,1243],{},"icon",[848,1245,1246,1251],{},[866,1247,1248],{},[728,1249,1250],{},"website.footer-info",[866,1252,1253,1254,1257,1258,1260,1261,1067,1263,697,1266,697,1269],{},"one item: the ",[728,1255,1256],{},"copyright",", with ",[728,1259,730],{}," replaced; and split around its first ",[728,1262,730],{},[728,1264,1265],{},"hasYear",[728,1267,1268],{},"before",[728,1270,1271],{},"after",[619,1273,1274],{},"Links to pages that are not published, or not shown in this language, are left out (a menu item with its dropdown; a\ndropdown item or a column's link on its own).",[619,1276,1277,1278,1280,1281,1284,1285,1288,1289,1292],{},"A menu item's ",[728,1279,1175],{}," is on when it links to the page shown, in the page's language (a link to a section of the\npage, ",[728,1282,1283],{},"\u002F#pricing",", is not the page), on every page and in every language. SHADE's starting header binds each menu\nlink's ",[623,1286,1287],{},"The current one"," setting to it (",[728,1290,1291],{},"item.current ? 'page' : null","), so screen readers say which page is open;\na designer can style the current link by it too.",[619,1294,1295,1296,1298,1299,1301,1302,1305,1306,1309,1310,1313,1314,1317,1318,1321,1322,1325,1326,1329,1330,697,1333,1336,1337,1340],{},"SHADE's widgets do the parts that need behaviour: ",[623,1297,628],{}," is a labelled menu with a ",[623,1300,792],{}," button on narrow\nscreens; ",[623,1303,1304],{},"Disclosure"," is a dropdown that works with the keyboard and without script; ",[623,1307,1308],{},"Icon"," is a Lucide icon by\nname, named for screen readers only when it has a label; ",[623,1311,1312],{},"Year"," is this year, which the visitor's browser keeps\ncurrent, so a site not built since New Year shows the right year (without script, the year it was built). TikTok and\nMastodon have no Lucide icon and show their name instead; X uses Lucide's ",[728,1315,1316],{},"twitter"," icon. A widget takes the site's\nclasses like an element, under ",[623,1319,1320],{},"Classes"," in its settings; they go on its outermost element. Its inner elements\ntake classes under ",[623,1323,1324],{},"Classes of its parts",": the Navigation's Menu button, menu and what it holds, a Menu's button,\nlist and links, each tab and panel of Tabs, the ",[623,1327,1328],{},"Light and dark switch","'s button. Style a class's ",[623,1331,1332],{},"Selected",[623,1334,1335],{},"Open"," or\n",[623,1338,1339],{},"The page shown"," state for the tab shown, a button while its menu is open, or the current page's link.",[619,1342,1343,1344,1346,1347,1349,1350,1353,1354,1357,1358,1361,1362,1365,1366,1369,1370,1373,1374,1377,1378,1381,1382,709,1385,1098,1388,1390,1393,1394,1397,1398,1401],{},"A language menu is a ",[623,1345,792],{}," with ",[623,1348,1308],{}," set to ",[728,1351,1352],{},"globe",", its items a loop over the page's languages: a ",[623,1355,1356],{},"Menu\nitem"," inside ",[623,1359,1360],{},"Repeat for each"," of ",[728,1363,1364],{},"page.languages",", its label ",[728,1367,1368],{},"language.name",", its link ",[728,1371,1372],{},"language.url",", its\n",[623,1375,1376],{},"language"," ",[728,1379,1380],{},"language.code"," (so each link says its language, ",[728,1383,1384],{},"hreflang",[728,1386,1387],{},"lang",[623,1389,1339],{},[728,1391,1392],{},"language.current"," (so the current language is marked for screen readers, ",[728,1395,1396],{},"aria-current",", and a class's ",[623,1399,1400],{},"The page\nshown"," state can style it).",[619,1403,1404,1405,1408],{},"Where the menu folds behind its button is the Navigation's ",[623,1406,1407],{},"Where the menu folds"," setting:",[655,1410,1411,1417,1433],{},[658,1412,1413,1416],{},[623,1414,1415],{},"Below 48rem (768 px), the default",", when nothing is chosen.",[658,1418,1419,1420,1423,1424,1428,1429,1432],{},"One of the site's breakpoints, such as a ",[728,1421,1422],{},"wide"," one at 1100 px for a menu with many items. On a site whose styles\nstart from the phone (mobile-first) it folds ",[1425,1426,1427],"em",{},"below"," the breakpoint; on one that starts from the desktop, ",[1425,1430,1431],{},"at and\nbelow"," it, as the choice says.",[658,1434,1435,1438],{},[623,1436,1437],{},"Never",", for a short menu that always fits.",[619,1440,1441],{},"A breakpoint a menu folds at stays while it does: removing or renaming it on the Site styles screen is refused, with\nthe pages, headers, footers and components that use it, including a version waiting to be published. A page or header\nnaming a breakpoint the site doesn't have is refused when it is saved, and the accessibility check warns of one, since\nthat menu would never fold. A component's menu folds where it says as soon as the component is saved.",[619,1443,1444],{},"One gap remains: a menu inside a component whose fold point comes from one of the component's properties is not\nchecked, so give the fold point in the component itself.",[619,1446,1447],{},"The consent banner stays SHADE's own; a site restyles it with the variables above. Once the site sets one of them,\nsaving the styles or the theme is refused when the banner's text, its buttons' text or its main button's text would\nfall below a contrast of 4.5:1, in light or dark mode, with a message saying which and how far.",[647,1449,1451],{"id":1450},"rules-and-limits","Rules and limits",[655,1453,1454,1457,1464,1470,1473,1476,1479],{},[658,1455,1456],{},"One default header and one default footer. A page shows its own pick when that one is published and of the right\nkind, else the published default, else none.",[658,1458,1459,1460,1463],{},"Only the ",[623,1461,1462],{},"published"," version of a header or footer reaches the site. Publishing one rebuilds the site, and so\ndoes making another the default.",[658,1465,1466,1467,683],{},"Publishing a header or footer checks its accessibility alone; publishing a page checks it with the header and footer\nit shows, so ids and landmarks count across them (see ",[635,1468,1469],{"href":162},"Pages",[658,1471,1472],{},"A header or footer that pages pick is not removed (the message names them); the default is not removed from the\nscreen.",[658,1474,1475],{},"Counts and lengths of the content: 12 menu items, 20 dropdown items per item, 6 columns, 20 links per column, 10\nsocial links; labels and titles 60 characters, the copyright 200. Only one level of dropdowns.",[658,1477,1478],{},"Languages: the content's labels, titles and copyright are translated per language; a header's or footer's own texts\nare translated in the editor like a page's.",[658,1480,1481,1482,1484],{},"A site where the module was switched on before headers and footers were built in the editor has none: open\n",[623,1483,173],{}," and start from SHADE's.",[647,1486,1488],{"id":1487},"for-developers","For developers",[619,1490,1491,1492,667],{},"The code and its tests: the README of ",[728,1493,1494],{},"shade-plugin-website",{"title":1496,"searchDepth":1497,"depth":1497,"links":1498},"",2,[1499,1500,1501,1502,1503,1504],{"id":649,"depth":1497,"text":650},{"id":821,"depth":1497,"text":822},{"id":980,"depth":1497,"text":981},{"id":1128,"depth":1497,"text":1129},{"id":1450,"depth":1497,"text":1451},{"id":1487,"depth":1497,"text":1488},"md",null,{},true,{"title":173,"description":1496},"IUsPXwqjbs05JowTOjyd9idEUS3ceSP9qm5zu5X0WtA",[1512,1513],{"title":169,"path":170,"stem":171,"description":1496,"children":-1},{"title":177,"path":178,"stem":179,"description":1496,"children":-1},1796500158877]