aboutsummaryrefslogtreecommitdiff
path: root/src/pages/blog.php
blob: c6a00fd55fa6c3441f8b2dfd8fb8feddde611af9 (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
50
51
52
53
54
55
56
57
58
59
60
<?php

    $page_title = "blog posts";

    ob_start();

?>

<h1>blog posts</h1>

<p>here will be a bunch of blog posts regarding things. idk yet, this is a Future Autumn problem ^.^</p>

<table>
    <thead>

        <tr>
            <th>date</th>
            <th>title</th>
            <th>tags</th>
        </tr>

    </thead>
    <tbody>

        <tr>
            <td>2026-04-27</td>
            <td>
                <a href="/blog/2026-04-27">test page</a>
            </td>
            <td>meta</td>
        </tr>

    </tbody>
</table>

<style>
    table {
        width: 100%;

        th, td {
            padding: 0 4px;

            &:first-child {
                width: min-content;
            }

            &:nth-child(2) {
                width: 100%;
            }
        }
    }
</style>

<?php

    $page_content = ob_get_clean();

    include "_template.php";

?>