summaryrefslogtreecommitdiff
path: root/html/public/index.php
blob: 004a131c0bece5ecb75e05d30b2e7c53e526ffed (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
<?php
$content = '
<p>you are at my <a href="https://tilde.club">tilde.club</a> page right now! hi!</p>


<img src="/img/penguin.gif" alt="a penguin" style="width: 200px; height: 200px;"/>
<p><em>this is a penguin</em></p>

<p>here you can:</p>

<ul>
  <li>vote on your favorite <a href="/fruit">fruit</a></li>
  <li>play <a href="/the-abstraction-engine">the abstraction engine</a> (WIP)</li>
  <li>play <a href="/euler-golf">euler golf 2</a></li>
  <li>program a <a href="/turing-machine">turing machine</a></li>
  <li>mess with <a href="/godel-explorer">godel numbers</a></li>
  <li>more to come?</li>
</ul>

<br />
<br />

<p>
here are some stuffs i like:
<ul>
  <li>penguins, dogs, birds</li>
  <li>programming (((with parentheses)))</li>
  <li>compilers, languages, distributed systems</li>
  <li>emacs</li>
  <li>math</li>
  <li>boys (and girls) 🏳️‍🌈</li>
  <li>gruvbox & catpuccin</li>
</ul>
</p>

<p>
here are some stuffs i don\'t like:
<ul>
  <li>bugs (hahahaha)</li>
  <li>capitalism, expensive healthcare, yadayada</li>
  <li>mmmm i can\'t think of more</li>
</ul>
</p>
';

$template = file_get_contents('template.html');

echo str_replace("{{content}}", $content, $template);
?>