summaryrefslogtreecommitdiffstats
path: root/index.php
diff options
context:
space:
mode:
authorAleteoryx <alyx@aleteoryx.me>2024-08-18 09:51:13 -0400
committerAleteoryx <alyx@aleteoryx.me>2024-08-18 09:51:13 -0400
commitc31b1fd20582a094f6e3c13191898b8d2b42a2e9 (patch)
tree4fbd96e68dbf1c0b8a44bfc7ac7a43856b3e1f52 /index.php
parenta017acb0689378d2cb844f8e0c5348e764e3363d (diff)
downloadame-homepage-c31b1fd20582a094f6e3c13191898b8d2b42a2e9.tar.gz
ame-homepage-c31b1fd20582a094f6e3c13191898b8d2b42a2e9.tar.bz2
ame-homepage-c31b1fd20582a094f6e3c13191898b8d2b42a2e9.zip
deduplicate logo in text-mode browsers
Diffstat (limited to 'index.php')
-rw-r--r--index.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/index.php b/index.php
index 9677f01..06c4264 100644
--- a/index.php
+++ b/index.php
@@ -46,10 +46,14 @@ function lend() {
<link rel=canonical href="https://aleteoryx.me/">
</head>
<body>
+ <?php if ($wb->browser->type == 'browser:text'): ?>
+ <pre aria-label="logo: ah lee tee ore ikhs dot m e" id=logo><?= file_get_contents("logo.txt") ?></pre>
+ <?php else: ?>
<div aria-label="logo: ah lee tee ore ikhs dot m e" id=logo>
<pre><?= file_get_contents("logo.txt") ?></pre>
<pre><?= file_get_contents("logo.txt") ?></pre>
</div>
+ <?php endif; ?>
<?= lstart("text text text") ?>
<hr>
<?= lend() ?>