PageSourceSearch

https://ontariocanna.ca/seo-fallback.js

js ontariocanna.ca collected 2026-10-08 06:15:49 UTC 55,642 bytes, 511 lines download raw bytes

1/**
2 * SEO Fallback Content Generator
3 * Injects static, crawlable HTML into #root before React loads so that
4 * crawlers and LLMs see real page content in the first HTML response.
5 * React replaces this content once hydrated — this is crawler-only.
6 */
7(function () {
8  var p = window.location.pathname.replace(/\/+$/, '') || '/';
9  var root = document.getElementById('seo-fallback');
10  if (!root || p === '/') return; // homepage already has inline content
11
12  function tc(s) {
13    return s.split('-').map(function (w) {
14      return w.charAt(0).toUpperCase() + w.slice(1);
15    }).join(' ');
16  }
17
18  function crumbs(arr) {
19    return '<nav aria-label="Breadcrumb" style="font-size:.85rem;margin-bottom:1rem">' +
20      arr.map(function (c, i) {
21        return (i > 0 ? ' › ' : '') + '<a href="' + c.u + '" style="color:hsl(155,50%,60%)">' + c.n + '</a>';
22      }).join('') + '</nav>';
23  }
24
25  function faq(items) {
26    var h = '<section style="margin-top:2rem"><h2>Frequently Asked Questions</h2>';
27    items.forEach(function (f) {
28      h += '<h3>' + f.q + '</h3><p>' + f.a + '</p>';
29    });
30    return h + '</section>';
31  }
32
33  function links(title, items) {
34    var h = '<section style="margin-top:2rem"><h2>' + title + '</h2><ul>';
35    items.forEach(function (l) {
36      h += '<li><a href="' + l.u + '" style="color:hsl(155,50%,60%)">' + l.n + '</a> — ' + l.d + '</li>';
37    });
38    return h + '</ul></section>';
39  }
40
41  var CITIES = ['toronto','ottawa','hamilton','mississauga','brampton','london','kingston','windsor','kitchener','oakville','burlington','barrie','guelph','oshawa','sudbury','thunder-bay','niagara-falls','pickering','ajax','whitby'];
42  var CATS = ['indica','sativa','hybrid','cbd','edibles','concentrates'];
43
44  function cityLinks() {
45    return links('Popular Cities', CITIES.slice(0, 8).map(function (c) {
46      return { u: '/city/' + c, n: tc(c), d: 'Cannabis dispensaries in ' + tc(c) + ', Ontario' };
47    }));
48  }
49
50  function catLinks() {
51    return links('Browse by Category', CATS.map(function (c) {
52      return { u: '/category/' + c, n: tc(c) + ' Strains', d: tc(c) + ' cannabis at Ontario dispensaries' };
53    }));
54  }
55
56  function payLinks() {
57    return links('Payment Methods', [
58      { u: '/interac-etransfer', n: 'Interac e-Transfer', d: 'Fast, secure, and widely accepted' },
59      { u: '/crypto-payments', n: 'Bitcoin (BTC)', d: 'Private and decentralized' },
60      { u: '/crypto-payments', n: 'Ethereum (ETH)', d: 'Fast transactions with low fees' },
61      { u: '/crypto-payments', n: 'Tether (USDT)', d: 'Stablecoin pegged to the US dollar' }
62    ]);
63  }
64
65  function learnLinks() {
66    return links('Learn More', [
67      { u: '/ontario-cannabis-guide', n: 'Ontario Cannabis Guide', d: 'Everything you need to know about cannabis in Ontario' },
68      { u: '/buy-cannabis-online-ontario', n: 'How to Buy Cannabis Online', d: 'Step-by-step ordering guide' },
69      { u: '/weed-delivery-ontario', n: 'Weed Delivery Guide', d: 'How cannabis delivery works in Ontario' },
70      { u: '/best-cannabis-deals-ontario', n: 'Best Cannabis Deals', d: 'Current promotions and discounts' },
71      { u: '/blog', n: 'Cannabis Blog', d: 'Guides, strain reviews, and Ontario cannabis news' }
72    ]);
73  }
74
75  var html = '';
76
77  // ---- Dispensary pages: /dispensary/:slug ----
78  if (p.indexOf('/dispensary/') === 0) {
79    var dSlug = p.split('/dispensary/')[1];
80    var dName = tc(dSlug);
81    var dCity = 'Ontario';
82    var knownCities = ['toronto','ottawa','hamilton','mississauga','brampton','london','kingston','windsor','kitchener','oakville','burlington','barrie','guelph','oshawa','sudbury','thunder-bay','niagara-falls','pickering','ajax','whitby','markham','vaughan','richmond-hill','newmarket','aurora','cambridge','st-catharines','brantford','scarborough','etobicoke','north-york','peterborough','sault-ste-marie','north-bay','cobourg','waterloo'];
83    knownCities.forEach(function (c) { if (dSlug.indexOf(c) > -1) dCity = tc(c); });
84    html = crumbs([
85      { u: '/', n: 'Home' }, { u: '/dispensaries', n: 'Dispensaries' }, { u: p, n: dName }
86    ]);
87    html += '<h1>' + dName + ' — Licensed Cannabis Dispensary in ' + dCity + ', Ontario</h1>';
88    html += '<p>' + dName + ' is a licensed cannabis dispensary located in ' + dCity + ', Ontario, offering a wide selection of cannabis products for adult consumers aged 19 and older. As an AGCO-licensed retailer, ' + dName + ' provides safe, legal access to Indica, Sativa, and Hybrid flower strains, edibles, concentrates, CBD products, vape cartridges, pre-rolls, and cannabis accessories. All products are lab-tested, legally sourced from licensed producers, and compliant with Ontario cannabis regulations. Whether you are a first-time buyer or an experienced consumer, ' + dName + ' in ' + dCity + ' is your trusted destination for quality cannabis.</p>';
89    html += '<h2>About ' + dName + '</h2>';
90    html += '<p>' + dName + ' operates as part of Ontario\'s regulated cannabis retail market under a license issued by the Alcohol and Gaming Commission of Ontario (AGCO). The dispensary is committed to providing a welcoming, educational, and safe environment for all adult consumers in ' + dCity + '. Staff at ' + dName + ' are knowledgeable about cannabis strains, cannabinoid profiles (THC and CBD), terpenes, consumption methods, and dosing guidelines. They can help you navigate the menu and recommend products based on your experience level, desired effects, and budget. ' + dName + ' takes pride in offering a curated selection of premium cannabis products at competitive prices, with regular deals and promotions for ' + dCity + ' customers.</p>';
91    html += '<h2>Products and Menu Categories at ' + dName + '</h2>';
92    html += '<p>' + dName + ' carries a diverse menu of cannabis products organized by category. Flower strains include popular Indica varieties like Pink Kush and Death Bubba for relaxation, Sativa strains like Jack Herer and Sour Diesel for daytime energy, and Hybrid strains that offer balanced effects. The dispensary also stocks pre-rolls for convenience, edibles including gummies, chocolates, and baked goods, concentrates such as shatter, live resin, and hash for experienced users, vape cartridges and disposables for discreet consumption, CBD oils, capsules, and topicals for therapeutic use without intoxication, and a selection of cannabis accessories. Product availability and pricing at ' + dName + ' may vary, so check the current menu for the latest selections and deals.</p>';
93    html += '<h2>Payment Methods at ' + dName + '</h2>';
94    html += '<p>' + dName + ' accepts a variety of payment methods to make purchasing cannabis convenient for all customers. Interac e-Transfer is the most widely accepted payment method, offering fast and secure transactions directly from your Canadian bank account — simply send a payment via your online or mobile banking and the dispensary processes your order instantly. ' + dName + ' may also accept cryptocurrency, including Bitcoin (BTC), Ethereum (ETH), and Tether (USDT), providing a private and decentralized payment option for customers who prefer not to use traditional banking. Cash and debit cards are typically accepted for in-store purchases. For online orders, Interac e-Transfer and crypto are the most common payment methods. Check with ' + dName + ' directly to confirm their current accepted payment methods.</p>';
95    html += '<h2>Location — ' + dName + ' in ' + dCity + ', Ontario</h2>';
96    html += '<p>' + dName + ' is conveniently located in ' + dCity + ', Ontario, serving both local residents and visitors to the area. ' + dCity + ' is part of the greater Ontario cannabis market, where consumers have access to a growing number of licensed dispensaries since legalization in 2018. ' + dName + ' serves the ' + dCity + ' community with in-store shopping, online ordering, and in many cases delivery or curbside pickup. The dispensary is easily accessible by car or public transit. Operating hours vary, so it is recommended to check the dispensary\'s website or call ahead before visiting. A valid government-issued photo ID proving you are 19 or older is required for all purchases at ' + dName + '.</p>';
97
98    html += '<h2>Age and Legal Requirements</h2>';
99    html += '<p>To purchase cannabis at ' + dName + ' in ' + dCity + ', you must be 19 years of age or older. This is the legal age for cannabis purchase, possession, and consumption in Ontario, as regulated by the provincial and federal government. Valid government-issued photo ID is required at the time of purchase — accepted forms include an Ontario driver\'s license, a Canadian passport, an Ontario Photo Card, or a military ID. Cannabis purchased at ' + dName + ' is for personal use only and must not be resold or provided to minors. Public consumption of cannabis 
99is subject to the same restrictions as tobacco under Ontario law. For more information, read our <a href="/ontario-cannabis-guide" style="color:hsl(155,50%,60%)">Ontario Cannabis Guide</a>.</p>';
100    html += '<h2>Why Choose ' + dName + '?</h2>';
101    html += '<p>' + dName + ' is a trusted choice for cannabis consumers in ' + dCity + ' and across Ontario. As a licensed retailer, the dispensary guarantees that all products are legally sourced from licensed producers, lab-tested for potency and contaminants, and fully compliant with Ontario cannabis regulations. The knowledgeable staff, diverse product selection, competitive pricing, and convenient payment options make ' + dName + ' a reliable destination for both medical and recreational cannabis consumers. Whether you are looking for a specific Indica strain to help with sleep, a Sativa for daytime creativity, CBD products for therapeutic benefits, or edibles for a discreet experience, ' + dName + ' provides a professional, welcoming, and educational dispensary experience in ' + dCity + '.</p>';
102
103    html += '<h2>Nearby Cities and Dispensaries</h2>';
104    html += '<p>If you are in the ' + dCity + ' area, you may also want to explore dispensaries in nearby Ontario cities. OntarioCanna\'s directory covers dispensaries across the province, making it easy to find licensed retailers wherever you are. Browse our <a href="/cities" style="color:hsl(155,50%,60%)">cities directory</a> for a full list, or check out some popular cities below.</p>';
105    html += faq([
106      { q: 'Is ' + dName + ' a licensed cannabis dispensary?', a: 'Yes, ' + dName + ' is an AGCO-licensed cannabis retailer operating legally in ' + dCity + ', Ontario. All products are sourced from licensed producers and lab-tested for quality, potency, and safety.' },
107      { q: 'What do I need to bring to ' + dName + '?', a: 'You must bring a valid government-issued photo ID proving you are 19 or older. Accepted forms of ID include an Ontario driver\'s license, Canadian passport, Ontario Photo Card, or military ID.' },
108      { q: 'Does ' + dName + ' accept Interac e-Transfer and crypto?', a: 'Most licensed dispensaries in Ontario, including ' + dName + ', accept Interac e-Transfer, Bitcoin (BTC), Ethereum (ETH), and Tether (USDT). Check with ' + dName + ' directly for their current accepted payment methods.' },
109      { q: 'Can I order online from ' + dName + ' in ' + dCity + '?', a: 'Many Ontario dispensaries offer online ordering with delivery or curbside pickup. Visit ' + dName + '\'s website or check their OntarioCanna listing to see if online ordering is available in ' + dCity + '.' },
110      { q: 'What products does ' + dName + ' carry?', a: dName + ' typically carries Indica, Sativa, and Hybrid flower strains, pre-rolls, edibles (gummies, chocolates), concentrates (shatter, live resin, hash), vape cartridges, CBD oils and topicals, and accessories. Product availability may vary.' },
111      { q: 'Where is ' + dName + ' located?', a: dName + ' is located in ' + dCity + ', Ontario, Canada. Check the dispensary\'s website or OntarioCanna listing for the exact address, hours, and directions.' },
112      { q: 'What is the legal age to buy cannabis at ' + dName + '?', a: 'The legal age to purchase, possess, or consume cannabis in Ontario is 19. You must present valid government-issued photo ID at ' + dName + ' to verify your age.' },
113      { q: 'Does ' + dName + ' offer delivery in ' + dCity + '?', a: 'Many dispensaries in ' + dCity + ' offer same-day delivery for online orders. Check with ' + dName + ' directly to confirm their delivery zone and minimum order requirements.' }
114    ]);
115    html += cityLinks();
116    html += catLinks();
117    html += payLinks();
118    html += learnLinks();
119  }
120
121  // ---- City pages: /city/:slug ----
122  else if (p.indexOf('/city/') === 0) {
123    var cSlug = p.split('/city/')[1];
124    var cName = tc(cSlug);
125    html = crumbs([
126      { u: '/', n: 'Home' }, { u: '/cities', n: 'Cities' }, { u: p, n: cName }
127    ]);
128    html += '<h1>Cannabis Dispensaries in ' + cName + ', Ontario</h1>';
129    html += '<p>' + cName + ' is home to several licensed cannabis dispensaries serving adult consumers aged 19 and older. OntarioCanna\'s directory helps you find verified, AGCO-licensed cannabis retailers in ' + cName + ' with details on menus, strains, deals, hours, and accepted payment methods. Whether you\'re a local resident or visiting ' + cName + ', our directory makes it easy to discover legal cannabis stores near you.</p>';
130    html += '<h2>
130About Cannabis in ' + cName + '</h2>';
131    html += '<p>Since the legalization of recreational cannabis in Canada in 2018, ' + cName + ' has seen a growing number of licensed cannabis dispensaries open to serve the community. These dispensaries operate under licenses issued by the Alcohol and Gaming Commission of Ontario (AGCO) and are subject to strict regulations regarding product sourcing, labeling, and sales. All cannabis sold at licensed dispensaries in ' + cName + ' is legally sourced from licensed producers and lab-tested for quality, potency, and safety. Consumers must be 19 or older to purchase, possess, or consume cannabis in Ontario.</p>';
132    html += '<h2>Licensed Dispensaries in ' + cName + '</h2>';
133    html += '<p>' + cName + ' offers a variety of licensed cannabis dispensaries, each with its own unique selection of products and atmosphere. From boutique stores specializing in craft strains to larger retailers with extensive menus, consumers in ' + cName + ' have access to a wide range of cannabis products. Most dispensaries carry Indica, Sativa, and Hybrid flower strains, pre-rolls, edibles such as gummies and chocolates, concentrates including shatter and live resin, vape cartridges, CBD oils and topicals, and cannabis accessories. Use our directory to browse dispensaries in ' + cName + ' and find the one that best suits your needs.</p>';
134    html += '<h2>Popular Cannabis Strains in ' + cName + '</h2>';
135    html += '<p>Dispensaries in ' + cName + ' carry a diverse selection of cannabis strains to suit every preference. Indica strains like Pink Kush, Death Bubba, and Northern Lights are popular for their relaxing, body-heavy effects ideal for evening use. Sativa strains such as Jack Herer, Sour Diesel, and Green Crack provide uplifting, energizing effects suited for daytime activities. Hybrid strains offer a balance of Indica and Sativa effects, making them versatile choices for any time of day. CBD products, including oils, capsules, and topicals, are also widely available for consumers seeking the therapeutic benefits of cannabis without the intoxicating effects of THC.</p>';
136    html += '<h2>Payment Methods at ' + cName + ' Dispensaries</h2>';
137    html += '<p>Most licensed dispensaries in ' + cName + ' accept Interac e-Transfer, which is fast, secure, and widely available through Canadian bank accounts. Many dispensaries also accept cryptocurrency, including Bitcoin (BTC), Ethereum (ETH), and Tether (USDT), offering a private and decentralized payment option. Cash and debit cards are typically accepted in-store. Some dispensaries offer online ordering with Interac e-Transfer or crypto payment, followed by delivery or curbside pickup.</p>';
138    html += '<h2>Cannabis Delivery in ' + cName + '</h2>';
139    html += '<p>Many dispensaries in ' + cName + ' offer cannabis delivery services, allowing you to order online and have products delivered to your door. Delivery is available to adults 19 and older with valid government-issued photo ID. Same-day delivery is often available within ' + cName + ' and surrounding areas. Check individual dispensary listings for delivery zones, minimum order requirements, and delivery fees.</p>';
140    html += faq([
141      { q: 'How many licensed dispensaries are in ' + cName + '?', a: cName + ' has several licensed cannabis dispensaries. Use OntarioCanna\'s directory to browse all verified dispensaries in ' + cName + ' with menus, deals, and reviews.' },
142      { q: 'What is the legal age to buy cannabis in ' + cName + '?', a: 'The legal age to purchase, possess, or consume cannabis in ' + cName + ' and all of Ontario is 19. Valid government-issued photo ID is required at all dispensaries.' },
143      { q: 'Do dispensaries in ' + cName + ' accept Interac e-Transfer and crypto?', a: 'Yes, most licensed dispensaries in ' + cName + ' accept Interac e-Transfer, Bitcoin (BTC), Ethereum (ETH), and Tether (USDT) as payment methods.' },
144      { q: 'Can I get cannabis delivered in ' + cName + '?', a: 'Yes, many dispensaries in ' + cName + ' offer online ordering with same-day delivery. You must be 19 or older and present valid photo ID upon delivery.' },
145      { q: 'Are the dispensaries in ' + cName + ' licensed?', a: 'Yes, all dispensaries listed on OntarioCanna for ' + cName + ' are AGCO-licensed and legally operating in Ontario. Products are sourced from licensed producers and lab-tested.' },
146      { q: 'What strains are available at ' + cName + ' dispensaries?', a: 'Dispensaries in ' + cName + ' carry Indica, Sativa, and Hybrid strains, as well as CBD products, edibles, concentrates, and vape cartridges. Availability varies by store.' }
147    ]);
148    html += cityLinks();
149    html += catLinks();
150    html += payLinks();
151    html += learnLinks();
152  }
153
154  // ---- Category pages: /category/:slug ----
155  else if (p.indexOf('/category/') === 0) {
156    var catSlug = p.split('/category/')[1];
157    var catName = tc(catSlug);
158    html = crumbs([
159      { u: '/', n: 'Home' }, { u: '/dispensaries', n: 'Categories' }, { u: p, n: catName }
160    ]);
161    html += '<h1>
161' + catName + ' Cannabis in Ontario</h1>';
162    html += '<p>Browse ' + catName + ' cannabis products at licensed dispensaries across Ontario. OntarioCanna\'s directory helps you find dispensaries carrying ' + catName + ' strains, edibles, concentrates, and accessories. All products are sourced from licensed producers and lab-tested for quality and potency. You must be 19 or older to purchase cannabis in Ontario.</p>';
163    html += '<h2>About ' + catName + ' Cannabis</h2>';
164    html += '<p>' + catName + ' cannabis is one of the most popular categories at Ontario dispensaries. Whether you\'re looking for flower, edibles, concentrates, or CBD products, ' + catName + ' options are widely available at licensed retailers throughout the province. Ontario\'s regulated cannabis market ensures that all ' + catName + ' products are legally sourced, lab-tested, and compliant with strict quality and safety standards. Consumers can browse ' + catName + ' products by visiting any AGCO-licensed dispensary or ordering online for delivery or pickup.</p>';
165    html += '<h2>Effects and Benefits of ' + catName + '</h2>';
166    html += '<p>' + catName + ' cannabis products offer a range of effects and benefits depending on the specific strain, product type, and cannabinoid profile. Consumers choose ' + catName + ' products for various reasons, including relaxation, pain relief, stress reduction, sleep aid, creativity enhancement, and social enjoyment. The effects of ' + catName + ' can vary from person to person, so it\'s important to start with a low dose, especially if you\'re new to cannabis or trying a new product. Knowledgeable dispensary staff can help you understand the effects and recommend the right ' + catName + ' product for your needs.</p>';
167    html += '<h2>Popular ' + catName + ' Products at Ontario Dispensaries</h2>';
168    html += '<p>Ontario dispensaries carry a wide selection of ' + catName + ' products, including premium flower, pre-rolls, edibles, concentrates, vape cartridges, and topicals. Popular ' + catName + ' strains are available in various THC and CBD potencies to suit different tolerance levels and preferences. Many dispensaries also offer ' + catName + ' products in different price ranges, from budget-friendly options to premium craft selections. Check dispensary menus for current ' + catName + ' product availability, pricing, and deals.</p>';
169    html += '<h2>Where to Buy ' + catName + ' Cannabis in Ontario</h2>';
170    html += '<p>' + catName + ' cannabis products are available at licensed dispensaries across Ontario, including in Toronto, Ottawa, Hamilton, Mississauga, Brampton, London, and many other cities. Use OntarioCanna\'s directory to find dispensaries near you that carry ' + catName + ' products. Most dispensaries accept Interac e-Transfer, Bitcoin, Ethereum, and USDT, and many offer online ordering with delivery or curbside pickup.</p>';
171    html += faq([
172      { q: 'What are ' + catName + ' cannabis products?', a: catName + ' cannabis products include flower, edibles, concentrates, vape cartridges, and topicals available at licensed Ontario dispensaries. Products are lab-tested and legally sourced.' },
173      { q: 'Where can I buy ' + catName + ' cannabis in Ontario?', a: 'You can buy ' + catName + ' cannabis at any AGCO-licensed dispensary in Ontario. Use OntarioCanna\'s directory to find dispensaries near you carrying ' + catName + ' products.' },
174      { q: 'Do I need to be 19 to buy ' + catName + ' cannabis?', a: 'Yes, the legal age to purchase any cannabis product in Ontario, including ' + catName + ', is 19. Valid government-issued photo ID is required at all dispensaries.' },
175      { q: 'Can I order ' + catName + ' cannabis online?', a: 'Yes, many Ontario dispensaries offer online ordering for ' + catName + ' products with Interac e-Transfer or crypto payment, followed by delivery or curbside pickup.' },
176      { q: 'What payment methods are accepted for ' + catName + ' cannabis?', a: 'Most Ontario dispensaries accept Interac e-Transfer, Bitcoin (BTC), Ethereum (ETH), and Tether (USDT) for ' + catName + ' cannabis purchases.' }
177    ]);
178    html += cityLinks();
179    html += catLinks();
180    html += payLinks();
181    html += learnLinks();
182  }
183
184  // ---- Blog post pages: /blog/:slug ----
185  else if (p.indexOf('/blog/') === 0) {
186    var bSlug = p.split('/blog/')[1];
187    var bName = tc(bSlug);
188    html = crumbs([
189      { u: '/', n: 'Home' }, { u: '/blog', n: 'Blog' }, { u: p, n: bName }
190    ]);
191    html += '<h1>
191' + bName + '</h1>';
192    html += '<p>' + bName + ' — a comprehensive guide from OntarioCanna covering cannabis dispensaries, strains, products, and consumer tips for Ontario residents. This article is part of our editorial content designed to help Ontario cannabis consumers make informed purchasing decisions.</p>';
193    html += '<h2>Overview</h2>';
194    html += '<p>In this guide, we explore ' + bName + ' in the context of Ontario\'s licensed cannabis market. OntarioCanna is committed to providing accurate, up-to-date information about cannabis dispensaries, products, and regulations in Ontario. Our editorial team researches and verifies all content to ensure it meets our editorial standards and provides genuine value to readers.</p>';
195    html += '<h2>Cannabis in Ontario</h2>';
196    html += '<p>Ontario\'s cannabis market has grown significantly since legalization in 2018. Consumers now have access to a wide range of licensed dispensaries offering Indica, Sativa, and Hybrid strains, edibles, concentrates, CBD products, and accessories. All cannabis sold at licensed Ontario dispensaries is sourced from licensed producers and lab-tested for quality, potency, and safety. Consumers must be 19 or older to purchase cannabis in Ontario, and valid government-issued photo ID is required.</p>';
197    html += '<h2>Finding the Right Dispensary</h2>';
198    html += '<p>Choosing the right cannabis dispensary depends on your location, product preferences, and budget. OntarioCanna\'s directory helps you find licensed dispensaries by city and category, with details on menus, deals, hours, and accepted payment methods. Most dispensaries accept Interac e-Transfer, Bitcoin, Ethereum, and USDT, and many offer online ordering with delivery or curbside pickup. Whether you\'re a first-time consumer or an experienced cannabis user, our directory makes it easy to find the right dispensary for your needs.</p>';
199    html += '<h2>Payment and Ordering</h2>';
200    html += '<p>Ontario dispensaries offer a variety of payment methods for customer convenience. Interac e-Transfer is the most popular option, providing fast and secure transactions. Cryptocurrency payments, including Bitcoin, Ethereum, and Tether, offer a private and decentralized alternative. Many dispensaries also offer online ordering with delivery or curbside pickup, making it easy to purchase cannabis from the comfort of your home.</p>';
201    html += '<h2>Conclusion</h2>';
202    html += '<p>' + bName + ' is an important topic for Ontario cannabis consumers. By understanding the options available at licensed dispensaries, consumers can make informed decisions and enjoy safe, legal access to quality cannabis products. For more information, browse OntarioCanna\'s directory of dispensaries, city guides, and category pages.</p>';
203    html += faq([
204      { q: 'What is ' + bName + ' about?', a: bName + ' is an OntarioCanna guide covering cannabis dispensaries, strains, products, and consumer tips for Ontario residents.' },
205      { q: 'Is this information specific to Ontario?', a: 'Yes, all OntarioCanna content focuses on the Ontario cannabis market, including AGCO-licensed dispensaries and provincial regulations.' },
206      { q: 'Where can I learn more about cannabis in Ontario?', a: 'Visit the OntarioCanna blog, city guides, and dispensary directory for more information about cannabis in Ontario.' }
207    ]);
208    html += cityLinks();
209    html += catLinks();
210    html += payLinks();
211    html += learnLinks();
212  }
213
214  // ---- Dispensaries listing ----
215  else if (p === '/dispensaries') {
216    html = crumbs([{ u: '/', n: 'Home' }, { u: p, n: 'Dispensaries' }]);
217    html += '<h1>Cannabis Dispensaries in Ontario</h1>';
218    html += '<p>Browse all licensed cannabis dispensaries in Ontario on OntarioCanna. Our directory features AGCO-licensed retailers across the province, with details on menus, strains, deals, hours, and accepted payment methods. Find dispensaries in Toronto, Ottawa, Hamilton, Mississauga, Brampton, London, and many other Ontario cities. All dispensaries listed are verified and legally operating under Ontario cannabis regulations. You must be 19 or older to purchase cannabis.</p>';
219    html += '<h2>Find Dispensaries by City</h2>';
220    html += '<p>OntarioCanna organizes dispensaries by city, making it easy to find licensed cannabis retailers near you. Simply select your city from the list below to browse dispensaries in your area. Each dispensary listing includes the store name, address, phone number, hours, menu categories, accepted payment methods, and customer reviews. Whether you\'re looking for a specific strain, the best deals, or a dispensary that accepts Interac e-Transfer or crypto, our directory has you covered.</p>';
221    html += cityLinks();
222    html += catLinks();
223    html += faq([
224      { q: 'How many licensed dispensaries are in Ontario?', a: 'Ontario has hundreds of licensed cannabis dispensaries. Use OntarioCanna\'s directory to browse them by city and category.' },
225      { q: 'What do I need to visit a dispensary in Ontario?', a: 'You need a valid government-issued photo ID proving you are 19 or older. Accepted ID includes an Ontario driver\'s license, passport, or Ontario Photo Card.' },
226      { q: 'Do Ontario dispensaries accept Interac e-Transfer and crypto?', a: 'Yes, most licensed dispensaries in Ontario accept Interac e-Transfer, Bitcoin (BTC), Ethereum (ETH), and Tether (USDT).' },
227      { q: 'Can I order cannabis online in Ontario?', a: 'Yes, many Ontario dispensaries offer online ordering with delivery or curbside pickup. Payment is typically via Interac e-Transfer or cryptocurrency.' }
228    ]);
229    html += payLinks();
230    html += learnLinks();
231  }
232
233  // ---- Cities listing ----
234  else if (p === '/cities') {
235    html = crumbs([{ u: '/', n: 'Home' }, { u: p, n: 'Cities' }]);
236    html += '<h1>Cannabis Dispensaries by City in Ontario</h1>';
237    html += '<p>Browse licensed cannabis dispensaries by city across Ontario. OntarioCanna\'s city directory covers dis
237pensaries in Toronto, Ottawa, Hamilton, Mississauga, Brampton, London, Kingston, Windsor, and many other Ontario communities. Each city page features a curated list of AGCO-licensed dispensaries with menus, deals, reviews, and accepted payment methods. Find legal cannabis stores near you, whether you\'re in the GTA, Eastern Ontario, Southwestern Ontario, or Northern Ontario.</p>';
238    html += '<h2>How to Use the City Directory</h2>';
239    html += '<p>Select your city from the list below to view all licensed cannabis dispensaries in that area. Each city page provides an overview of the local cannabis retail landscape, popular strains, payment methods, and delivery options. You\'ll also find frequently asked questions specific to each city, including information about legal age, licensing, and online ordering. OntarioCanna verifies all dispensaries listed to ensure they are AGCO-licensed and legally operating.</p>';
240    html += cityLinks();
241    html += faq([
242      { q: 'How do I find a dispensary in my city?', a: 'Select your city from the OntarioCanna city directory to browse all licensed dispensaries in your area with menus, deals, and reviews.' },
243      { q: 'Are all dispensaries listed on OntarioCanna licensed?', a: 'Yes, all dispensaries listed on OntarioCanna are AGCO-licensed and legally operating in Ontario.' },
244      { q: 'What cities does OntarioCanna cover?', a: 'OntarioCanna covers dispensaries in Toronto, Ottawa, Hamilton, Mississauga, Brampton, London, and many other Ontario cities and towns.' },
245      { q: 'Can I order cannabis for delivery in my city?', a: 'Many dispensaries offer delivery within their city. Check individual dispensary listings for delivery zones and options.' }
246    ]);
247    html += catLinks();
248    html += payLinks();
249    html += learnLinks();
250  }
251
252  // ---- Blog index ----
253  else if (p === '/blog') {
254    html = crumbs([{ u: '/', n: 'Home' }, { u: p, n: 'Blog' }]);
255    html += '<h1>OntarioCanna Cannabis Blog — Guides, Reviews & News</h1>';
256    html += '<p>Read the OntarioCanna blog for comprehensive cannabis guides, strain reviews, dispensary recommendations, and Ontario cannabis industry news. Our editorial team produces in-depth content to help Ontario cannabis consumers make informed purchasing decisions. Topics include Indica vs Sativa vs Hybrid, CBD products, edibles, concentrates, payment methods, city dispensary guides, and tips for first-time buyers. All content is researched and verified to meet our editorial standards.</p>';
257    html += '<h2>Popular Blog Topics</h2>';
258    html += '<p>OntarioCanna covers a wide range of cannabis topics relevant to Ontario consumers. Our most popular categories include strain guides (Indica, Sativa, Hybrid, CBD), city dispensary guides, payment method guides (Interac e-Transfer, Bitcoin, crypto), product guides (edibles, concentrates, vapes, pre-rolls), and consumer tips for first-time dispensary visitors. We also publish deals and promotions from Ontario dispensaries to help you save money on your cannabis purchases.</p>';
259    html += links('Browse by Category', CATS.map(function (c) {
260      return { u: '/category/' + c, n: tc(c) + ' Strains', d: tc(c) + ' cannabis guide and dispensary listings' };
261    }));
262    html += cityLinks();
263    html += faq([
264      { q: 'What does the OntarioCanna blog cover?', a: 'The OntarioCanna blog covers cannabis guides, strain reviews, dispensary recommendations, payment methods, and Ontario cannabis industry news.' },
265      { q: 'Is the blog content specific to Ontario?', a: 'Yes, all OntarioCanna blog content focuses on the Ontario cannabis market, including AGCO-licensed dispensaries and provincial regulations.' },
266      { q: 'How often is the blog updated?', a: 'OntarioCanna publishes new blog content regularly. Check back frequently for the latest guides, reviews, and cannabis news.' }
267    ]);
268    html += payLinks();
269    html += learnLinks();
270  }
271
272  // ---- Static info pages ----
273  else if (p === '/about' || p === '/about-ontariocanna') {
274    html = crumbs([{ u: '/', n: 'Home' }, { u: p, n: 'About' }]);
275    html += '<h1>About OntarioCanna</h1>';
276    html += '<p>OntarioCanna is Ontario\'s trusted directory for licensed cannabis dispensaries. Our mission is to help consumers find verified, AGCO-licensed cannabis retailers across Ontario with accurate information on menus, strains, deals, hours, and accepted payment methods. We are committed to editorial independence, transparency, and providing genuine value to Ontario cannabis consumers.</p>';
277    html += '<h2>Our Mission</h2>';
278    html += '<p>OntarioCanna was created to simplify the process of finding licensed cannabis dispensaries in Ontario. Since legalization in 2018, the number of dispensaries has grown significantly, making it challenging for consumers to find reliable information. We solve this by maintaining a comprehensive, verified directory of AGCO-licensed dispensaries, organized by city and category, with up-to-date details on products, deals, and payment methods.</p>';
279    html += '<h2>Editorial Standards</h2>';
280    html += '<p>All content on OntarioCanna is researched and verified by our editorial team. We do not accept payment for listings or reviews, and we maintain strict editorial independence. Our dispensary verification process ensures that every listing is AGCO-licensed and legally operating. Learn more about our <a href="/editorial-policy" style="color:hsl(155,50%,60%)">editorial policy</a> and <a href="/how-we-verify-dispensaries" style="color:hsl(155,50%,60%)">verification process</a>.</p>';
281    html += '<h2>Contact Us</h2>';
282    html += '<p>Have a question or want to list your dispensary? Visit our <a href="/contact" style="color:hsl(155,50%,60%)">contact page</a> to get in touch with the OntarioCanna team.</p>';
283    html += learnLinks();
284  }
285
286  else if (p === '/contact') {
287    html = crumbs([{ u: '/', n: 'Home' }, { u: p, n: 'Contact' }]);
288    html += '<h1>Contact OntarioCanna</h1>';
289    html += '<p>Get in touch with the OntarioCanna team. Whether you have a question about a dispensary listing, want to claim your dispensary profile, or have feedback about our directory, we\'d love to hear from you. OntarioCanna is committed to providing accurate, up-to-date information about licensed cannabis dispensaries in Ontario.</p>';
290    html += '<h2>Dispensary Owners</h2>';
291    html += '<p>If you own or manage a licensed cannabis dispensary in Ontario and would like to claim your listing, update your menu, or add deals, please contact us. We work with dispensary owners to ensure listings are accurate and comprehensive.</p>';
292    html += '<h2>General Inquiries</h2>';
293    html += '<p>For general questions about OntarioCanna, our editorial process, or cannabis 
293in Ontario, reach out through our contact form. We strive to respond to all inquiries promptly.</p>';
294    html += learnLinks();
295  }
296
297  else if (p === '/interac-etransfer') {
298    html = crumbs([{ u: '/', n: 'Home' }, { u: p, n: 'Interac e-Transfer' }]);
299    html += '<h1>Interac e-Transfer for Cannabis Purchases in Ontario</h1>';
300    html += '<p>Interac e-Transfer is the most popular payment method for cannabis purchases at Ontario dispensaries. It offers a fast, secure, and convenient way to pay for your cannabis order directly from your Canadian bank account. Most licensed dispensaries in Ontario accept Interac e-Transfer for both in-store and online orders, making it easy to purchase cannabis without a credit card.</p>';
301    html += '<h2>How Interac e-Transfer Works</h2>';
302    html += '<p>To pay with Interac e-Transfer, you send a payment from your bank account to the dispensary\'s email address using your online or mobile banking. The process is simple: log in to your bank, select Interac e-Transfer, enter the dispensary\'s email and the payment amount, set a security question and answer (if required), and send. The dispensary receives the payment instantly and processes your order. Most transactions are completed within minutes.</p>';
303    html += '<h2>Benefits of Interac e-Transfer</h2>';
304    html += '<p>Interac e-Transfer offers several advantages for cannabis consumers. It\'s fast — payments are typically received instantly. It\'s secure — funds are transferred directly between bank accounts with bank-level security. It\'s convenient — you can send a payment from your phone or computer without visiting an ATM. And it\'s widely accepted — nearly all Ontario dispensaries accept Interac e-Transfer as a payment method.</p>';
305    html += faq([
306      { q: 'Is Interac e-Transfer safe for cannabis purchases?', a: 'Yes, Interac e-Transfer uses bank-level security and is one of the safest payment methods for cannabis purchases in Ontario.' },
307      { q: 'How long does an Interac e-Transfer take?', a: 'Interac e-Transfer payments are typically received instantly, though some banks may take a few minutes to process.' },
308      { q: 'Do all Ontario dispensaries accept Interac e-Transfer?', a: 'Most licensed dispensaries in Ontario accept Interac e-Transfer. Check individual dispensary listings for accepted payment methods.' },
309      { q: 'Can I use Interac e-Transfer for online cannabis orders?', a: 'Yes, Interac e-Transfer is the most common payment method for online cannabis orders in Ontario, followed by delivery or curbside pickup.' }
310    ]);
311    html += links('Related Pages', [
312      { u: '/crypto-payments', n: 'Crypto Payments', d: 'Pay with Bitcoin, Ethereum, or USDT' },
313      { u: '/dispensaries', n: 'Find a Dispensary', d: 'Browse licensed Ontario dispensaries' }
314    ]);
315    html += learnLinks();
316  }
317
318  else if (p === '/crypto-payments') {
319    html = crumbs([{ u: '/', n: 'Home' }, { u: p, n: 'Crypto Payments' }]);
320    html += '<h1>Cryptocurrency Payments for Cannabis in Ontario</h1>';
321    html += '<p>Many licensed cannabis dispensaries in Ontario accept cryptocurrency as a payment method, including Bitcoin (BTC), Ethereum (ETH), and Tether (USDT). Crypto payments offer a private, secure, and decentralized alternative to traditional payment methods. If you value privacy or don\'t have a Canadian bank account, paying with crypto is a convenient option for purchasing cannabis at Ontario dispensaries.</p>';
322    html += '<h2>Supported Cryptocurrencies</h2>';
323    html += '<p>Ontario dispensaries that accept crypto typically support Bitcoin (BTC), the original and most widely recognized cryptocurrency; Ethereum (ETH), known for fast transactions and smart contract capabilities; and Tether (USDT), a stablecoin pegged to the US dollar that offers price stability. Some dispensaries may also accept other cryptocurrencies, so check with individual dispensaries for their accepted coins.</p>';
324    html += '<h2>How to Pay with Crypto</h2>';
325    html += '<p>To pay with cryptocurrency, select crypto as your payment method at checkout. The dispensary will provide a wallet address and the exact amount to send. Transfer the funds from your crypto wallet to the dispensary\'s wallet address. Once the transaction is confirmed on the blockchain (usually within 10-30 minutes for Bitcoin, faster for Ethereum and USDT), the dispensary processes your order. Make sure to send the exact amount to the correct address.</p>';
326    html += '<h2>Benefits of Crypto Payments</h2>';
327    html += '<p>Cryptocurrency payments offer several advantages for cannabis consumers. Privacy — crypto transactions don\'t require sharing bank account information. Security — blockchain technology provides robust security against fraud. Accessibility — crypto can be used by anyone, including those without traditional bank accounts. And decentralization — crypto payments aren\'t controlled by any single financial institution.</p>';
328    html += faq([
329      { q: 'Which cryptocurrencies do Ontario dispensaries accept?', a: 'Most dispensaries that accept crypto support Bitcoin (BTC), Ethereum (ETH), and Tether (USDT). Some may accept other coins as well.' },
330      { q: 'Is it safe to pay with crypto at a dispensary?', a: 'Yes, cryptocurrency payments use blockchain technology and are secure. Always send funds to the exact wallet address provided by the dispensary.' },
331      { q: 'How long do crypto payments take to process?', a: 'Bitcoin payments typically take 10-30 minutes to confirm. Ethereum and USDT transactions are usually faster, often confirming within minutes.' },
332      { q: 'Can I use crypto for online cannabis orders?', a: 'Yes, many Ontario dispensaries accept crypto for online orders. Select crypto at checkout and follow the dispensary\'s payment instructions.' }
333    ]);
334    html += links('Related Pages', [
335      { u: '/interac-etransfer', n: 'Interac e-Transfer', d: 'Pay directly from your bank account' },
336      { u: '/dispensaries', n: 'Find a Dispensary', d: 'Browse licensed Ontario dispensaries' }
337    ]);
338    html += learnLinks();
339  }
340
341  else if (p === '/privacy-policy') {
342    html = crumbs([{ u: '/', n: 'Home' }, { u: p, n: 'Privacy Policy' }]);
343    html += '<h1>Privacy Policy</h1>';
344    html += '<p>OntarioCanna respects your privacy and is committed to protecting your personal information. This privacy policy explains how we 
344collect, use, and safeguard information when you visit our website or use our services. We do not sell or rent your personal information to third parties.</p>';
345    html += '<h2>Information We Collect</h2>';
346    html += '<p>We collect minimal information necessary to operate our directory, including analytics data (page views, device type, browser), contact form submissions, and dispensary owner account information. We do not collect sensitive personal information such as health or financial data.</p>';
347    html += '<h2>How We Use Information</h2>';
348    html += '<p>We use collected information to improve our website, respond to inquiries, verify dispensary listings, and provide a better user experience. Analytics data is used in aggregate to understand how visitors use our site.</p>';
349    html += '<h2>Contact</h2>';
350    html += '<p>For privacy-related questions, please <a href="/contact" style="color:hsl(155,50%,60%)">contact us</a>.</p>';
351  }
352
353  else if (p === '/editorial-policy') {
354    html = crumbs([{ u: '/', n: 'Home' }, { u: p, n: 'Editorial Policy' }]);
355    html += '<h1>Editorial Policy</h1>';
356    html += '<p>OntarioCanna maintains strict editorial standards to ensure all content is accurate, unbiased, and valuable to Ontario cannabis consumers. Our editorial policy governs how we research, write, and publish content about cannabis dispensaries, strains, and products.</p>';
357    html += '<h2>Editorial Independence</h2>';
358    html += '<p>OntarioCanna does not accept payment for listings, reviews, or editorial content. Our dispensary directory is compiled independently, and all reviews are submitted by consumers. We maintain complete editorial control over all published content.</p>';
359    html += '<h2>Accuracy and Verification</h2>';
360    html += '<p>All dispensary listings are verified to ensure they are AGCO-licensed and legally operating in Ontario. We regularly review and update listings to maintain accuracy. If you find inaccurate information, please <a href="/contact" style="color:hsl(155,50%,60%)">contact us</a>.</p>';
361    html += '<h2>Content Standards</h2>';
362    html += '<p>Our blog content is researched and written by our editorial team. We cite sources where applicable and strive to provide balanced, factual information about cannabis in Ontario.</p>';
363  }
364
365  else if (p === '/how-we-verify-dispensaries') {
366    html = crumbs([{ u: '/', n: 'Home' }, { u: p, n: 'How We Verify' }]);
367    html += '<h1>How OntarioCanna Verifies Dispensaries</h1>';
368    html += '<p>OntarioCanna is committed to listing only licensed, verified cannabis dispensaries in Ontario. Our verification process ensures that every dispensary in our directory is AGCO-licensed and legally operating, giving consumers confidence in the listings they find on our site.</p>';
369    html += '<h2>Verification Process</h2>';
370    html += '<p>We verify dispensaries by checking their AGCO license status, confirming their physical address, and reviewing their operating status. We also allow dispensary owners to claim their listings and update their information, ensuring our directory remains current and accurate.</p>';
371    html += '<h2>AGCO Licensing</h2>';
372    html += '<p>All cannabis dispensaries in Ontario must be licensed by the Alcohol and Gaming Commission of Ontario (AGCO). We verify that each dispensary in our directory holds a valid AGCO license before listing it. Consumers can also verify a dispensary\'s license status directly through the AGCO website.</p>';
373    html += '<h2>Reporting Issues</h2>';
374    html += '<p>If you believe a dispensary listing is inaccurate or a dispensary may not be properly licensed, please <a href="/contact" style="color:hsl(155,50%,60%)">contact us</a> so we can investigate and take appropriate action.</p>';
375  }
376
377  // ---- Remaining landing pages (buy-cannabis-online-ontario, weed-delivery-ontario, etc.) ----
378  else {
379    var pageName = tc(p.split('/').filter(Boolean).pop() || 'ontariocanna');
380    html = crumbs([{ u: '/', n: 'Home' }, { u: p, n: pageName }]);
381    html += '<h1>' + pageName.replace(/-/g, ' ') + '</h1>';
382    html += '<p>' + pageName.replace(/-/g, ' ') + ' — a guide from OntarioCanna about licensed cannabis dispensaries, products, and consumer resources in Ontario. Browse our directory to find verified dispensaries, compare menus and deals, and learn about payment methods including Interac e-Transfer and cryptocurrency. All dispensaries listed are AGCO-licensed and legally operating in Ontario. You must be 19 or older to purchase cannabis.</p>';
383    html += '<h2>
383Find Cannabis in Ontario</h2>';
384    html += '<p>OntarioCanna helps consumers find licensed cannabis dispensaries across Ontario. Our directory covers dispensaries in Toronto, Ottawa, Hamilton, Mississauga, Brampton, London, and many other cities. Each listing includes menu details, accepted payment methods, hours, and customer reviews. Whether you\'re looking for Indica, Sativa, Hybrid, CBD, edibles, or concentrates, our directory makes it easy to find the right dispensary.</p>';
385    html += cityLinks();
386    html += catLinks();
387    html += payLinks();
388    html += faq([
389      { q: 'What is OntarioCanna?', a: 'OntarioCanna is Ontario\'s directory for licensed cannabis dispensaries, with verified listings, menus, deals, and consumer guides.' },
390      { q: 'How do I find a dispensary near me?', a: 'Use OntarioCanna\'s city directory to browse licensed dispensaries in your area with menus, deals, and reviews.' },
391      { q: 'What payment methods do Ontario dispensaries accept?', a: 'Most Ontario dispensaries accept Interac e-Transfer, Bitcoin (BTC), Ethereum (ETH), and Tether (USDT).' },
392      { q: 'Do I need to be 19 to buy cannabis in Ontario?', a: 'Yes, the legal age to purchase cannabis in Ontario is 19. Valid government-issued photo ID is required.' }
393    ]);
394    html += learnLinks();
395  }
396
397  // ---- JSON-LD Schema (injected into <head> before React loads) ----
398  var BASE = 'https://ontariocanna.ca';
399  var pageUrl = BASE + p;
400  function addSchema(obj) {
401    var s = document.createElement('script');
402    s.setAttribute('type', 'application/ld+json');
403    s.setAttribute('data-seo-schema', 'true');
404    s.textContent = JSON.stringify(obj);
405    document.head.appendChild(s);
406  }
407  function bc(arr) {
408    return { '@context': 'https://schema.org', '@type': 'BreadcrumbList',
409      itemListElement: arr.map(function (c, i) {
410        return { '@type': 'ListItem', position: i + 1, name: c.n, item: BASE + c.u };
411      }) };
412  }
413  function fq(items) {
414    return { '@context': 'https://schema.org', '@type': 'FAQPage',
415      mainEntity: items.map(function (f) {
416        return { '@type': 'Question', name: f.q, acceptedAnswer: { '@type': 'Answer', text: f.a } };
417      }) };
418  }
419
420  if (p.indexOf('/dispensary/') === 0) {
421    addSchema(bc([{ n: 'Home', u: '/' }, { n: 'Dispensaries', u: '/dispensaries' }, { n: dName, u: p }]));
422    addSchema({ '@context': 'https://schema.org', '@type': ['CannabisStore', 'LocalBusiness'], '@id': pageUrl,
423      name: dName, url: pageUrl, priceRange: '$$',
424      address: { '@type': 'PostalAddress', addressRegion: 'ON', addressCountry: 'CA' },
425      areaServed: { '@type': 'AdministrativeArea', name: 'Ontario', addressCountry: 'CA' },
426      isPartOf: { '@id': BASE + '/#website' } });
427  } else if (p.indexOf('/city/') === 0) {
428    addSchema(bc([{ n: 'Home', u: '/' }, { n: 'Cities', u: '/cities' }, { n: cName, u: p }]));
429    addSchema({ '@context': 'https://schema.org', '@type': 'CollectionPage', '@id': pageUrl,
430      name: 'Cannabis Dispensaries in ' + cName + ', Ontario', url: pageUrl,
431      description: 'Find licensed cannabis dispensaries in ' + cName + ', Ontario.',
432      isPartOf: { '@id': BASE + '/#website' } });
433    addSchema(fq([
434      { q: 'How many licensed dispensaries are in ' + cName + '?', a: cName + ' has several licensed cannabis dispensaries listed on OntarioCanna.' },
435      { q: 'What is the legal age to buy cannabis in ' + cName + '?', a: 'The legal age is 19. Valid government-issued photo ID is required.' },
436      { q: 'Do dispensaries in ' + cName + ' accept Interac e-Transfer and crypto?', a: 'Yes, most accept Interac e-Transfer, Bitcoin, Ethereum, and USDT.' },
437      { q: 'Can I get cannabis delivered in ' + cName + '?', a: 'Yes, many dispensaries offer same-day delivery. You must be 19+ with valid ID.' },
438      { q: 'Are dispensaries in ' + cName + ' licensed?', a: 'Yes, all are AGCO-licensed and legally operating in Ontario.' }
439    ]));
440  } else if (p.indexOf('/category/') === 0) {
441    addSchema(bc([{ n: 'Home', u: '/' }, { n: 'Categories', u: '/dispensaries' }, { n: catName, u: p }]));
442    addSchema({ '@context': 'https://schema.org', '@type': 'CollectionPage', '@id': pageUrl,
443      name: catName + ' Cannabis in Ontario', url: pageUrl,
444      description: 'Browse ' + catName + ' cannabis at licensed Ontario dispensaries.',
445      isPartOf: { '@id': BASE + '/#website' } });
446    addSchema(fq([
447      { q: 'What are ' + catName + ' cannabis products?', a: catName + ' products include flower, edibles, concentrates, and more at licensed Ontario dispensaries.' },
448      { q: 'Where can I buy ' + catName + ' cannabis in Ontario?', a: 'At any AGCO-licensed dispensary. Use OntarioCanna\'s directory to find one near you.' },
449      { q: 'Do I need to be 19 to buy ' + catName + ' cannabis?', a: 'Yes, the legal age in Ontario is 19. Valid photo ID is required.' },
450      { q: 'Can I order ' + catName + ' cannabis online?', a: 'Yes, many dispensaries offer online ordering with e-Transfer or crypto payment.' },
451      { q: 'What payment methods are accepted?', a: 'Most accept Interac e-Transfer, Bitcoin, Ethereum, and USDT.' }
452    ]));
453  } else if (p.indexOf('/blog/') === 0) {
454    addSchema(bc([{ n: 'Home', u: '/' }, { n: 'Blog', u: '/blog' }, { n: bName, u: p }]));
455    addSchema({ '@context': 'https://schema.org', '@type': 'BlogPosting', '@id': pageUrl,
456      headline: bName, url: pageUrl,
457      description: bName + ' — OntarioCanna cannabis guide.',
458      author: { '@type': 'Organization', name: 'OntarioCanna Research Team', url: BASE + '/authors/ontariocanna-research-team' },
459      publisher: { '@id': BASE + '/#organization' },
460      mainEntityOfPage: { '@type': 'WebPage', '@id': pageUrl },
461      isPartOf: { '@id': BASE + '/#website' } });
462  } else if (p === '/dispensaries') {
463    addSchema(bc([{ n: 'Home', u: '/' }, { n: 'Dispensaries', u: p }]));
464    addSchema({ '@context': 'https://schema.org', '@type': 'CollectionPage', '@id': pageUrl,
465      name: 'Cannabis Dispensaries in Ontario', url: pageUrl,
466      description: 'Browse all licensed cannabis dispensaries in Ontario.',
467      isPartOf: { '@id': BASE + '/#website' } });
468    addSchema(fq([
469      { q: 'How many licensed dispensaries are in Ontario?', a: 'Ontario has hundreds. Use OntarioCanna\'s directory to browse by city.' },
470      { q: 'What do I need to visit a dispensary?', a: 'Valid government-issued photo ID proving you are 19+.' },
471      { q: 'Do Ontario dispensaries accept e-Transfer and crypto?', a: 'Yes, most accept Interac e-Transfer, Bitcoin, Ethereum, and USDT.' },
472      { q: 'Can I order cannabis online?', a: 'Yes, many offer online ordering with delivery or curbside pickup.' }
473    ]));
474  } else if (p === '/cities') {
475    addSchema(bc([{ n: 'Home', u: '/' }, { n: 'Cities', u: p }]));
476    addSchema({ '@context': 'https://schema.org', '@type': 'CollectionPage', '@id': pageUrl,
477      name: 'Cannabis Dispensaries by City in Ontario', url: pageUrl,
478      description: 'Browse licensed cannabis dispensaries by city across Ontario.',
479      isPartOf: { '@id': BASE + '/#website' } });
480    addSchema(fq([
481      { q: 'How do I find a dispensary in my city?', a: 'Select your city from the OntarioCanna directory.' },
482      { q: 'Are all dispensaries licensed?', a: 'Yes, all are AGCO-licensed.' },
483      { q: 'What cities does OntarioCanna cover?', a: 'Toronto, Ottawa, Hamilton, Mississauga, and many more.' },
484      { q: 'Can I get delivery in my city?', a: 'Many dispensaries offer delivery. Check individual listings.' }
485    ]));
486  } else if (p === '/blog') {
487    addSchema(bc([{ n: 'Home', u: '/' }, { n: 'Blog', u: p }]));
488    addSchema({ '@context': 'https://schema.org', '@type': 'Blog', '@id': pageUrl,
489      name: 'OntarioCanna Cannabis Blog', url: pageUrl,
490      description: 'Cannabis guides, strain reviews, and Ontario cannabis news.',
491      publisher: { '@id': BASE + '/#organization' },
492      isPartOf: { '@id': BASE + '/#website' } });
493    addSchema(fq([
494      { q: 'What does the OntarioCanna blog cover?', a: 'Cannabis guides, strain reviews, dispensary recommendations, and Ontario cannabis news.' },
495      { q: 'Is the content specific to Ontario?', a: 'Yes, all content focuses on the Ontario cannabis market.' },
496      { q: 'How often is the blog updated?', a: 'Regularly with new guides, reviews, and news.' }
497    ]));
498  } else if (html) {
499    var sName = tc((p.split('/').filter(Boolean).pop() || '').replace(/-/g, ' '));
500    addSchema(bc([{ n: 'Home', u: '/' }, { n: sName, u: p }]));
501    addSchema({ '@context': 'https://schema.org', '@type': 'WebPage', '@id': pageUrl,
502      name: sName, url: pageUrl, description: 'OntarioCanna — ' + sName,
503      isPartOf: { '@id': BASE + '/#website' } });
504  }
505
506  if (html) {
507    // display:none: content is for crawlers only and skips layout entirely (zero reflow).
508    // This div is outside #root, so React never replaces it — no double DOM mutation.
509    root.innerHTML = html;
510  }
511})();

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.