From 898b52edcb47bcb3e9d6106e74ca73e74ea01e70 Mon Sep 17 00:00:00 2001 From: sillylaird Date: Thu, 3 Sep 2026 00:33:59 +0000 Subject: import live www.sillylaird.ca webroot --- index.php | 506 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 506 insertions(+) create mode 100644 index.php (limited to 'index.php') diff --git a/index.php b/index.php new file mode 100644 index 0000000..2b05f32 --- /dev/null +++ b/index.php @@ -0,0 +1,506 @@ + '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 +
+ +

+
+ +
+
+
+ + +
+

+ +
+
+
+
+ +
+
...
+
+
+ +

+ +
+
+
+ +
+ + +
+

+
+
+

+

+ + · + RSS +

+
+ +
+ +
+

+

+ + · + Atom +

+
+ +
+
+
+ +
+

+

+
+
+
+

+ +
+
+
...
+
+ +
+ +
+ +
+ +
+
+ +
+
+
+
+ + [ + ['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']; + ?> +
+

+ +
+ +

+
+
+
+
+

Personal sites

+ +
+ +
+

Kans3n

+ +
+ +
+

Creators / streams

+ +
+ +
+

Archived

+ +
+
+
+
+ + + +
+ +

+
+
+ +
+
+ +
+ +

Buttons

+
+
+ +
+
+
+
+
+
+ + + + + -- cgit v1.2.3