[{"data":1,"prerenderedAt":4132},["ShallowReactive",2],{"navigation_docs":3,"-guides-migrating-from-v0-1":205,"-guides-migrating-from-v0-1-surround":4127},[4,31,67,111,132,163,189],{"title":5,"icon":6,"path":7,"stem":8,"children":9,"page":30},"Getting started","i-lucide-rocket","\u002Fgetting-started","1.getting-started",[10,15,20,25],{"title":11,"path":12,"stem":13,"icon":14},"Introduction","\u002Fgetting-started\u002Fintroduction","1.getting-started\u002F1.introduction","i-lucide-house",{"title":16,"path":17,"stem":18,"icon":19},"Installation","\u002Fgetting-started\u002Finstallation","1.getting-started\u002F2.installation","i-lucide-download",{"title":21,"path":22,"stem":23,"icon":24},"Quick start","\u002Fgetting-started\u002Fquick-start","1.getting-started\u002F3.quick-start","i-lucide-play",{"title":26,"path":27,"stem":28,"icon":29},"Agent Skill","\u002Fgetting-started\u002Fagent-skill","1.getting-started\u002F4.agent-skill","i-lucide-sparkles",false,{"title":32,"icon":33,"path":34,"stem":35,"children":36,"page":30},"Authoring","i-lucide-pen-line","\u002Fauthoring","2.authoring",[37,42,47,52,57,62],{"title":38,"path":39,"stem":40,"icon":41},"Comark syntax","\u002Fauthoring\u002Fcomark-syntax","2.authoring\u002F1.comark-syntax","i-lucide-file-code",{"title":43,"path":44,"stem":45,"icon":46},"Frontmatter","\u002Fauthoring\u002Ffrontmatter","2.authoring\u002F2.frontmatter","i-lucide-heading",{"title":48,"path":49,"stem":50,"icon":51},"Components","\u002Fauthoring\u002Fcomponents","2.authoring\u002F3.components","i-lucide-blocks",{"title":53,"path":54,"stem":55,"icon":56},"Merge tags and data","\u002Fauthoring\u002Fmerge-tags-and-data","2.authoring\u002F4.merge-tags-and-data","i-lucide-braces",{"title":58,"path":59,"stem":60,"icon":61},"Actions and spans","\u002Fauthoring\u002Factions-and-spans","2.authoring\u002F5.actions-and-spans","i-lucide-mouse-pointer-click",{"title":63,"path":64,"stem":65,"icon":66},"Compile errors","\u002Fauthoring\u002Fcompile-errors","2.authoring\u002F6.compile-errors","i-lucide-circle-alert",{"title":68,"icon":69,"path":70,"stem":71,"children":72,"page":30},"Kits","i-lucide-palette","\u002Fkits","3.kits",[73,78,83,87,91,96,101,106],{"title":74,"path":75,"stem":76,"icon":77},"What is a kit","\u002Fkits\u002Fwhat-is-a-kit","3.kits\u002F1.what-is-a-kit","i-lucide-package",{"title":79,"path":80,"stem":81,"icon":82},"kit.yaml","\u002Fkits\u002Fkit-yaml","3.kits\u002F2.kit-yaml","i-lucide-file-cog",{"title":84,"path":85,"stem":86,"icon":51},"Component schemas","\u002Fkits\u002Fcomponent-schemas","3.kits\u002F3.component-schemas",{"title":88,"path":89,"stem":90,"icon":56},"Templates and views","\u002Fkits\u002Ftemplates-and-views","3.kits\u002F4.templates-and-views",{"title":92,"path":93,"stem":94,"icon":95},"Template checking","\u002Fkits\u002Ftemplate-checking","3.kits\u002F5.template-checking","i-lucide-shield-check",{"title":97,"path":98,"stem":99,"icon":100},"Go types and funcs","\u002Fkits\u002Fgo-types-and-funcs","3.kits\u002F6.go-types-and-funcs","i-lucide-code",{"title":102,"path":103,"stem":104,"icon":105},"Email-safe HTML","\u002Fkits\u002Femail-safe-html","3.kits\u002F7.email-safe-html","i-lucide-mail-check",{"title":107,"path":108,"stem":109,"icon":110},"Plain text","\u002Fkits\u002Fplain-text","3.kits\u002F8.plain-text","i-lucide-file-text",{"title":112,"icon":113,"path":114,"stem":115,"children":116,"page":30},"Sending","i-lucide-send","\u002Fsending","4.sending",[117,122,127],{"title":118,"path":119,"stem":120,"icon":121},"Profiles and config","\u002Fsending\u002Fprofiles-and-config","4.sending\u002F1.profiles-and-config","i-lucide-settings",{"title":123,"path":124,"stem":125,"icon":126},"Message and MIME","\u002Fsending\u002Fmessage-and-mime","4.sending\u002F2.message-and-mime","i-lucide-mail",{"title":128,"path":129,"stem":130,"icon":131},"SMTP","\u002Fsending\u002Fsmtp","4.sending\u002F3.smtp","i-lucide-server",{"title":133,"icon":134,"path":135,"stem":136,"children":137,"page":30},"Tooling","i-lucide-wrench","\u002Ftooling","5.tooling",[138,143,148,153,158],{"title":139,"path":140,"stem":141,"icon":142},"The lttr CLI","\u002Ftooling\u002Fcli","5.tooling\u002F1.cli","i-lucide-terminal",{"title":144,"path":145,"stem":146,"icon":147},"Studio","\u002Ftooling\u002Fstudio","5.tooling\u002F2.studio","i-lucide-eye",{"title":149,"path":150,"stem":151,"icon":152},"Editor setup","\u002Ftooling\u002Feditor-setup","5.tooling\u002F3.editor-setup","i-lucide-plug",{"title":154,"path":155,"stem":156,"icon":157},"Screenshots","\u002Ftooling\u002Fscreenshots","5.tooling\u002F4.screenshots","i-lucide-camera",{"title":159,"path":160,"stem":161,"icon":162},"Goldens and testing","\u002Ftooling\u002Fgoldens-and-testing","5.tooling\u002F5.goldens-and-testing","i-lucide-flask-conical",{"title":164,"icon":165,"path":166,"stem":167,"children":168,"page":30},"Guides","i-lucide-book-open","\u002Fguides","6.guides",[169,174,179,184],{"title":170,"path":171,"stem":172,"icon":173},"Build your own kit","\u002Fguides\u002Fbuild-your-own-kit","6.guides\u002F1.build-your-own-kit","i-lucide-hammer",{"title":175,"path":176,"stem":177,"icon":178},"The Quiet kit","\u002Fguides\u002Fthe-quiet-kit","6.guides\u002F2.the-quiet-kit","i-lucide-mail-open",{"title":180,"path":181,"stem":182,"icon":183},"Migrating from v0.1","\u002Fguides\u002Fmigrating-from-v0-1","6.guides\u002F3.migrating-from-v0-1","i-lucide-arrow-right-left",{"title":185,"path":186,"stem":187,"icon":188},"Releasing","\u002Fguides\u002Freleasing","6.guides\u002F4.releasing","i-lucide-tag",{"title":190,"icon":191,"path":192,"stem":193,"children":194,"page":30},"Reference","i-lucide-library","\u002Freference","7.reference",[195,200],{"title":196,"path":197,"stem":198,"icon":199},"API reference","\u002Freference\u002Fapi-reference","7.reference\u002F1.api-reference","i-lucide-list-tree",{"title":201,"path":202,"stem":203,"icon":204},"Gallery","\u002Freference\u002Fgallery","7.reference\u002F2.gallery","i-lucide-images",{"id":206,"title":180,"body":207,"description":4120,"extension":4121,"links":4122,"meta":4123,"navigation":4124,"path":181,"seo":4125,"stem":182,"__hash__":4126},"docs\u002F6.guides\u002F3.migrating-from-v0-1.md",{"type":208,"value":209,"toc":4109},"minimark",[210,224,236,241,870,874,877,1210,1226,1344,1360,1364,1371,1501,1507,1646,1715,1724,1732,1798,1822,1829,1833,1846,1920,1975,1978,2031,2050,2054,2062,2105,2142,2152,2178,2210,2238,2257,2261,2270,2442,2449,2613,2624,2628,2643,2659,2662,2666,2672,3942,3951,3968,3972,4105],[211,212,213,214,218,219,223],"p",{},"v0.2.0 is a breaking release. lttr v0.1 had one design built in: a theme, 22 modules, header and footer variants, and families that tied a sender to a stream and to footer copy. In v0.2.0 the core is an engine with no design of its own, and the design comes from a ",[215,216,217],"strong",{},"kit",". The v0.1 design is now the ",[220,221,222],"a",{"href":176},"Quiet kit",", with the same components, names and aliases, so most templates port with a change to their frontmatter.",[211,225,226,227,231,232,235],{},"This page maps every v0.1 name to what replaces it, then ports a small v0.1 program piece by piece. Snippets labelled ",[228,229,230],"code",{},"v0.1"," show the old code, which no longer compiles. ",[228,233,234],{},"CHANGELOG.md"," has the full list of changes.",[237,238,240],"h2",{"id":239},"map-v01-names-to-v02","Map v0.1 names to v0.2",[242,243,244,256],"table",{},[245,246,247],"thead",{},[248,249,250,253],"tr",{},[251,252,230],"th",{},[251,254,255],{},"v0.2",[257,258,259,284,310,336,353,371,397,414,465,478,527,572,591,620,651,661,695,734,753,774,787,805,824],"tbody",{},[248,260,261,274],{},[262,263,264,267,268,267,271],"td",{},[228,265,266],{},"Family",", ",[228,269,270],{},"Registry",[228,272,273],{},"NewRegistry",[262,275,276,279,280,283],{},[228,277,278],{},"Profile",", listed in ",[228,281,282],{},"Config.Profiles",". A profile has a name, a sender and headers, and no policy.",[248,285,286,297],{},[262,287,288,267,291,267,294],{},[228,289,290],{},"Family.From",[228,292,293],{},"FromFrontmatter",[228,295,296],{},"SenderDomain",[262,298,299,302,303,306,307],{},[228,300,301],{},"Profile.From"," (leave it zero to require frontmatter ",[228,304,305],{},"from",") and ",[228,308,309],{},"Profile.FromDomain",[248,311,312,326],{},[262,313,314,267,317,267,320,267,323],{},[228,315,316],{},"Theme",[228,318,319],{},"theme.Light",[228,321,322],{},"theme.Dark",[228,324,325],{},"theme.Fonts",[262,327,328,329,331,332,335],{},"Kit tokens in ",[228,330,79],{},": colours as ",[228,333,334],{},"{ light: …, dark: … }",", font stacks as strings",[248,337,338,343],{},[262,339,340],{},[228,341,342],{},"theme.Brand",[262,344,345,346,349,350],{},"The kit's ",[228,347,348],{},"brand"," var and the logo files at ",[228,351,352],{},"Config.AssetBase",[248,354,355,361],{},[262,356,357,358],{},"The 22 modules and ",[228,359,360],{},"ir.Kind…",[262,362,363,364,267,367,370],{},"The Quiet kit's components, with the same names and aliases (",[228,365,366],{},"statement",[228,368,369],{},"k1",", …)",[248,372,373,390],{},[262,374,375,267,378,267,381,267,384,267,387],{},[228,376,377],{},"Stream",[228,379,380],{},"Router",[228,382,383],{},"ErrSuppressed",[228,385,386],{},"Message.Stream",[228,388,389],{},"Message.Family",[262,391,392,393,396],{},"Route on ",[228,394,395],{},"Message.Profile"," in your application, and check suppression there",[248,398,399,407],{},[262,400,401,267,404],{},[228,402,403],{},"Family.Tracking",[228,405,406],{},"Message.Tracking",[262,408,409,410,413],{},"Your sending service's setting, per profile. ",[228,411,412],{},"Profile.Headers"," can carry the header your provider reads.",[248,415,416,459],{},[262,417,418,421,422,267,425,267,428,431,432,421,435,267,438,267,441,267,444,431,447,267,450,267,453,267,456],{},[228,419,420],{},"Header"," (",[228,423,424],{},"H1",[228,426,427],{},"H2",[228,429,430],{},"H3","), ",[228,433,434],{},"Footer",[228,436,437],{},"F1",[228,439,440],{},"F2",[228,442,443],{},"F3",[228,445,446],{},"F3Internal",[228,448,449],{},"FooterCopy",[228,451,452],{},"Masthead",[228,454,455],{},"Banner",[228,457,458],{},"Legal",[262,460,345,461,464],{},[228,462,463],{},"layout.html",". Quiet picks header and footer from the profile's name.",[248,466,467,473],{},[262,468,469,470],{},"Frontmatter ",[228,471,472],{},"family:",[262,474,475],{},[228,476,477],{},"profile:",[248,479,480,503],{},[262,481,469,482,267,485,267,488,267,491,267,494,267,497,267,500],{},[228,483,484],{},"footer.note",[228,486,487],{},"footer.about",[228,489,490],{},"footer.reason",[228,492,493],{},"footer.optout",[228,495,496],{},"footer.nav",[228,498,499],{},"legal",[228,501,502],{},"issue",[262,504,505,506,267,509,267,512,267,515,267,518,267,521,523,524,526],{},"Frontmatter keys the kit declares. Quiet's are ",[228,507,508],{},"note",[228,510,511],{},"about",[228,513,514],{},"reason",[228,516,517],{},"optout",[228,519,520],{},"nav",[228,522,499],{}," and ",[228,525,502],{},".",[248,528,529,562],{},[262,530,531,267,534,267,537,267,540,267,543,267,546,267,549,267,552,267,555,558,559],{},[228,532,533],{},"{site}",[228,535,536],{},"{brand}",[228,538,539],{},"{domain}",[228,541,542],{},"{region}",[228,544,545],{},"{address}",[228,547,548],{},"{about}",[228,550,551],{},"{prefs}",[228,553,554],{},"{unsubscribe}",[228,556,557],{},"{issue}"," placeholders, and ",[228,560,561],{},"lttr.Vars",[262,563,564,565,523,568,571],{},"Kit vars, which kit templates read as ",[228,566,567],{},"{{var \"site\"}}",[228,569,570],{},"Config.Vars"," sets, and merge tags from your own data",[248,573,574,582],{},[262,575,576,267,579],{},[228,577,578],{},"Config.Domain",[228,580,581],{},"Config.SiteURL",[262,583,584,585,523,588,526],{},"Kit vars. Quiet's are ",[228,586,587],{},"domain",[228,589,590],{},"site",[248,592,593,604],{},[262,594,595,267,598,267,601],{},[228,596,597],{},"Config.Entities",[228,599,600],{},"DefaultRegion",[228,602,603],{},"Entity",[262,605,584,606,523,609,612,613,616,617,526],{},[228,607,608],{},"address",[228,610,611],{},"region",": build a ",[228,614,615],{},"Renderer"," per entity with its own ",[228,618,619],{},"Vars",[248,621,622,636],{},[262,623,624,267,627,267,630,267,633],{},[228,625,626],{},"Recipient.FirstName",[228,628,629],{},"Region",[228,631,632],{},"EntityAddress",[228,634,635],{},"PreferencesURL",[262,637,638,639,642,643,646,647,650],{},"Fields of your data type, or kit vars. ",[228,640,641],{},"Recipient"," is ",[228,644,645],{},"{Address, Name, UnsubscribeURL}",", and ",[228,648,649],{},"Name"," is the To display name.",[248,652,653,658],{},[262,654,655],{},[228,656,657],{},"mapbox",[262,659,660],{},"Fetch the static map from your provider yourself, host it, and pass its URL in your data",[248,662,663,689],{},[262,664,665,267,668,267,671,267,674,267,677,267,680,267,683,267,686],{},[228,666,667],{},"data.Money",[228,669,670],{},"Exact",[228,672,673],{},"Receipt",[228,675,676],{},"ReceiptLine",[228,678,679],{},"Fee",[228,681,682],{},"StockItem",[228,684,685],{},"Product",[228,687,688],{},"Tone",[262,690,691,692],{},"The same types in ",[228,693,694],{},"kits\u002Fquiet",[248,696,697,711],{},[262,698,699,267,702,267,705,267,708],{},[228,700,701],{},"data.USD",[228,703,704],{},"data.USDCode",[228,706,707],{},"data.EURCode",[228,709,710],{},"data.GBPCode",[262,712,713,267,716,267,719,267,722,725,726,729,730,733],{},[228,714,715],{},"quiet.USD",[228,717,718],{},"quiet.USDCode",[228,720,721],{},"quiet.EURCode",[228,723,724],{},"quiet.GBPCode",". The other v0.1 currency constant and its constructor are gone: use your own ",[228,727,728],{},"quiet.Currency"," code, with ",[228,731,732],{},"Symbol"," for its prefix.",[248,735,736,744],{},[262,737,738,267,741],{},[228,739,740],{},"Compile[T](reg, name, src)",[228,742,743],{},"MustCompile",[262,745,746,749,750],{},[228,747,748],{},"Compile[T](k, name, src)",", with a ",[228,751,752],{},"*kit.Kit",[248,754,755,766],{},[262,756,757,267,760,267,763],{},[228,758,759],{},"TemplateMeta.Family",[228,761,762],{},".Stream",[228,764,765],{},".Modules",[262,767,768,267,771],{},[228,769,770],{},"TemplateMeta.Profile",[228,772,773],{},".Components",[248,775,776,781],{},[262,777,778],{},[228,779,780],{},"Family.Forbidden",[262,782,783,784,526],{},"Nothing built in. A test can check each template's ",[228,785,786],{},"Meta().Components",[248,788,789,795],{},[262,790,791,794],{},[228,792,793],{},"layout"," and its spacing table",[262,796,797,798,801,802],{},"Each component's ",[228,799,800],{},"spacing"," in its ",[228,803,804],{},"component.yaml",[248,806,807,821],{},[262,808,809,267,812,267,815,267,818],{},[228,810,811],{},"ir.CompileCopy",[228,813,814],{},"ir.CompileCopyText",[228,816,817],{},"ir.SlotVars",[228,819,820],{},"ir.Ref.Placeholder",[262,822,823],{},"Removed, with the placeholders",[248,825,826,841],{},[262,827,828,831,832,267,835,267,838],{},[228,829,830],{},"examples\u002Fquiet",": ",[228,833,834],{},"Theme()",[228,836,837],{},"Families",[228,839,840],{},"Mapbox()",[262,842,843,267,846,267,849,646,852,855,856,859,860,267,863,523,866,869],{},[228,844,845],{},"Kit()",[228,847,848],{},"Profiles()",[228,850,851],{},"Vars()",[228,853,854],{},"Set()",", the nine examples as an ",[228,857,858],{},"lttr.SampleSet",". ",[228,861,862],{},"Config(assetBase)",[228,864,865],{},"Examples()",[228,867,868],{},"ByName()"," remain.",[237,871,873],{"id":872},"replace-families-with-profiles","Replace families with profiles",[211,875,876],{},"A v0.1 family fixed the sender, the stream, the header and footer, and the footer's copy:",[878,879,884],"pre",{"className":880,"code":881,"filename":230,"language":882,"meta":883,"style":883},"language-go shiki shiki-themes github-light-high-contrast github-light-high-contrast github-dark","\u002F\u002F v0.1: families fixed the sender, stream, header, footer and footer copy.\nvar families = lttr.NewRegistry(\n    lttr.Family{\n        Name:   \"buyer\",\n        From:   mail.Address{Name: \"Loam\", Address: \"orders@loam.example\"},\n        Stream: lttr.Transactional,\n        Header: lttr.H1,\n        Footer: lttr.F2,\n        Copy: lttr.FooterCopy{\n            Note:    \"Questions? Reply to this email.\",\n            About:   \"your order\",\n            Service: \"This is a service email about {about}. [Notification settings]({prefs})\",\n            Address: \"{brand} · {address}\",\n        },\n    },\n    lttr.Family{\n        Name:     \"newsletter\",\n        From:     mail.Address{Name: \"Field Notes\", Address: \"notes@loam.example\"},\n        Stream:   lttr.Marketing,\n        Header:   lttr.H3,\n        Masthead: \"Field Notes · No. {issue}\",\n        Footer:   lttr.F1,\n        Copy: lttr.FooterCopy{\n            Reason:  \"You're getting Field Notes because you subscribed on {domain}.\",\n            Links:   \"[Unsubscribe]({unsubscribe}) · [Preferences]({prefs})\",\n            Address: \"{brand} · {address}\",\n        },\n        Tracking: true,\n    },\n)\n","go","",[228,885,886,895,918,932,945,974,980,986,992,1007,1018,1029,1040,1051,1057,1063,1074,1085,1109,1115,1121,1132,1138,1151,1162,1173,1182,1187,1199,1204],{"__ignoreMap":883},[887,888,891],"span",{"class":889,"line":890},"line",1,[887,892,894],{"class":893},"sBq4M","\u002F\u002F v0.1: families fixed the sender, stream, header, footer and footer copy.\n",[887,896,898,902,906,909,912,915],{"class":889,"line":897},2,[887,899,901],{"class":900},"s1Q0q","var",[887,903,905],{"class":904},"sihDN"," families ",[887,907,908],{"class":900},"=",[887,910,911],{"class":904}," lttr.",[887,913,273],{"class":914},"sPmw6",[887,916,917],{"class":904},"(\n",[887,919,921,925,927,929],{"class":889,"line":920},3,[887,922,924],{"class":923},"sSlKG","    lttr",[887,926,526],{"class":904},[887,928,266],{"class":923},[887,930,931],{"class":904},"{\n",[887,933,935,938,942],{"class":889,"line":934},4,[887,936,937],{"class":904},"        Name:   ",[887,939,941],{"class":940},"sRBGO","\"buyer\"",[887,943,944],{"class":904},",\n",[887,946,948,951,954,956,959,962,965,968,971],{"class":889,"line":947},5,[887,949,950],{"class":904},"        From:   ",[887,952,953],{"class":923},"mail",[887,955,526],{"class":904},[887,957,958],{"class":923},"Address",[887,960,961],{"class":904},"{Name: ",[887,963,964],{"class":940},"\"Loam\"",[887,966,967],{"class":904},", Address: ",[887,969,970],{"class":940},"\"orders@loam.example\"",[887,972,973],{"class":904},"},\n",[887,975,977],{"class":889,"line":976},6,[887,978,979],{"class":904},"        Stream: lttr.Transactional,\n",[887,981,983],{"class":889,"line":982},7,[887,984,985],{"class":904},"        Header: lttr.H1,\n",[887,987,989],{"class":889,"line":988},8,[887,990,991],{"class":904},"        Footer: lttr.F2,\n",[887,993,995,998,1001,1003,1005],{"class":889,"line":994},9,[887,996,997],{"class":904},"        Copy: ",[887,999,1000],{"class":923},"lttr",[887,1002,526],{"class":904},[887,1004,449],{"class":923},[887,1006,931],{"class":904},[887,1008,1010,1013,1016],{"class":889,"line":1009},10,[887,1011,1012],{"class":904},"            Note:    ",[887,1014,1015],{"class":940},"\"Questions? Reply to this email.\"",[887,1017,944],{"class":904},[887,1019,1021,1024,1027],{"class":889,"line":1020},11,[887,1022,1023],{"class":904},"            About:   ",[887,1025,1026],{"class":940},"\"your order\"",[887,1028,944],{"class":904},[887,1030,1032,1035,1038],{"class":889,"line":1031},12,[887,1033,1034],{"class":904},"            Service: ",[887,1036,1037],{"class":940},"\"This is a service email about {about}. [Notification settings]({prefs})\"",[887,1039,944],{"class":904},[887,1041,1043,1046,1049],{"class":889,"line":1042},13,[887,1044,1045],{"class":904},"            Address: ",[887,1047,1048],{"class":940},"\"{brand} · {address}\"",[887,1050,944],{"class":904},[887,1052,1054],{"class":889,"line":1053},14,[887,1055,1056],{"class":904},"        },\n",[887,1058,1060],{"class":889,"line":1059},15,[887,1061,1062],{"class":904},"    },\n",[887,1064,1066,1068,1070,1072],{"class":889,"line":1065},16,[887,1067,924],{"class":923},[887,1069,526],{"class":904},[887,1071,266],{"class":923},[887,1073,931],{"class":904},[887,1075,1077,1080,1083],{"class":889,"line":1076},17,[887,1078,1079],{"class":904},"        Name:     ",[887,1081,1082],{"class":940},"\"newsletter\"",[887,1084,944],{"class":904},[887,1086,1088,1091,1093,1095,1097,1099,1102,1104,1107],{"class":889,"line":1087},18,[887,1089,1090],{"class":904},"        From:     ",[887,1092,953],{"class":923},[887,1094,526],{"class":904},[887,1096,958],{"class":923},[887,1098,961],{"class":904},[887,1100,1101],{"class":940},"\"Field Notes\"",[887,1103,967],{"class":904},[887,1105,1106],{"class":940},"\"notes@loam.example\"",[887,1108,973],{"class":904},[887,1110,1112],{"class":889,"line":1111},19,[887,1113,1114],{"class":904},"        Stream:   lttr.Marketing,\n",[887,1116,1118],{"class":889,"line":1117},20,[887,1119,1120],{"class":904},"        Header:   lttr.H3,\n",[887,1122,1124,1127,1130],{"class":889,"line":1123},21,[887,1125,1126],{"class":904},"        Masthead: ",[887,1128,1129],{"class":940},"\"Field Notes · No. {issue}\"",[887,1131,944],{"class":904},[887,1133,1135],{"class":889,"line":1134},22,[887,1136,1137],{"class":904},"        Footer:   lttr.F1,\n",[887,1139,1141,1143,1145,1147,1149],{"class":889,"line":1140},23,[887,1142,997],{"class":904},[887,1144,1000],{"class":923},[887,1146,526],{"class":904},[887,1148,449],{"class":923},[887,1150,931],{"class":904},[887,1152,1154,1157,1160],{"class":889,"line":1153},24,[887,1155,1156],{"class":904},"            Reason:  ",[887,1158,1159],{"class":940},"\"You're getting Field Notes because you subscribed on {domain}.\"",[887,1161,944],{"class":904},[887,1163,1165,1168,1171],{"class":889,"line":1164},25,[887,1166,1167],{"class":904},"            Links:   ",[887,1169,1170],{"class":940},"\"[Unsubscribe]({unsubscribe}) · [Preferences]({prefs})\"",[887,1172,944],{"class":904},[887,1174,1176,1178,1180],{"class":889,"line":1175},26,[887,1177,1045],{"class":904},[887,1179,1048],{"class":940},[887,1181,944],{"class":904},[887,1183,1185],{"class":889,"line":1184},27,[887,1186,1056],{"class":904},[887,1188,1190,1193,1197],{"class":889,"line":1189},28,[887,1191,1192],{"class":904},"        Tracking: ",[887,1194,1196],{"class":1195},"sTl1q","true",[887,1198,944],{"class":904},[887,1200,1202],{"class":889,"line":1201},29,[887,1203,1062],{"class":904},[887,1205,1207],{"class":889,"line":1206},30,[887,1208,1209],{"class":904},")\n",[211,1211,1212,1213,1216,1217,1220,1221,1225],{},"A profile keeps only the sender and the headers. The header, the footer and their copy belong to the kit. Quiet chooses them from the profile's name, so keep the names Quiet knows: ",[228,1214,1215],{},"buyer"," gets the service footer, and ",[228,1218,1219],{},"newsletter"," the marketing footer with the nav row. The table in ",[220,1222,1224],{"href":1223},"\u002Fguides\u002Fthe-quiet-kit#choose-a-footer-with-the-profile","Choose a footer with the profile"," lists them all.",[878,1227,1230],{"className":880,"code":1228,"filename":1229,"language":882,"meta":883,"style":883},"\u002F\u002F profiles replace the v0.1 family registry: a name, a sender and headers.\n\u002F\u002F Quiet picks each footer from the profile name.\nfunc profiles() []lttr.Profile {\n    return []lttr.Profile{\n        {Name: \"buyer\", From: mail.Address{Name: \"Loam\", Address: \"orders@loam.example\"}},\n        {Name: \"newsletter\", From: mail.Address{Name: \"Field Notes\", Address: \"notes@loam.example\"}, ListUnsubscribe: true},\n    }\n}\n","main.go",[228,1231,1232,1237,1242,1262,1278,1305,1334,1339],{"__ignoreMap":883},[887,1233,1234],{"class":889,"line":890},[887,1235,1236],{"class":893},"\u002F\u002F profiles replace the v0.1 family registry: a name, a sender and headers.\n",[887,1238,1239],{"class":889,"line":897},[887,1240,1241],{"class":893},"\u002F\u002F Quiet picks each footer from the profile name.\n",[887,1243,1244,1247,1250,1253,1255,1257,1259],{"class":889,"line":920},[887,1245,1246],{"class":900},"func",[887,1248,1249],{"class":914}," profiles",[887,1251,1252],{"class":904},"() []",[887,1254,1000],{"class":923},[887,1256,526],{"class":904},[887,1258,278],{"class":923},[887,1260,1261],{"class":904}," {\n",[887,1263,1264,1267,1270,1272,1274,1276],{"class":889,"line":934},[887,1265,1266],{"class":900},"    return",[887,1268,1269],{"class":904}," []",[887,1271,1000],{"class":923},[887,1273,526],{"class":904},[887,1275,278],{"class":923},[887,1277,931],{"class":904},[887,1279,1280,1283,1285,1288,1290,1292,1294,1296,1298,1300,1302],{"class":889,"line":947},[887,1281,1282],{"class":904},"        {Name: ",[887,1284,941],{"class":940},[887,1286,1287],{"class":904},", From: ",[887,1289,953],{"class":923},[887,1291,526],{"class":904},[887,1293,958],{"class":923},[887,1295,961],{"class":904},[887,1297,964],{"class":940},[887,1299,967],{"class":904},[887,1301,970],{"class":940},[887,1303,1304],{"class":904},"}},\n",[887,1306,1307,1309,1311,1313,1315,1317,1319,1321,1323,1325,1327,1330,1332],{"class":889,"line":976},[887,1308,1282],{"class":904},[887,1310,1082],{"class":940},[887,1312,1287],{"class":904},[887,1314,953],{"class":923},[887,1316,526],{"class":904},[887,1318,958],{"class":923},[887,1320,961],{"class":904},[887,1322,1101],{"class":940},[887,1324,967],{"class":904},[887,1326,1106],{"class":940},[887,1328,1329],{"class":904},"}, ListUnsubscribe: ",[887,1331,1196],{"class":1195},[887,1333,973],{"class":904},[887,1335,1336],{"class":889,"line":982},[887,1337,1338],{"class":904},"    }\n",[887,1340,1341],{"class":889,"line":988},[887,1342,1343],{"class":904},"}\n",[211,1345,1346,1349,1350,1353,1354,1357,1358,526],{},[228,1347,1348],{},"ListUnsubscribe: true"," takes over from the marketing stream's automatic ",[228,1351,1352],{},"List-Unsubscribe"," headers: the renderer sets them from the recipient's ",[228,1355,1356],{},"UnsubscribeURL",", which must then be https. See ",[220,1359,118],{"href":119},[237,1361,1363],{"id":1362},"move-the-brand-into-vars-and-tokens","Move the brand into vars and tokens",[211,1365,1366,1367,1370],{},"The v0.1 ",[228,1368,1369],{},"Config"," carried the brand, the families and the legal entities:",[878,1372,1374],{"className":880,"code":1373,"filename":230,"language":882,"meta":883,"style":883},"\u002F\u002F v0.1: the Config held the domain, the site, the theme, the families\n\u002F\u002F and the entity address of each region.\nr, err := lttr.NewRenderer(lttr.Config{\n    Domain:        \"loam.example\",\n    SiteURL:       \"https:\u002F\u002Floam.example\",\n    AssetBase:     \"https:\u002F\u002Floam.example\u002Fassets\u002Femail\",\n    Theme:         brand,\n    Families:      families,\n    Entities:      map[string]lttr.Entity{\"Alder Valley\": {Address: \"12 Mill Lane, Alder Valley\"}},\n    DefaultRegion: \"Alder Valley\",\n})\n",[228,1375,1376,1381,1386,1410,1420,1430,1440,1445,1450,1487,1496],{"__ignoreMap":883},[887,1377,1378],{"class":889,"line":890},[887,1379,1380],{"class":893},"\u002F\u002F v0.1: the Config held the domain, the site, the theme, the families\n",[887,1382,1383],{"class":889,"line":897},[887,1384,1385],{"class":893},"\u002F\u002F and the entity address of each region.\n",[887,1387,1388,1391,1394,1396,1399,1402,1404,1406,1408],{"class":889,"line":920},[887,1389,1390],{"class":904},"r, err ",[887,1392,1393],{"class":900},":=",[887,1395,911],{"class":904},[887,1397,1398],{"class":914},"NewRenderer",[887,1400,1401],{"class":904},"(",[887,1403,1000],{"class":923},[887,1405,526],{"class":904},[887,1407,1369],{"class":923},[887,1409,931],{"class":904},[887,1411,1412,1415,1418],{"class":889,"line":934},[887,1413,1414],{"class":904},"    Domain:        ",[887,1416,1417],{"class":940},"\"loam.example\"",[887,1419,944],{"class":904},[887,1421,1422,1425,1428],{"class":889,"line":947},[887,1423,1424],{"class":904},"    SiteURL:       ",[887,1426,1427],{"class":940},"\"https:\u002F\u002Floam.example\"",[887,1429,944],{"class":904},[887,1431,1432,1435,1438],{"class":889,"line":976},[887,1433,1434],{"class":904},"    AssetBase:     ",[887,1436,1437],{"class":940},"\"https:\u002F\u002Floam.example\u002Fassets\u002Femail\"",[887,1439,944],{"class":904},[887,1441,1442],{"class":889,"line":982},[887,1443,1444],{"class":904},"    Theme:         brand,\n",[887,1446,1447],{"class":889,"line":988},[887,1448,1449],{"class":904},"    Families:      families,\n",[887,1451,1452,1455,1458,1461,1464,1467,1469,1471,1473,1476,1479,1482,1485],{"class":889,"line":994},[887,1453,1454],{"class":904},"    Entities:      ",[887,1456,1457],{"class":900},"map",[887,1459,1460],{"class":904},"[",[887,1462,1463],{"class":900},"string",[887,1465,1466],{"class":904},"]",[887,1468,1000],{"class":923},[887,1470,526],{"class":904},[887,1472,603],{"class":923},[887,1474,1475],{"class":904},"{",[887,1477,1478],{"class":940},"\"Alder Valley\"",[887,1480,1481],{"class":904},": {Address: ",[887,1483,1484],{"class":940},"\"12 Mill Lane, Alder Valley\"",[887,1486,1304],{"class":904},[887,1488,1489,1492,1494],{"class":889,"line":1009},[887,1490,1491],{"class":904},"    DefaultRegion: ",[887,1493,1478],{"class":940},[887,1495,944],{"class":904},[887,1497,1498],{"class":889,"line":1020},[887,1499,1500],{"class":904},"})\n",[211,1502,1503,1504,1506],{},"Now ",[228,1505,1369],{}," holds the kit, the profiles, the asset base and the var overrides. Everything the footer used to fill from placeholders is a kit var:",[878,1508,1510],{"className":880,"code":1509,"filename":1229,"language":882,"meta":883,"style":883},"\u002F\u002F vars replace Config.Domain, SiteURL, Theme.Brand and the entity address.\nfunc vars() map[string]string {\n    return map[string]string{\n        \"brand\":   \"Loam\",\n        \"site\":    \"https:\u002F\u002Floam.example\",\n        \"domain\":  \"loam.example\",\n        \"help\":    \"https:\u002F\u002Floam.example\u002Fhelp\",\n        \"prefs\":   \"https:\u002F\u002Floam.example\u002Fpreferences\",\n        \"address\": \"12 Mill Lane, Alder Valley\",\n        \"journal\": \"Field Notes\",\n    }\n}\n",[228,1511,1512,1517,1539,1556,1568,1580,1592,1604,1616,1627,1638,1642],{"__ignoreMap":883},[887,1513,1514],{"class":889,"line":890},[887,1515,1516],{"class":893},"\u002F\u002F vars replace Config.Domain, SiteURL, Theme.Brand and the entity address.\n",[887,1518,1519,1521,1524,1527,1529,1531,1533,1535,1537],{"class":889,"line":897},[887,1520,1246],{"class":900},[887,1522,1523],{"class":914}," vars",[887,1525,1526],{"class":904},"() ",[887,1528,1457],{"class":900},[887,1530,1460],{"class":904},[887,1532,1463],{"class":900},[887,1534,1466],{"class":904},[887,1536,1463],{"class":900},[887,1538,1261],{"class":904},[887,1540,1541,1543,1546,1548,1550,1552,1554],{"class":889,"line":920},[887,1542,1266],{"class":900},[887,1544,1545],{"class":900}," map",[887,1547,1460],{"class":904},[887,1549,1463],{"class":900},[887,1551,1466],{"class":904},[887,1553,1463],{"class":900},[887,1555,931],{"class":904},[887,1557,1558,1561,1564,1566],{"class":889,"line":934},[887,1559,1560],{"class":940},"        \"brand\"",[887,1562,1563],{"class":904},":   ",[887,1565,964],{"class":940},[887,1567,944],{"class":904},[887,1569,1570,1573,1576,1578],{"class":889,"line":947},[887,1571,1572],{"class":940},"        \"site\"",[887,1574,1575],{"class":904},":    ",[887,1577,1427],{"class":940},[887,1579,944],{"class":904},[887,1581,1582,1585,1588,1590],{"class":889,"line":976},[887,1583,1584],{"class":940},"        \"domain\"",[887,1586,1587],{"class":904},":  ",[887,1589,1417],{"class":940},[887,1591,944],{"class":904},[887,1593,1594,1597,1599,1602],{"class":889,"line":982},[887,1595,1596],{"class":940},"        \"help\"",[887,1598,1575],{"class":904},[887,1600,1601],{"class":940},"\"https:\u002F\u002Floam.example\u002Fhelp\"",[887,1603,944],{"class":904},[887,1605,1606,1609,1611,1614],{"class":889,"line":988},[887,1607,1608],{"class":940},"        \"prefs\"",[887,1610,1563],{"class":904},[887,1612,1613],{"class":940},"\"https:\u002F\u002Floam.example\u002Fpreferences\"",[887,1615,944],{"class":904},[887,1617,1618,1621,1623,1625],{"class":889,"line":994},[887,1619,1620],{"class":940},"        \"address\"",[887,1622,831],{"class":904},[887,1624,1484],{"class":940},[887,1626,944],{"class":904},[887,1628,1629,1632,1634,1636],{"class":889,"line":1009},[887,1630,1631],{"class":940},"        \"journal\"",[887,1633,831],{"class":904},[887,1635,1101],{"class":940},[887,1637,944],{"class":904},[887,1639,1640],{"class":889,"line":1020},[887,1641,1338],{"class":904},[887,1643,1644],{"class":889,"line":1031},[887,1645,1343],{"class":904},[878,1647,1649],{"className":880,"code":1648,"filename":1229,"language":882,"meta":883,"style":883},"r, err := lttr.NewRenderer(lttr.Config{\n    Kit:       quiet.MustKit(),\n    Profiles:  profiles(),\n    AssetBase: \"https:\u002F\u002Floam.example\u002Fassets\u002Femail\",\n    Vars:      vars(),\n})\n",[228,1650,1651,1671,1682,1692,1701,1711],{"__ignoreMap":883},[887,1652,1653,1655,1657,1659,1661,1663,1665,1667,1669],{"class":889,"line":890},[887,1654,1390],{"class":904},[887,1656,1393],{"class":900},[887,1658,911],{"class":904},[887,1660,1398],{"class":914},[887,1662,1401],{"class":904},[887,1664,1000],{"class":923},[887,1666,526],{"class":904},[887,1668,1369],{"class":923},[887,1670,931],{"class":904},[887,1672,1673,1676,1679],{"class":889,"line":897},[887,1674,1675],{"class":904},"    Kit:       quiet.",[887,1677,1678],{"class":914},"MustKit",[887,1680,1681],{"class":904},"(),\n",[887,1683,1684,1687,1690],{"class":889,"line":920},[887,1685,1686],{"class":904},"    Profiles:  ",[887,1688,1689],{"class":914},"profiles",[887,1691,1681],{"class":904},[887,1693,1694,1697,1699],{"class":889,"line":934},[887,1695,1696],{"class":904},"    AssetBase: ",[887,1698,1437],{"class":940},[887,1700,944],{"class":904},[887,1702,1703,1706,1709],{"class":889,"line":947},[887,1704,1705],{"class":904},"    Vars:      ",[887,1707,1708],{"class":914},"vars",[887,1710,1681],{"class":904},[887,1712,1713],{"class":889,"line":976},[887,1714,1500],{"class":904},[211,1716,1717,1719,1720,1723],{},[228,1718,1398],{}," rejects a var the kit doesn't declare, so a typo in a key fails at startup. ",[220,1721,175],{"href":1722},"\u002Fguides\u002Fthe-quiet-kit#set-the-brand-vars"," lists Quiet's vars and where each one appears.",[211,1725,1366,1726,1728,1729,1731],{},[228,1727,316],{}," has no counterpart in ",[228,1730,1369],{},". Colours, fonts and sizes are kit tokens, fixed when the kit loads. Quiet's tokens are its own design. For your own colours, build a kit from Plain, where a colour and a font stack look like this:",[878,1733,1738],{"className":1734,"code":1735,"filename":1736,"language":1737,"meta":883,"style":883},"language-yaml shiki shiki-themes github-light-high-contrast github-light-high-contrast github-dark","  color.accent:  { light: \"#1A7F37\", dark: \"#3FB950\" }  # was Plain's blue\n  color.button:  { light: \"#1A7F37\", dark: \"#1A7F37\" }  # was Plain's blue\n","tutorial\u002Fkit\u002Fkit.yaml#L19-L20","yaml",[228,1739,1740,1773],{"__ignoreMap":883},[887,1741,1742,1746,1749,1752,1754,1757,1759,1762,1764,1767,1770],{"class":889,"line":890},[887,1743,1745],{"class":1744},"s71pN","  color.accent",[887,1747,1748],{"class":904},":  { ",[887,1750,1751],{"class":1744},"light",[887,1753,831],{"class":904},[887,1755,1756],{"class":940},"\"#1A7F37\"",[887,1758,267],{"class":904},[887,1760,1761],{"class":1744},"dark",[887,1763,831],{"class":904},[887,1765,1766],{"class":940},"\"#3FB950\"",[887,1768,1769],{"class":904}," }  ",[887,1771,1772],{"class":893},"# was Plain's blue\n",[887,1774,1775,1778,1780,1782,1784,1786,1788,1790,1792,1794,1796],{"class":889,"line":897},[887,1776,1777],{"class":1744},"  color.button",[887,1779,1748],{"class":904},[887,1781,1751],{"class":1744},[887,1783,831],{"class":904},[887,1785,1756],{"class":940},[887,1787,267],{"class":904},[887,1789,1761],{"class":1744},[887,1791,831],{"class":904},[887,1793,1756],{"class":940},[887,1795,1769],{"class":904},[887,1797,1772],{"class":893},[878,1799,1802],{"className":1734,"code":1800,"filename":1801,"language":1737,"meta":883,"style":883},"  # Quote family names with spaces in single quotes: \"'Helvetica Neue',Arial,sans-serif\".\n  font.sans: \"'Helvetica Neue',Arial,sans-serif\"  # was the system stack\n","tutorial\u002Fkit\u002Fkit.yaml#L24-L25",[228,1803,1804,1809],{"__ignoreMap":883},[887,1805,1806],{"class":889,"line":890},[887,1807,1808],{"class":893},"  # Quote family names with spaces in single quotes: \"'Helvetica Neue',Arial,sans-serif\".\n",[887,1810,1811,1814,1816,1819],{"class":889,"line":897},[887,1812,1813],{"class":1744},"  font.sans",[887,1815,831],{"class":904},[887,1817,1818],{"class":940},"\"'Helvetica Neue',Arial,sans-serif\"",[887,1820,1821],{"class":893},"  # was the system stack\n",[211,1823,1824,1825,523,1827,526],{},"See ",[220,1826,170],{"href":171},[220,1828,79],{"href":80},[237,1830,1832],{"id":1831},"update-the-templates","Update the templates",[211,1834,1835,1836,1838,1839,1841,1842,1845],{},"Rename ",[228,1837,472],{}," to ",[228,1840,477],{},", and flatten the ",[228,1843,1844],{},"footer.*"," keys into the keys the kit declares:",[878,1847,1851],{"className":1848,"code":1849,"filename":230,"language":1850,"meta":883,"style":883},"language-markdown shiki shiki-themes github-light-high-contrast github-light-high-contrast github-dark","---\ntemplate: order.dispatched\nfamily: buyer\nsubject: \"Order {{order_id}} is on its way\"\npreheader: \"Arriving {{arrives}}.\"\nfooter:\n  note: Questions about your order? Reply to this email.\n---\n","markdown",[228,1852,1853,1858,1868,1878,1888,1898,1906,1916],{"__ignoreMap":883},[887,1854,1855],{"class":889,"line":890},[887,1856,1857],{"class":904},"---\n",[887,1859,1860,1863,1865],{"class":889,"line":897},[887,1861,1862],{"class":1744},"template",[887,1864,831],{"class":904},[887,1866,1867],{"class":940},"order.dispatched\n",[887,1869,1870,1873,1875],{"class":889,"line":920},[887,1871,1872],{"class":1744},"family",[887,1874,831],{"class":904},[887,1876,1877],{"class":940},"buyer\n",[887,1879,1880,1883,1885],{"class":889,"line":934},[887,1881,1882],{"class":1744},"subject",[887,1884,831],{"class":904},[887,1886,1887],{"class":940},"\"Order {{order_id}} is on its way\"\n",[887,1889,1890,1893,1895],{"class":889,"line":947},[887,1891,1892],{"class":1744},"preheader",[887,1894,831],{"class":904},[887,1896,1897],{"class":940},"\"Arriving {{arrives}}.\"\n",[887,1899,1900,1903],{"class":889,"line":976},[887,1901,1902],{"class":1744},"footer",[887,1904,1905],{"class":904},":\n",[887,1907,1908,1911,1913],{"class":889,"line":982},[887,1909,1910],{"class":1744},"  note",[887,1912,831],{"class":904},[887,1914,1915],{"class":940},"Questions about your order? Reply to this email.\n",[887,1917,1918],{"class":889,"line":988},[887,1919,1857],{"class":904},[878,1921,1924],{"className":1848,"code":1922,"filename":1923,"language":1850,"meta":883,"style":883},"---\ntemplate: order.dispatched\nprofile: buyer\nsubject: \"Order {{order_id}} is on its way\"\npreheader: \"Arriving {{arrives}}.\"\nnote: Questions about your order? Reply to this email.\n---\n","templates\u002Forder-dispatched.md",[228,1925,1926,1930,1938,1947,1955,1963,1971],{"__ignoreMap":883},[887,1927,1928],{"class":889,"line":890},[887,1929,1857],{"class":904},[887,1931,1932,1934,1936],{"class":889,"line":897},[887,1933,1862],{"class":1744},[887,1935,831],{"class":904},[887,1937,1867],{"class":940},[887,1939,1940,1943,1945],{"class":889,"line":920},[887,1941,1942],{"class":1744},"profile",[887,1944,831],{"class":904},[887,1946,1877],{"class":940},[887,1948,1949,1951,1953],{"class":889,"line":934},[887,1950,1882],{"class":1744},[887,1952,831],{"class":904},[887,1954,1887],{"class":940},[887,1956,1957,1959,1961],{"class":889,"line":947},[887,1958,1892],{"class":1744},[887,1960,831],{"class":904},[887,1962,1897],{"class":940},[887,1964,1965,1967,1969],{"class":889,"line":976},[887,1966,508],{"class":1744},[887,1968,831],{"class":904},[887,1970,1915],{"class":940},[887,1972,1973],{"class":889,"line":982},[887,1974,1857],{"class":904},[211,1976,1977],{},"The body usually needs no change. The module names and their handoff aliases are Quiet's component names, with the same attributes. Look out for three things:",[1979,1980,1981,1999,2020],"ul",{},[1982,1983,1984,1987,1988,1991,1992,1994,1995,1998],"li",{},[215,1985,1986],{},"Recipient fields."," ",[228,1989,1990],{},"{{first_name}}"," used to fall back to ",[228,1993,626],{},", which is gone. Put the field in your data type, or use ",[228,1996,1997],{},"{{name}}",", the recipient's display name.",[1982,2000,2001,2004,2005,2008,2009,2012,2013,2016,2017,526],{},[215,2002,2003],{},"Empty optional URLs."," An optional url attribute whose merge tag evaluates to ",[228,2006,2007],{},"\"\""," is unset only with an explicit empty fallback: ",[228,2010,2011],{},"::map{src=\"{{map_url |}}\"}",". Without the ",[228,2014,2015],{},"|",", an empty value is a render error: ",[228,2018,2019],{},"no value for {{map_url}}",[1982,2021,2022,1987,2025,2027,2028,2030],{},[215,2023,2024],{},"Placeholders in copy.",[228,2026,533],{}," and the other placeholders are plain text now. In kit templates, read ",[228,2029,567],{},". In a Markdown template, use a merge tag from your data.",[211,2032,2033,2034,2037,2038,2041,2042,2046,2047,526],{},"Strikethrough, link titles and images in prose are now parsed, and each component allows or rejects them. Raw HTML is still an error: HTML your application renders itself reaches a component from Go, through an ",[228,2035,2036],{},"html"," attribute and an ",[228,2039,2040],{},"lttr.TrustedHTML"," field (see ",[220,2043,2045],{"href":2044},"\u002Fkits\u002Fcomponent-schemas#pass-trusted-html","Pass trusted HTML","). Every column in an error message is 1-based, and an unknown name ends with the closest known one, as in ",[228,2048,2049],{},"unknown name \"otp_cod\" (did you mean otp_code?)",[237,2051,2053],{"id":2052},"compile-against-the-kit","Compile against the kit",[211,2055,2056,523,2059,2061],{},[228,2057,2058],{},"Compile",[228,2060,743],{}," take the kit where they took the registry:",[878,2063,2065],{"className":880,"code":2064,"filename":230,"language":882,"meta":883,"style":883},"\u002F\u002F v0.1: templates compiled against the family registry.\nvar orderDispatched = lttr.MustCompile[OrderDispatched](families, \"order.dispatched\", []byte(orderDispatchedSrc))\n",[228,2066,2067,2072],{"__ignoreMap":883},[887,2068,2069],{"class":889,"line":890},[887,2070,2071],{"class":893},"\u002F\u002F v0.1: templates compiled against the family registry.\n",[887,2073,2074,2076,2079,2081,2083,2085,2087,2090,2093,2096,2099,2102],{"class":889,"line":897},[887,2075,901],{"class":900},[887,2077,2078],{"class":904}," orderDispatched ",[887,2080,908],{"class":900},[887,2082,911],{"class":904},[887,2084,743],{"class":914},[887,2086,1460],{"class":904},[887,2088,2089],{"class":923},"OrderDispatched",[887,2091,2092],{"class":904},"](families, ",[887,2094,2095],{"class":940},"\"order.dispatched\"",[887,2097,2098],{"class":904},", []",[887,2100,2101],{"class":900},"byte",[887,2103,2104],{"class":904},"(orderDispatchedSrc))\n",[878,2106,2108],{"className":880,"code":2107,"filename":1229,"language":882,"meta":883,"style":883},"var orderDispatched = lttr.MustCompile[OrderDispatched](quiet.MustKit(), \"order.dispatched\", []byte(orderDispatchedSrc))\n",[228,2109,2110],{"__ignoreMap":883},[887,2111,2112,2114,2116,2118,2120,2122,2124,2126,2129,2131,2134,2136,2138,2140],{"class":889,"line":890},[887,2113,901],{"class":900},[887,2115,2078],{"class":904},[887,2117,908],{"class":900},[887,2119,911],{"class":904},[887,2121,743],{"class":914},[887,2123,1460],{"class":904},[887,2125,2089],{"class":923},[887,2127,2128],{"class":904},"](quiet.",[887,2130,1678],{"class":914},[887,2132,2133],{"class":904},"(), ",[887,2135,2095],{"class":940},[887,2137,2098],{"class":904},[887,2139,2101],{"class":900},[887,2141,2104],{"class":904},[211,2143,2144,2145,2147,2148,2151],{},"Compile against the same ",[228,2146,752],{}," the renderer uses. ",[228,2149,2150],{},"quiet.MustKit()"," returns the same one on every call.",[211,2153,2154,2155,2157,2158,2161,2162,2164,2165,2167,2168,2170,2171,2173,2174,2177],{},"The typed values the modules bound are in ",[228,2156,694],{}," now, with the same fields. ",[228,2159,2160],{},"quiet.Money"," adds ",[228,2163,732],{},", an optional display prefix. Only the USD, EUR and GBP constants carried over; the other v0.1 currency constant is gone. For any other currency, set your own ",[228,2166,728],{}," code and a ",[228,2169,732],{},": without a ",[228,2172,732],{},", an unknown code prints before the amount (",[228,2175,2176],{},"ABC 1.50",").",[878,2179,2181],{"className":880,"code":2180,"filename":230,"language":882,"meta":883,"style":883},"\u002F\u002F v0.1: money and receipts lived in the data package.\nSubtotal: data.Money{Minor: 4297, Currency: data.USDCode},\n",[228,2182,2183,2188],{"__ignoreMap":883},[887,2184,2185],{"class":889,"line":890},[887,2186,2187],{"class":893},"\u002F\u002F v0.1: money and receipts lived in the data package.\n",[887,2189,2190,2193,2196,2198,2201,2204,2207],{"class":889,"line":897},[887,2191,2192],{"class":904},"Subtotal: ",[887,2194,2195],{"class":923},"data",[887,2197,526],{"class":904},[887,2199,2200],{"class":923},"Money",[887,2202,2203],{"class":904},"{Minor: ",[887,2205,2206],{"class":1195},"4297",[887,2208,2209],{"class":904},", Currency: data.USDCode},\n",[878,2211,2213],{"className":880,"code":2212,"filename":1229,"language":882,"meta":883,"style":883},"Subtotal: quiet.Money{Minor: 4297, Currency: quiet.USDCode, Symbol: \"$\"},\n",[228,2214,2215],{"__ignoreMap":883},[887,2216,2217,2219,2222,2224,2226,2228,2230,2233,2236],{"class":889,"line":890},[887,2218,2192],{"class":904},[887,2220,2221],{"class":923},"quiet",[887,2223,526],{"class":904},[887,2225,2200],{"class":923},[887,2227,2203],{"class":904},[887,2229,2206],{"class":1195},[887,2231,2232],{"class":904},", Currency: quiet.USDCode, Symbol: ",[887,2234,2235],{"class":940},"\"$\"",[887,2237,973],{"class":904},[211,2239,2240,2243,2244,523,2247,2249,2250,267,2252,523,2254,526],{},[228,2241,2242],{},"TemplateMeta"," names the profile and the components: ",[228,2245,2246],{},"Meta().Profile",[228,2248,786],{}," replace ",[228,2251,266],{},[228,2253,377],{},[228,2255,2256],{},"Modules",[237,2258,2260],{"id":2259},"route-messages-yourself","Route messages yourself",[211,2262,1366,2263,2265,2266,2269],{},[228,2264,380],{}," picked a ",[228,2267,2268],{},"Sender"," by the family's stream and checked suppression and the internal allow-list:",[878,2271,2273],{"className":880,"code":2272,"filename":230,"language":882,"meta":883,"style":883},"\u002F\u002F v0.1: the Router sent each message through the Sender for its stream.\nrouter := &lttr.Router{\n    Streams: map[lttr.Stream]lttr.Sender{\n        lttr.Transactional: transactional,\n        lttr.Marketing:     marketing,\n    },\n    Suppressed: func(ctx context.Context, s lttr.Stream, addr string) (bool, error) {\n        return s == lttr.Marketing && unsubscribed(addr), nil\n    },\n}\nerr = router.Send(ctx, m)\n",[228,2274,2275,2280,2298,2323,2328,2333,2337,2392,2418,2422,2426],{"__ignoreMap":883},[887,2276,2277],{"class":889,"line":890},[887,2278,2279],{"class":893},"\u002F\u002F v0.1: the Router sent each message through the Sender for its stream.\n",[887,2281,2282,2285,2287,2290,2292,2294,2296],{"class":889,"line":897},[887,2283,2284],{"class":904},"router ",[887,2286,1393],{"class":900},[887,2288,2289],{"class":900}," &",[887,2291,1000],{"class":923},[887,2293,526],{"class":904},[887,2295,380],{"class":923},[887,2297,931],{"class":904},[887,2299,2300,2303,2305,2307,2309,2311,2313,2315,2317,2319,2321],{"class":889,"line":920},[887,2301,2302],{"class":904},"    Streams: ",[887,2304,1457],{"class":900},[887,2306,1460],{"class":904},[887,2308,1000],{"class":923},[887,2310,526],{"class":904},[887,2312,377],{"class":923},[887,2314,1466],{"class":904},[887,2316,1000],{"class":923},[887,2318,526],{"class":904},[887,2320,2268],{"class":923},[887,2322,931],{"class":904},[887,2324,2325],{"class":889,"line":934},[887,2326,2327],{"class":904},"        lttr.Transactional: transactional,\n",[887,2329,2330],{"class":889,"line":947},[887,2331,2332],{"class":904},"        lttr.Marketing:     marketing,\n",[887,2334,2335],{"class":889,"line":976},[887,2336,1062],{"class":904},[887,2338,2339,2342,2344,2346,2350,2353,2355,2358,2360,2363,2366,2368,2370,2372,2375,2378,2381,2384,2386,2389],{"class":889,"line":982},[887,2340,2341],{"class":904},"    Suppressed: ",[887,2343,1246],{"class":900},[887,2345,1401],{"class":904},[887,2347,2349],{"class":2348},"s-BBy","ctx",[887,2351,2352],{"class":923}," context",[887,2354,526],{"class":904},[887,2356,2357],{"class":923},"Context",[887,2359,267],{"class":904},[887,2361,2362],{"class":2348},"s",[887,2364,2365],{"class":923}," lttr",[887,2367,526],{"class":904},[887,2369,377],{"class":923},[887,2371,267],{"class":904},[887,2373,2374],{"class":2348},"addr",[887,2376,2377],{"class":900}," string",[887,2379,2380],{"class":904},") (",[887,2382,2383],{"class":900},"bool",[887,2385,267],{"class":904},[887,2387,2388],{"class":900},"error",[887,2390,2391],{"class":904},") {\n",[887,2393,2394,2397,2400,2403,2406,2409,2412,2415],{"class":889,"line":988},[887,2395,2396],{"class":900},"        return",[887,2398,2399],{"class":904}," s ",[887,2401,2402],{"class":900},"==",[887,2404,2405],{"class":904}," lttr.Marketing ",[887,2407,2408],{"class":900},"&&",[887,2410,2411],{"class":914}," unsubscribed",[887,2413,2414],{"class":904},"(addr), ",[887,2416,2417],{"class":1195},"nil\n",[887,2419,2420],{"class":889,"line":994},[887,2421,1062],{"class":904},[887,2423,2424],{"class":889,"line":1009},[887,2425,1343],{"class":904},[887,2427,2428,2431,2433,2436,2439],{"class":889,"line":1020},[887,2429,2430],{"class":904},"err ",[887,2432,908],{"class":900},[887,2434,2435],{"class":904}," router.",[887,2437,2438],{"class":914},"Send",[887,2440,2441],{"class":904},"(ctx, m)\n",[211,2443,2444,2445,2448],{},"Streams are gone. Every ",[228,2446,2447],{},"Message"," carries the name of its profile, so route on that:",[878,2450,2452],{"className":880,"code":2451,"filename":1229,"language":882,"meta":883,"style":883},"\u002F\u002F send replaces the v0.1 Router: route on Message.Profile, and check\n\u002F\u002F suppression yourself.\nfunc send(ctx context.Context, m *lttr.Message, transactional, marketing lttr.Sender, suppressed func(string) bool) error {\n    switch m.Profile {\n    case \"newsletter\":\n        if suppressed(m.To.Address) {\n            return nil\n        }\n        return marketing.Send(ctx, m)\n    default:\n        return transactional.Send(ctx, m)\n    }\n}\n",[228,2453,2454,2459,2464,2534,2542,2552,2563,2571,2576,2587,2594,2605,2609],{"__ignoreMap":883},[887,2455,2456],{"class":889,"line":890},[887,2457,2458],{"class":893},"\u002F\u002F send replaces the v0.1 Router: route on Message.Profile, and check\n",[887,2460,2461],{"class":889,"line":897},[887,2462,2463],{"class":893},"\u002F\u002F suppression yourself.\n",[887,2465,2466,2468,2471,2473,2475,2477,2479,2481,2483,2486,2489,2491,2493,2495,2497,2500,2502,2505,2507,2509,2511,2513,2516,2519,2521,2523,2526,2528,2530,2532],{"class":889,"line":920},[887,2467,1246],{"class":900},[887,2469,2470],{"class":914}," send",[887,2472,1401],{"class":904},[887,2474,2349],{"class":2348},[887,2476,2352],{"class":923},[887,2478,526],{"class":904},[887,2480,2357],{"class":923},[887,2482,267],{"class":904},[887,2484,2485],{"class":2348},"m",[887,2487,2488],{"class":900}," *",[887,2490,1000],{"class":923},[887,2492,526],{"class":904},[887,2494,2447],{"class":923},[887,2496,267],{"class":904},[887,2498,2499],{"class":2348},"transactional",[887,2501,267],{"class":904},[887,2503,2504],{"class":2348},"marketing",[887,2506,2365],{"class":923},[887,2508,526],{"class":904},[887,2510,2268],{"class":923},[887,2512,267],{"class":904},[887,2514,2515],{"class":2348},"suppressed",[887,2517,2518],{"class":900}," func",[887,2520,1401],{"class":904},[887,2522,1463],{"class":900},[887,2524,2525],{"class":904},") ",[887,2527,2383],{"class":900},[887,2529,2525],{"class":904},[887,2531,2388],{"class":900},[887,2533,1261],{"class":904},[887,2535,2536,2539],{"class":889,"line":934},[887,2537,2538],{"class":900},"    switch",[887,2540,2541],{"class":904}," m.Profile {\n",[887,2543,2544,2547,2550],{"class":889,"line":947},[887,2545,2546],{"class":900},"    case",[887,2548,2549],{"class":940}," \"newsletter\"",[887,2551,1905],{"class":904},[887,2553,2554,2557,2560],{"class":889,"line":976},[887,2555,2556],{"class":900},"        if",[887,2558,2559],{"class":914}," suppressed",[887,2561,2562],{"class":904},"(m.To.Address) {\n",[887,2564,2565,2568],{"class":889,"line":982},[887,2566,2567],{"class":900},"            return",[887,2569,2570],{"class":1195}," nil\n",[887,2572,2573],{"class":889,"line":988},[887,2574,2575],{"class":904},"        }\n",[887,2577,2578,2580,2583,2585],{"class":889,"line":994},[887,2579,2396],{"class":900},[887,2581,2582],{"class":904}," marketing.",[887,2584,2438],{"class":914},[887,2586,2441],{"class":904},[887,2588,2589,2592],{"class":889,"line":1009},[887,2590,2591],{"class":900},"    default",[887,2593,1905],{"class":904},[887,2595,2596,2598,2601,2603],{"class":889,"line":1020},[887,2597,2396],{"class":900},[887,2599,2600],{"class":904}," transactional.",[887,2602,2438],{"class":914},[887,2604,2441],{"class":904},[887,2606,2607],{"class":889,"line":1031},[887,2608,1338],{"class":904},[887,2610,2611],{"class":889,"line":1042},[887,2612,1343],{"class":904},[211,2614,2615,2618,2619,2621,2622,526],{},[228,2616,2617],{},"lttr.SMTP"," and the ",[228,2620,2268],{}," interface are unchanged. See ",[220,2623,128],{"href":129},[237,2625,2627],{"id":2626},"host-your-own-maps","Host your own maps",[211,2629,2630,2631,2633,2634,2636,2637,2639,2640,2642],{},"The ",[228,2632,657],{}," package and ",[228,2635,830],{},"'s ",[228,2638,840],{}," are gone. lttr no longer talks to a map provider. Request the static map image from your provider when you send, upload it to your own CDN, and pass the CDN URL in your data. Quiet's ",[228,2641,1457],{}," component shows it, or its map-coloured ground when the URL is empty:",[878,2644,2647],{"className":1848,"code":2645,"filename":2646,"language":1850,"meta":883,"style":883},"::map{src=\"{{map_url |}}\" pickup=\"{{pickup_area}}\" dropoff=\"{{dropoff_area}}\"}\n::\n","examples\u002Fquiet\u002Ftemplates\u002F06-courier-job.md",[228,2648,2649,2654],{"__ignoreMap":883},[887,2650,2651],{"class":889,"line":890},[887,2652,2653],{"class":904},"::map{src=\"{{map_url |}}\" pickup=\"{{pickup_area}}\" dropoff=\"{{dropoff_area}}\"}\n",[887,2655,2656],{"class":889,"line":897},[887,2657,2658],{"class":904},"::\n",[211,2660,2661],{},"Keep the provider's API URL out of the email: it carries your access token.",[237,2663,2665],{"id":2664},"run-the-ported-program","Run the ported program",[211,2667,2668,2669,2671],{},"The pieces above in one file. It renders the order email for Ana and sends it through a stand-in ",[228,2670,2268],{}," that prints the message:",[878,2673,2675],{"className":880,"code":2674,"filename":1229,"language":882,"meta":883,"style":883},"package main\n\nimport (\n    \"context\"\n    \"fmt\"\n    \"log\"\n    \"net\u002Fmail\"\n\n    \"github.com\u002Fsulv-io\u002Flttr\"\n    \"github.com\u002Fsulv-io\u002Flttr\u002Fkits\u002Fquiet\"\n)\n\n\u002F\u002F profiles replace the v0.1 family registry: a name, a sender and headers.\n\u002F\u002F Quiet picks each footer from the profile name.\nfunc profiles() []lttr.Profile {\n    return []lttr.Profile{\n        {Name: \"buyer\", From: mail.Address{Name: \"Loam\", Address: \"orders@loam.example\"}},\n        {Name: \"newsletter\", From: mail.Address{Name: \"Field Notes\", Address: \"notes@loam.example\"}, ListUnsubscribe: true},\n    }\n}\n\n\u002F\u002F vars replace Config.Domain, SiteURL, Theme.Brand and the entity address.\nfunc vars() map[string]string {\n    return map[string]string{\n        \"brand\":   \"Loam\",\n        \"site\":    \"https:\u002F\u002Floam.example\",\n        \"domain\":  \"loam.example\",\n        \"help\":    \"https:\u002F\u002Floam.example\u002Fhelp\",\n        \"prefs\":   \"https:\u002F\u002Floam.example\u002Fpreferences\",\n        \"address\": \"12 Mill Lane, Alder Valley\",\n        \"journal\": \"Field Notes\",\n    }\n}\n\n\u002F\u002F OrderDispatched was the v0.1 data type. data.Money is quiet.Money now,\n\u002F\u002F and the recipient's first name, no longer a Recipient field, is data.\ntype OrderDispatched struct {\n    FirstName string      `json:\"first_name\"`\n    OrderID   string      `json:\"order_id\"`\n    Arrives   string      `json:\"arrives\"`\n    Subtotal  quiet.Money `json:\"subtotal\"`\n    Delivery  quiet.Money `json:\"delivery\"`\n    TrackURL  string      `json:\"track_url\"`\n}\n\nconst orderDispatchedSrc = `---\ntemplate: order.dispatched\nprofile: buyer\nsubject: \"Order {{order_id}} is on its way\"\npreheader: \"Arriving {{arrives}}.\"\nnote: Questions about your order? Reply to this email.\n---\n\n::statement{eyebrow=\"Order {{order_id}}\"}\n# Your box is on its way.\n\nHi {{first_name | there}}, it should arrive {{arrives}}.\n\n:button[Track delivery]{href=\"{{track_url}}\"}\n::\n\n::breakdown\n| Produce | {{subtotal}} |\n| --- | ---: |\n| Delivery | {{delivery}} |\n::\n\n::signoff\n::\n`\n\nvar orderDispatched = lttr.MustCompile[OrderDispatched](quiet.MustKit(), \"order.dispatched\", []byte(orderDispatchedSrc))\n\n\u002F\u002F send replaces the v0.1 Router: route on Message.Profile, and check\n\u002F\u002F suppression yourself.\nfunc send(ctx context.Context, m *lttr.Message, transactional, marketing lttr.Sender, suppressed func(string) bool) error {\n    switch m.Profile {\n    case \"newsletter\":\n        if suppressed(m.To.Address) {\n            return nil\n        }\n        return marketing.Send(ctx, m)\n    default:\n        return transactional.Send(ctx, m)\n    }\n}\n\n\u002F\u002F printer stands in for an lttr.SMTP sender.\ntype printer string\n\nfunc (p printer) Send(_ context.Context, m *lttr.Message) error {\n    fmt.Printf(\"%s: %s → %s: %s\\n\\n%s\", p, m.From.Address, m.To.Address, m.Subject, m.Text)\n    return nil\n}\n\nfunc main() {\n    r, err := lttr.NewRenderer(lttr.Config{\n        Kit:       quiet.MustKit(),\n        Profiles:  profiles(),\n        AssetBase: \"https:\u002F\u002Floam.example\u002Fassets\u002Femail\",\n        Vars:      vars(),\n    })\n    if err != nil {\n        log.Fatal(err)\n    }\n    m, err := orderDispatched.Render(r, lttr.Recipient{Address: \"ana@example.com\", Name: \"Ana Reyes\"}, OrderDispatched{\n        FirstName: \"Ana\",\n        OrderID:   \"LM-3107\",\n        Arrives:   \"on Thursday\",\n        Subtotal:  quiet.Money{Minor: 4297, Currency: quiet.USDCode, Symbol: \"$\"},\n        Delivery:  quiet.Money{Minor: 295, Currency: quiet.USDCode, Symbol: \"$\"},\n        TrackURL:  \"https:\u002F\u002Floam.example\u002Forders\u002FLM-3107\",\n    })\n    if err != nil {\n        log.Fatal(err)\n    }\n    noOne := func(string) bool { return false }\n    if err := send(context.Background(), m, printer(\"transactional\"), printer(\"marketing\"), noOne); err != nil {\n        log.Fatal(err)\n    }\n}\n",[228,2676,2677,2685,2691,2699,2710,2719,2728,2737,2741,2750,2759,2763,2767,2771,2775,2791,2805,2829,2857,2861,2865,2869,2873,2893,2909,2919,2929,2939,2949,2959,2969,2980,2985,2990,2995,3001,3007,3021,3032,3043,3054,3069,3084,3095,3100,3105,3120,3126,3132,3138,3144,3150,3155,3160,3166,3172,3177,3183,3188,3194,3199,3204,3210,3216,3222,3228,3233,3238,3244,3249,3255,3260,3291,3296,3301,3306,3369,3376,3385,3394,3401,3406,3417,3424,3435,3440,3445,3450,3456,3467,3472,3518,3555,3562,3567,3572,3583,3605,3615,3625,3635,3645,3651,3668,3680,3685,3727,3738,3749,3760,3782,3805,3816,3821,3834,3843,3848,3878,3923,3932,3937],{"__ignoreMap":883},[887,2678,2679,2682],{"class":889,"line":890},[887,2680,2681],{"class":900},"package",[887,2683,2684],{"class":923}," main\n",[887,2686,2687],{"class":889,"line":897},[887,2688,2690],{"emptyLinePlaceholder":2689},true,"\n",[887,2692,2693,2696],{"class":889,"line":920},[887,2694,2695],{"class":900},"import",[887,2697,2698],{"class":904}," (\n",[887,2700,2701,2704,2707],{"class":889,"line":934},[887,2702,2703],{"class":940},"    \"",[887,2705,2706],{"class":923},"context",[887,2708,2709],{"class":940},"\"\n",[887,2711,2712,2714,2717],{"class":889,"line":947},[887,2713,2703],{"class":940},[887,2715,2716],{"class":923},"fmt",[887,2718,2709],{"class":940},[887,2720,2721,2723,2726],{"class":889,"line":976},[887,2722,2703],{"class":940},[887,2724,2725],{"class":923},"log",[887,2727,2709],{"class":940},[887,2729,2730,2732,2735],{"class":889,"line":982},[887,2731,2703],{"class":940},[887,2733,2734],{"class":923},"net\u002Fmail",[887,2736,2709],{"class":940},[887,2738,2739],{"class":889,"line":988},[887,2740,2690],{"emptyLinePlaceholder":2689},[887,2742,2743,2745,2748],{"class":889,"line":994},[887,2744,2703],{"class":940},[887,2746,2747],{"class":923},"github.com\u002Fsulv-io\u002Flttr",[887,2749,2709],{"class":940},[887,2751,2752,2754,2757],{"class":889,"line":1009},[887,2753,2703],{"class":940},[887,2755,2756],{"class":923},"github.com\u002Fsulv-io\u002Flttr\u002Fkits\u002Fquiet",[887,2758,2709],{"class":940},[887,2760,2761],{"class":889,"line":1020},[887,2762,1209],{"class":904},[887,2764,2765],{"class":889,"line":1031},[887,2766,2690],{"emptyLinePlaceholder":2689},[887,2768,2769],{"class":889,"line":1042},[887,2770,1236],{"class":893},[887,2772,2773],{"class":889,"line":1053},[887,2774,1241],{"class":893},[887,2776,2777,2779,2781,2783,2785,2787,2789],{"class":889,"line":1059},[887,2778,1246],{"class":900},[887,2780,1249],{"class":914},[887,2782,1252],{"class":904},[887,2784,1000],{"class":923},[887,2786,526],{"class":904},[887,2788,278],{"class":923},[887,2790,1261],{"class":904},[887,2792,2793,2795,2797,2799,2801,2803],{"class":889,"line":1065},[887,2794,1266],{"class":900},[887,2796,1269],{"class":904},[887,2798,1000],{"class":923},[887,2800,526],{"class":904},[887,2802,278],{"class":923},[887,2804,931],{"class":904},[887,2806,2807,2809,2811,2813,2815,2817,2819,2821,2823,2825,2827],{"class":889,"line":1076},[887,2808,1282],{"class":904},[887,2810,941],{"class":940},[887,2812,1287],{"class":904},[887,2814,953],{"class":923},[887,2816,526],{"class":904},[887,2818,958],{"class":923},[887,2820,961],{"class":904},[887,2822,964],{"class":940},[887,2824,967],{"class":904},[887,2826,970],{"class":940},[887,2828,1304],{"class":904},[887,2830,2831,2833,2835,2837,2839,2841,2843,2845,2847,2849,2851,2853,2855],{"class":889,"line":1087},[887,2832,1282],{"class":904},[887,2834,1082],{"class":940},[887,2836,1287],{"class":904},[887,2838,953],{"class":923},[887,2840,526],{"class":904},[887,2842,958],{"class":923},[887,2844,961],{"class":904},[887,2846,1101],{"class":940},[887,2848,967],{"class":904},[887,2850,1106],{"class":940},[887,2852,1329],{"class":904},[887,2854,1196],{"class":1195},[887,2856,973],{"class":904},[887,2858,2859],{"class":889,"line":1111},[887,2860,1338],{"class":904},[887,2862,2863],{"class":889,"line":1117},[887,2864,1343],{"class":904},[887,2866,2867],{"class":889,"line":1123},[887,2868,2690],{"emptyLinePlaceholder":2689},[887,2870,2871],{"class":889,"line":1134},[887,2872,1516],{"class":893},[887,2874,2875,2877,2879,2881,2883,2885,2887,2889,2891],{"class":889,"line":1140},[887,2876,1246],{"class":900},[887,2878,1523],{"class":914},[887,2880,1526],{"class":904},[887,2882,1457],{"class":900},[887,2884,1460],{"class":904},[887,2886,1463],{"class":900},[887,2888,1466],{"class":904},[887,2890,1463],{"class":900},[887,2892,1261],{"class":904},[887,2894,2895,2897,2899,2901,2903,2905,2907],{"class":889,"line":1153},[887,2896,1266],{"class":900},[887,2898,1545],{"class":900},[887,2900,1460],{"class":904},[887,2902,1463],{"class":900},[887,2904,1466],{"class":904},[887,2906,1463],{"class":900},[887,2908,931],{"class":904},[887,2910,2911,2913,2915,2917],{"class":889,"line":1164},[887,2912,1560],{"class":940},[887,2914,1563],{"class":904},[887,2916,964],{"class":940},[887,2918,944],{"class":904},[887,2920,2921,2923,2925,2927],{"class":889,"line":1175},[887,2922,1572],{"class":940},[887,2924,1575],{"class":904},[887,2926,1427],{"class":940},[887,2928,944],{"class":904},[887,2930,2931,2933,2935,2937],{"class":889,"line":1184},[887,2932,1584],{"class":940},[887,2934,1587],{"class":904},[887,2936,1417],{"class":940},[887,2938,944],{"class":904},[887,2940,2941,2943,2945,2947],{"class":889,"line":1189},[887,2942,1596],{"class":940},[887,2944,1575],{"class":904},[887,2946,1601],{"class":940},[887,2948,944],{"class":904},[887,2950,2951,2953,2955,2957],{"class":889,"line":1201},[887,2952,1608],{"class":940},[887,2954,1563],{"class":904},[887,2956,1613],{"class":940},[887,2958,944],{"class":904},[887,2960,2961,2963,2965,2967],{"class":889,"line":1206},[887,2962,1620],{"class":940},[887,2964,831],{"class":904},[887,2966,1484],{"class":940},[887,2968,944],{"class":904},[887,2970,2972,2974,2976,2978],{"class":889,"line":2971},31,[887,2973,1631],{"class":940},[887,2975,831],{"class":904},[887,2977,1101],{"class":940},[887,2979,944],{"class":904},[887,2981,2983],{"class":889,"line":2982},32,[887,2984,1338],{"class":904},[887,2986,2988],{"class":889,"line":2987},33,[887,2989,1343],{"class":904},[887,2991,2993],{"class":889,"line":2992},34,[887,2994,2690],{"emptyLinePlaceholder":2689},[887,2996,2998],{"class":889,"line":2997},35,[887,2999,3000],{"class":893},"\u002F\u002F OrderDispatched was the v0.1 data type. data.Money is quiet.Money now,\n",[887,3002,3004],{"class":889,"line":3003},36,[887,3005,3006],{"class":893},"\u002F\u002F and the recipient's first name, no longer a Recipient field, is data.\n",[887,3008,3010,3013,3016,3019],{"class":889,"line":3009},37,[887,3011,3012],{"class":900},"type",[887,3014,3015],{"class":923}," OrderDispatched",[887,3017,3018],{"class":900}," struct",[887,3020,1261],{"class":904},[887,3022,3024,3027,3029],{"class":889,"line":3023},38,[887,3025,3026],{"class":904},"    FirstName ",[887,3028,1463],{"class":900},[887,3030,3031],{"class":940},"      `json:\"first_name\"`\n",[887,3033,3035,3038,3040],{"class":889,"line":3034},39,[887,3036,3037],{"class":904},"    OrderID   ",[887,3039,1463],{"class":900},[887,3041,3042],{"class":940},"      `json:\"order_id\"`\n",[887,3044,3046,3049,3051],{"class":889,"line":3045},40,[887,3047,3048],{"class":904},"    Arrives   ",[887,3050,1463],{"class":900},[887,3052,3053],{"class":940},"      `json:\"arrives\"`\n",[887,3055,3057,3060,3062,3064,3066],{"class":889,"line":3056},41,[887,3058,3059],{"class":904},"    Subtotal  ",[887,3061,2221],{"class":923},[887,3063,526],{"class":904},[887,3065,2200],{"class":923},[887,3067,3068],{"class":940}," `json:\"subtotal\"`\n",[887,3070,3072,3075,3077,3079,3081],{"class":889,"line":3071},42,[887,3073,3074],{"class":904},"    Delivery  ",[887,3076,2221],{"class":923},[887,3078,526],{"class":904},[887,3080,2200],{"class":923},[887,3082,3083],{"class":940}," `json:\"delivery\"`\n",[887,3085,3087,3090,3092],{"class":889,"line":3086},43,[887,3088,3089],{"class":904},"    TrackURL  ",[887,3091,1463],{"class":900},[887,3093,3094],{"class":940},"      `json:\"track_url\"`\n",[887,3096,3098],{"class":889,"line":3097},44,[887,3099,1343],{"class":904},[887,3101,3103],{"class":889,"line":3102},45,[887,3104,2690],{"emptyLinePlaceholder":2689},[887,3106,3108,3111,3114,3117],{"class":889,"line":3107},46,[887,3109,3110],{"class":900},"const",[887,3112,3113],{"class":1195}," orderDispatchedSrc",[887,3115,3116],{"class":900}," =",[887,3118,3119],{"class":940}," `---\n",[887,3121,3123],{"class":889,"line":3122},47,[887,3124,3125],{"class":940},"template: order.dispatched\n",[887,3127,3129],{"class":889,"line":3128},48,[887,3130,3131],{"class":940},"profile: buyer\n",[887,3133,3135],{"class":889,"line":3134},49,[887,3136,3137],{"class":940},"subject: \"Order {{order_id}} is on its way\"\n",[887,3139,3141],{"class":889,"line":3140},50,[887,3142,3143],{"class":940},"preheader: \"Arriving {{arrives}}.\"\n",[887,3145,3147],{"class":889,"line":3146},51,[887,3148,3149],{"class":940},"note: Questions about your order? Reply to this email.\n",[887,3151,3153],{"class":889,"line":3152},52,[887,3154,1857],{"class":940},[887,3156,3158],{"class":889,"line":3157},53,[887,3159,2690],{"emptyLinePlaceholder":2689},[887,3161,3163],{"class":889,"line":3162},54,[887,3164,3165],{"class":940},"::statement{eyebrow=\"Order {{order_id}}\"}\n",[887,3167,3169],{"class":889,"line":3168},55,[887,3170,3171],{"class":940},"# Your box is on its way.\n",[887,3173,3175],{"class":889,"line":3174},56,[887,3176,2690],{"emptyLinePlaceholder":2689},[887,3178,3180],{"class":889,"line":3179},57,[887,3181,3182],{"class":940},"Hi {{first_name | there}}, it should arrive {{arrives}}.\n",[887,3184,3186],{"class":889,"line":3185},58,[887,3187,2690],{"emptyLinePlaceholder":2689},[887,3189,3191],{"class":889,"line":3190},59,[887,3192,3193],{"class":940},":button[Track delivery]{href=\"{{track_url}}\"}\n",[887,3195,3197],{"class":889,"line":3196},60,[887,3198,2658],{"class":940},[887,3200,3202],{"class":889,"line":3201},61,[887,3203,2690],{"emptyLinePlaceholder":2689},[887,3205,3207],{"class":889,"line":3206},62,[887,3208,3209],{"class":940},"::breakdown\n",[887,3211,3213],{"class":889,"line":3212},63,[887,3214,3215],{"class":940},"| Produce | {{subtotal}} |\n",[887,3217,3219],{"class":889,"line":3218},64,[887,3220,3221],{"class":940},"| --- | ---: |\n",[887,3223,3225],{"class":889,"line":3224},65,[887,3226,3227],{"class":940},"| Delivery | {{delivery}} |\n",[887,3229,3231],{"class":889,"line":3230},66,[887,3232,2658],{"class":940},[887,3234,3236],{"class":889,"line":3235},67,[887,3237,2690],{"emptyLinePlaceholder":2689},[887,3239,3241],{"class":889,"line":3240},68,[887,3242,3243],{"class":940},"::signoff\n",[887,3245,3247],{"class":889,"line":3246},69,[887,3248,2658],{"class":940},[887,3250,3252],{"class":889,"line":3251},70,[887,3253,3254],{"class":940},"`\n",[887,3256,3258],{"class":889,"line":3257},71,[887,3259,2690],{"emptyLinePlaceholder":2689},[887,3261,3263,3265,3267,3269,3271,3273,3275,3277,3279,3281,3283,3285,3287,3289],{"class":889,"line":3262},72,[887,3264,901],{"class":900},[887,3266,2078],{"class":904},[887,3268,908],{"class":900},[887,3270,911],{"class":904},[887,3272,743],{"class":914},[887,3274,1460],{"class":904},[887,3276,2089],{"class":923},[887,3278,2128],{"class":904},[887,3280,1678],{"class":914},[887,3282,2133],{"class":904},[887,3284,2095],{"class":940},[887,3286,2098],{"class":904},[887,3288,2101],{"class":900},[887,3290,2104],{"class":904},[887,3292,3294],{"class":889,"line":3293},73,[887,3295,2690],{"emptyLinePlaceholder":2689},[887,3297,3299],{"class":889,"line":3298},74,[887,3300,2458],{"class":893},[887,3302,3304],{"class":889,"line":3303},75,[887,3305,2463],{"class":893},[887,3307,3309,3311,3313,3315,3317,3319,3321,3323,3325,3327,3329,3331,3333,3335,3337,3339,3341,3343,3345,3347,3349,3351,3353,3355,3357,3359,3361,3363,3365,3367],{"class":889,"line":3308},76,[887,3310,1246],{"class":900},[887,3312,2470],{"class":914},[887,3314,1401],{"class":904},[887,3316,2349],{"class":2348},[887,3318,2352],{"class":923},[887,3320,526],{"class":904},[887,3322,2357],{"class":923},[887,3324,267],{"class":904},[887,3326,2485],{"class":2348},[887,3328,2488],{"class":900},[887,3330,1000],{"class":923},[887,3332,526],{"class":904},[887,3334,2447],{"class":923},[887,3336,267],{"class":904},[887,3338,2499],{"class":2348},[887,3340,267],{"class":904},[887,3342,2504],{"class":2348},[887,3344,2365],{"class":923},[887,3346,526],{"class":904},[887,3348,2268],{"class":923},[887,3350,267],{"class":904},[887,3352,2515],{"class":2348},[887,3354,2518],{"class":900},[887,3356,1401],{"class":904},[887,3358,1463],{"class":900},[887,3360,2525],{"class":904},[887,3362,2383],{"class":900},[887,3364,2525],{"class":904},[887,3366,2388],{"class":900},[887,3368,1261],{"class":904},[887,3370,3372,3374],{"class":889,"line":3371},77,[887,3373,2538],{"class":900},[887,3375,2541],{"class":904},[887,3377,3379,3381,3383],{"class":889,"line":3378},78,[887,3380,2546],{"class":900},[887,3382,2549],{"class":940},[887,3384,1905],{"class":904},[887,3386,3388,3390,3392],{"class":889,"line":3387},79,[887,3389,2556],{"class":900},[887,3391,2559],{"class":914},[887,3393,2562],{"class":904},[887,3395,3397,3399],{"class":889,"line":3396},80,[887,3398,2567],{"class":900},[887,3400,2570],{"class":1195},[887,3402,3404],{"class":889,"line":3403},81,[887,3405,2575],{"class":904},[887,3407,3409,3411,3413,3415],{"class":889,"line":3408},82,[887,3410,2396],{"class":900},[887,3412,2582],{"class":904},[887,3414,2438],{"class":914},[887,3416,2441],{"class":904},[887,3418,3420,3422],{"class":889,"line":3419},83,[887,3421,2591],{"class":900},[887,3423,1905],{"class":904},[887,3425,3427,3429,3431,3433],{"class":889,"line":3426},84,[887,3428,2396],{"class":900},[887,3430,2600],{"class":904},[887,3432,2438],{"class":914},[887,3434,2441],{"class":904},[887,3436,3438],{"class":889,"line":3437},85,[887,3439,1338],{"class":904},[887,3441,3443],{"class":889,"line":3442},86,[887,3444,1343],{"class":904},[887,3446,3448],{"class":889,"line":3447},87,[887,3449,2690],{"emptyLinePlaceholder":2689},[887,3451,3453],{"class":889,"line":3452},88,[887,3454,3455],{"class":893},"\u002F\u002F printer stands in for an lttr.SMTP sender.\n",[887,3457,3459,3461,3464],{"class":889,"line":3458},89,[887,3460,3012],{"class":900},[887,3462,3463],{"class":923}," printer",[887,3465,3466],{"class":900}," string\n",[887,3468,3470],{"class":889,"line":3469},90,[887,3471,2690],{"emptyLinePlaceholder":2689},[887,3473,3475,3477,3479,3482,3485,3487,3489,3491,3494,3496,3498,3500,3502,3504,3506,3508,3510,3512,3514,3516],{"class":889,"line":3474},91,[887,3476,1246],{"class":900},[887,3478,421],{"class":904},[887,3480,3481],{"class":2348},"p ",[887,3483,3484],{"class":923},"printer",[887,3486,2525],{"class":904},[887,3488,2438],{"class":914},[887,3490,1401],{"class":904},[887,3492,3493],{"class":2348},"_",[887,3495,2352],{"class":923},[887,3497,526],{"class":904},[887,3499,2357],{"class":923},[887,3501,267],{"class":904},[887,3503,2485],{"class":2348},[887,3505,2488],{"class":900},[887,3507,1000],{"class":923},[887,3509,526],{"class":904},[887,3511,2447],{"class":923},[887,3513,2525],{"class":904},[887,3515,2388],{"class":900},[887,3517,1261],{"class":904},[887,3519,3521,3524,3527,3529,3532,3536,3538,3540,3543,3545,3547,3550,3552],{"class":889,"line":3520},92,[887,3522,3523],{"class":904},"    fmt.",[887,3525,3526],{"class":914},"Printf",[887,3528,1401],{"class":904},[887,3530,3531],{"class":940},"\"",[887,3533,3535],{"class":3534},"sFaxo","%s",[887,3537,831],{"class":940},[887,3539,3535],{"class":3534},[887,3541,3542],{"class":940}," → ",[887,3544,3535],{"class":3534},[887,3546,831],{"class":940},[887,3548,3549],{"class":3534},"%s\\n\\n%s",[887,3551,3531],{"class":940},[887,3553,3554],{"class":904},", p, m.From.Address, m.To.Address, m.Subject, m.Text)\n",[887,3556,3558,3560],{"class":889,"line":3557},93,[887,3559,1266],{"class":900},[887,3561,2570],{"class":1195},[887,3563,3565],{"class":889,"line":3564},94,[887,3566,1343],{"class":904},[887,3568,3570],{"class":889,"line":3569},95,[887,3571,2690],{"emptyLinePlaceholder":2689},[887,3573,3575,3577,3580],{"class":889,"line":3574},96,[887,3576,1246],{"class":900},[887,3578,3579],{"class":914}," main",[887,3581,3582],{"class":904},"() {\n",[887,3584,3586,3589,3591,3593,3595,3597,3599,3601,3603],{"class":889,"line":3585},97,[887,3587,3588],{"class":904},"    r, err ",[887,3590,1393],{"class":900},[887,3592,911],{"class":904},[887,3594,1398],{"class":914},[887,3596,1401],{"class":904},[887,3598,1000],{"class":923},[887,3600,526],{"class":904},[887,3602,1369],{"class":923},[887,3604,931],{"class":904},[887,3606,3608,3611,3613],{"class":889,"line":3607},98,[887,3609,3610],{"class":904},"        Kit:       quiet.",[887,3612,1678],{"class":914},[887,3614,1681],{"class":904},[887,3616,3618,3621,3623],{"class":889,"line":3617},99,[887,3619,3620],{"class":904},"        Profiles:  ",[887,3622,1689],{"class":914},[887,3624,1681],{"class":904},[887,3626,3628,3631,3633],{"class":889,"line":3627},100,[887,3629,3630],{"class":904},"        AssetBase: ",[887,3632,1437],{"class":940},[887,3634,944],{"class":904},[887,3636,3638,3641,3643],{"class":889,"line":3637},101,[887,3639,3640],{"class":904},"        Vars:      ",[887,3642,1708],{"class":914},[887,3644,1681],{"class":904},[887,3646,3648],{"class":889,"line":3647},102,[887,3649,3650],{"class":904},"    })\n",[887,3652,3654,3657,3660,3663,3666],{"class":889,"line":3653},103,[887,3655,3656],{"class":900},"    if",[887,3658,3659],{"class":904}," err ",[887,3661,3662],{"class":900},"!=",[887,3664,3665],{"class":1195}," nil",[887,3667,1261],{"class":904},[887,3669,3671,3674,3677],{"class":889,"line":3670},104,[887,3672,3673],{"class":904},"        log.",[887,3675,3676],{"class":914},"Fatal",[887,3678,3679],{"class":904},"(err)\n",[887,3681,3683],{"class":889,"line":3682},105,[887,3684,1338],{"class":904},[887,3686,3688,3691,3693,3696,3699,3702,3704,3706,3708,3711,3714,3717,3720,3723,3725],{"class":889,"line":3687},106,[887,3689,3690],{"class":904},"    m, err ",[887,3692,1393],{"class":900},[887,3694,3695],{"class":904}," orderDispatched.",[887,3697,3698],{"class":914},"Render",[887,3700,3701],{"class":904},"(r, ",[887,3703,1000],{"class":923},[887,3705,526],{"class":904},[887,3707,641],{"class":923},[887,3709,3710],{"class":904},"{Address: ",[887,3712,3713],{"class":940},"\"ana@example.com\"",[887,3715,3716],{"class":904},", Name: ",[887,3718,3719],{"class":940},"\"Ana Reyes\"",[887,3721,3722],{"class":904},"}, ",[887,3724,2089],{"class":923},[887,3726,931],{"class":904},[887,3728,3730,3733,3736],{"class":889,"line":3729},107,[887,3731,3732],{"class":904},"        FirstName: ",[887,3734,3735],{"class":940},"\"Ana\"",[887,3737,944],{"class":904},[887,3739,3741,3744,3747],{"class":889,"line":3740},108,[887,3742,3743],{"class":904},"        OrderID:   ",[887,3745,3746],{"class":940},"\"LM-3107\"",[887,3748,944],{"class":904},[887,3750,3752,3755,3758],{"class":889,"line":3751},109,[887,3753,3754],{"class":904},"        Arrives:   ",[887,3756,3757],{"class":940},"\"on Thursday\"",[887,3759,944],{"class":904},[887,3761,3763,3766,3768,3770,3772,3774,3776,3778,3780],{"class":889,"line":3762},110,[887,3764,3765],{"class":904},"        Subtotal:  ",[887,3767,2221],{"class":923},[887,3769,526],{"class":904},[887,3771,2200],{"class":923},[887,3773,2203],{"class":904},[887,3775,2206],{"class":1195},[887,3777,2232],{"class":904},[887,3779,2235],{"class":940},[887,3781,973],{"class":904},[887,3783,3785,3788,3790,3792,3794,3796,3799,3801,3803],{"class":889,"line":3784},111,[887,3786,3787],{"class":904},"        Delivery:  ",[887,3789,2221],{"class":923},[887,3791,526],{"class":904},[887,3793,2200],{"class":923},[887,3795,2203],{"class":904},[887,3797,3798],{"class":1195},"295",[887,3800,2232],{"class":904},[887,3802,2235],{"class":940},[887,3804,973],{"class":904},[887,3806,3808,3811,3814],{"class":889,"line":3807},112,[887,3809,3810],{"class":904},"        TrackURL:  ",[887,3812,3813],{"class":940},"\"https:\u002F\u002Floam.example\u002Forders\u002FLM-3107\"",[887,3815,944],{"class":904},[887,3817,3819],{"class":889,"line":3818},113,[887,3820,3650],{"class":904},[887,3822,3824,3826,3828,3830,3832],{"class":889,"line":3823},114,[887,3825,3656],{"class":900},[887,3827,3659],{"class":904},[887,3829,3662],{"class":900},[887,3831,3665],{"class":1195},[887,3833,1261],{"class":904},[887,3835,3837,3839,3841],{"class":889,"line":3836},115,[887,3838,3673],{"class":904},[887,3840,3676],{"class":914},[887,3842,3679],{"class":904},[887,3844,3846],{"class":889,"line":3845},116,[887,3847,1338],{"class":904},[887,3849,3851,3854,3856,3858,3860,3862,3864,3866,3869,3872,3875],{"class":889,"line":3850},117,[887,3852,3853],{"class":904},"    noOne ",[887,3855,1393],{"class":900},[887,3857,2518],{"class":900},[887,3859,1401],{"class":904},[887,3861,1463],{"class":900},[887,3863,2525],{"class":904},[887,3865,2383],{"class":900},[887,3867,3868],{"class":904}," { ",[887,3870,3871],{"class":900},"return",[887,3873,3874],{"class":1195}," false",[887,3876,3877],{"class":904}," }\n",[887,3879,3881,3883,3885,3887,3889,3892,3895,3898,3900,3902,3905,3907,3909,3911,3914,3917,3919,3921],{"class":889,"line":3880},118,[887,3882,3656],{"class":900},[887,3884,3659],{"class":904},[887,3886,1393],{"class":900},[887,3888,2470],{"class":914},[887,3890,3891],{"class":904},"(context.",[887,3893,3894],{"class":914},"Background",[887,3896,3897],{"class":904},"(), m, ",[887,3899,3484],{"class":914},[887,3901,1401],{"class":904},[887,3903,3904],{"class":940},"\"transactional\"",[887,3906,431],{"class":904},[887,3908,3484],{"class":914},[887,3910,1401],{"class":904},[887,3912,3913],{"class":940},"\"marketing\"",[887,3915,3916],{"class":904},"), noOne); err ",[887,3918,3662],{"class":900},[887,3920,3665],{"class":1195},[887,3922,1261],{"class":904},[887,3924,3926,3928,3930],{"class":889,"line":3925},119,[887,3927,3673],{"class":904},[887,3929,3676],{"class":914},[887,3931,3679],{"class":904},[887,3933,3935],{"class":889,"line":3934},120,[887,3936,1338],{"class":904},[887,3938,3940],{"class":889,"line":3939},121,[887,3941,1343],{"class":904},[878,3943,3949],{"className":3944,"code":3946,"filename":3947,"language":3948,"meta":883},[3945],"language-text","transactional: orders@loam.example → ana@example.com: Order LM-3107 is on its way\n\nLOAM\n\nORDER LM-3107\n\nYour box is on its way.\n\nHi Ana, it should arrive on Thursday.\n\nTrack delivery:\nhttps:\u002F\u002Floam.example\u002Forders\u002FLM-3107\n\nProduce ......................... $42.97\nDelivery ........................ $2.95\n\nThanks,\nThe Loam team\n\nQuestions about your order? Reply to this email.\n\n--\nLoam · 12 Mill Lane, Alder Valley\nNotification settings: https:\u002F\u002Floam.example\u002Fpreferences\n","Output","text",[228,3950,3946],{"__ignoreMap":883},[211,3952,3953,3954,3956,3957,3959,3960,267,3962,523,3965,3967],{},"The footer's first line is the template's ",[228,3955,508],{},". The rest comes from Quiet's service footer for the ",[228,3958,1215],{}," profile and the ",[228,3961,348],{},[228,3963,3964],{},"prefs",[228,3966,608],{}," vars.",[237,3969,3971],{"id":3970},"update-tools-and-tests","Update tools and tests",[1979,3973,3974,4013,4034,4061,4092],{},[1982,3975,3976,1987,3979,267,3982,267,3985,267,3988,523,3991,3994,3995,3998,3999,4001,4002,4005,4006,4009,4010,526],{},[215,3977,3978],{},"CLI.",[228,3980,3981],{},"lttr lint",[228,3983,3984],{},"tags",[228,3986,3987],{},"render",[228,3989,3990],{},"preview",[228,3992,3993],{},"serve"," take ",[228,3996,3997],{},"-kit quiet|plain|\u003Cdir>",", with ",[228,4000,2221],{}," the default. ",[228,4003,4004],{},"lttr kit init"," starts a kit from Plain, and ",[228,4007,4008],{},"lttr kit check"," loads a kit, renders its samples and lints the HTML. See ",[220,4011,4012],{"href":140},"CLI",[1982,4014,4015,1987,4018,4021,4022,523,4024,4027,4028,859,4030,4033],{},[215,4016,4017],{},"Preview manifest.",[228,4019,4020],{},"manifest.json"," drops ",[228,4023,1872],{},[228,4025,4026],{},"stream"," and adds ",[228,4029,1942],{},[228,4031,4032],{},"modules"," now lists the top-level components.",[1982,4035,4036,4039,4040,831,4043,4046,4047,4050,4051,4053,4054,4057,4058,526],{},[215,4037,4038],{},"Lint."," The structural HTML lint is the public package ",[228,4041,4042],{},"github.com\u002Fsulv-io\u002Flttr\u002Flint",[228,4044,4045],{},"lint.Lint"," for one document, and ",[228,4048,4049],{},"lint.Check"," for every sample of an ",[228,4052,858],{},". It requires the ",[228,4055,4056],{},"color-scheme"," meta only for kits with ",[228,4059,4060],{},"dark: true",[1982,4062,4063,1987,4066,4069,4070,523,4073,4076,4077,642,4080,4083,4084,4086,4087,4089,4090,526],{},[215,4064,4065],{},"Goldens.",[228,4067,4068],{},"lint.Golden"," compares each sample of a set with ",[228,4071,4072],{},"\u003Cdir>\u002F\u003Ctemplate name>.html",[228,4074,4075],{},".txt",". Quiet's goldens dropped their number prefix: ",[228,4078,4079],{},"testdata\u002Fgolden\u002F01-order.out_for_delivery.html",[228,4081,4082],{},"testdata\u002Fgolden\u002Forder.out_for_delivery.html",", with the same bytes. ",[228,4085,830],{}," exposes its nine templates as ",[228,4088,854],{},". See ",[220,4091,159],{"href":160},[1982,4093,4094,1987,4097,642,4100,4089,4103,526],{},[215,4095,4096],{},"Version.",[228,4098,4099],{},"lttr.Version",[228,4101,4102],{},"\"v0.2.0\"",[220,4104,185],{"href":186},[4106,4107,4108],"style",{},"html pre.shiki code .sBq4M, html code.shiki .sBq4M{--shiki-light:#66707B;--shiki-default:#66707B;--shiki-dark:#6A737D}html pre.shiki code .s1Q0q, html code.shiki .s1Q0q{--shiki-light:#A0111F;--shiki-default:#A0111F;--shiki-dark:#F97583}html pre.shiki code .sihDN, html code.shiki .sihDN{--shiki-light:#0E1116;--shiki-default:#0E1116;--shiki-dark:#E1E4E8}html pre.shiki code .sPmw6, html code.shiki .sPmw6{--shiki-light:#622CBC;--shiki-default:#622CBC;--shiki-dark:#B392F0}html pre.shiki code .sSlKG, html code.shiki .sSlKG{--shiki-light:#702C00;--shiki-default:#702C00;--shiki-dark:#B392F0}html pre.shiki code .sRBGO, html code.shiki .sRBGO{--shiki-light:#032563;--shiki-default:#032563;--shiki-dark:#9ECBFF}html pre.shiki code .sTl1q, html code.shiki .sTl1q{--shiki-light:#023B95;--shiki-default:#023B95;--shiki-dark:#79B8FF}html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}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 .s71pN, html code.shiki .s71pN{--shiki-light:#024C1A;--shiki-default:#024C1A;--shiki-dark:#85E89D}html pre.shiki code .s-BBy, html code.shiki .s-BBy{--shiki-light:#702C00;--shiki-default:#702C00;--shiki-dark:#FFAB70}html pre.shiki code .sFaxo, html code.shiki .sFaxo{--shiki-light:#A0111F;--shiki-default:#A0111F;--shiki-dark:#79B8FF}",{"title":883,"searchDepth":897,"depth":897,"links":4110},[4111,4112,4113,4114,4115,4116,4117,4118,4119],{"id":239,"depth":897,"text":240},{"id":872,"depth":897,"text":873},{"id":1362,"depth":897,"text":1363},{"id":1831,"depth":897,"text":1832},{"id":2052,"depth":897,"text":2053},{"id":2259,"depth":897,"text":2260},{"id":2626,"depth":897,"text":2627},{"id":2664,"depth":897,"text":2665},{"id":3970,"depth":897,"text":3971},"What v0.2.0 removed and renamed, what replaces families, themes, streams and placeholders, and a v0.1 program ported step by step.","md",null,{},{"icon":183},{"title":180,"description":4120},"9mh6AzSfPhwWK4JJRXY_44yawdnr4qahbCxlh9wnFps",[4128,4130],{"title":175,"path":176,"stem":177,"description":4129,"icon":178,"children":-1},"The design lttr started with, as a kit — its 24 components, spacing rules, brand vars and profile-driven footers, and Loam, the nine example emails built on it.",{"title":185,"path":186,"stem":187,"description":4131,"icon":188,"children":-1},"How a commit on main becomes a lttr version that consumers can resolve, how to cut the first tag, v0.2.0, how to rehearse with a dry run, and the pre-1.0 policy.",1790467465135]