'en', 'ja' => 'ja', 'zh' => 'zh'][$lang]; // EN canonical is "/" (root). JP/ZH live at /index_{jp,zh}.php. $selfPath = ['en' => '/', 'ja' => '/index_jp.php', 'zh' => '/index_zh.php'][$lang]; $selfUrl = 'https://www.sillylaird.ca' . $selfPath; $h = fn(string $k) => htmlspecialchars(t($k), ENT_QUOTES, 'UTF-8'); $personJson = [ '@context' => 'https://schema.org', '@type' => 'Person', 'name' => t('home.person.name'), 'alternateName' => 'SillyLaird', 'url' => $selfUrl, 'image' => 'https://www.sillylaird.ca/assets/img/lain.png', 'sameAs' => [ 'https://blog.sillylaird.ca/', 'https://www.last.fm/user/SillyLaird', 'https://github.com/SillyLaird', 'https://radio.sillylaird.ca/', 'gemini://sillylaird.ca', 'gopher://sillylaird.ca', ], 'jobTitle' => t('home.person.jobtitle'), 'description' => t('home.person.desc'), ]; $siteJson = [ '@context' => 'https://schema.org', '@type' => 'WebSite', 'name' => t('home.site.name'), 'url' => $selfUrl, ]; ?> <?= $h('home.title') ?> $lang, 'title' => t('home.title'), 'desc' => t('home.desc'), 'base' => 'index', 'self_url' => $selfUrl, 'en_url' => 'https://www.sillylaird.ca/', 'x_default' => 'https://www.sillylaird.ca/', ]; include __DIR__ . '/partials/head_meta.php'; ?>

Dark web / alternate addresses
"The Internet Is Serious Business" — lolwut.info

[ ['https://www.canada.ca/en.html', 'canada.png', 'Canada'], ['https://english.www.gov.cn/', 'china.png', 'China'], ['https://www.japan.go.jp/', 'japan.png', 'Japan'], ], 'ja' => [ ['https://www.canada.ca/en.html', 'canada.png', 'カナダ'], ['https://english.www.gov.cn/', 'china.png', '中国'], ['https://www.japan.go.jp/', 'japan.png', '日本'], ], 'zh' => [ ['https://www.canada.ca/en.html', 'canada.png', '加拿大'], ['https://english.www.gov.cn/', 'china.png', '中国'], ['https://www.japan.go.jp/', 'japan.png', '日本'], ], ]; $cLinks = $countryLinks[$lang] ?? $countryLinks['en']; $sponsorAlt = [ 'en' => ['BuyVM — KVM VPS Hosting', 'Encyclopedia Dramatica', 'EFF free speech badge'], 'ja' => ['BuyVM', 'EDramatica', 'EFF free speech badge'], 'zh' => ['BuyVM', 'EDramatica', 'EFF free speech badge'], ]; $sAlt = $sponsorAlt[$lang] ?? $sponsorAlt['en']; ?>

Buttons