zotan.pw-web-legacy/blog/index.php

38 lines
1.8 KiB
PHP

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset='utf-8'>
<meta http-equiv="X-UA-Compatible" content="chrome=1">
<meta name="twitter:card" content="summary"/>
<meta name="twitter:title" content="zotan's blog"/>
<meta name="twitter:description" content="The blog of a disabled neurodivergent queer person unhappy with the state of the world."/>
<link rel="stylesheet" href="/style.css">
<title>zotan's blog</title>
</head>
<body>
<header>
<div class="container">
<h1><a href="/blog">zotan's blog</a></h1>
<?php if($_SERVER['HTTP_HOST'] === "zotan.pw" || $_SERVER['HTTP_HOST'] === "zotan.pw.dev"): ?>
<h2 style="margin-bottom: 0px;">Welcome internet user.</h2>
<?php else: ?>
<h2 style="margin-bottom: 0px;">Welcome <?php echo($_SERVER['SERVER_PROTOCOL'])?> internet user.</h2>
<?php endif; ?>
<small><a href="/">Back to main site</a></small>
</div>
</header>
<div class="container">
<section id="main_content">
<p>Hey there, welcome to the blog of a disabled neurodivergent queer person unhappy with the state of the world.</p>
<p>This is where I post about things that make it somewhat fun, things that help me with life in general or just things I felt like sharing.</p>
<h1 id="posts">Posts</h1>
<ul>
<!--<li><strong>2021-08-11</strong> <a href="/blog/posts/disability-identity-living">Disability, Identity & Living situations</a></li>-->
<li><strong>2021-08-23</strong> <a href="/blog/posts/ipv6-networking">IPv6-native networking: a project report</a></li>
<li><strong>2021-08-07</strong> <a href="/blog/posts/adhd-and-notes">ADHD & Notetaking: an autistic perspective</a></li>
</ul>
<p style="color: #666666"><i>This request was served by <?php echo gethostname() ?> in <?php echo(round((microtime(true) - $_SERVER["REQUEST_TIME_FLOAT"])*1000, 2)) ?> ms<i></p>
</div>
</body>
</html>