diff options
| author | Autumn <git@autumnfo.rest> | 2026-04-29 21:22:39 +0100 |
|---|---|---|
| committer | Autumn <git@autumnfo.rest> | 2026-04-29 21:22:39 +0100 |
| commit | 7b7a4efe8a6619c22651a496ce42b7c89b986ab9 (patch) | |
| tree | cd034c9118e96d68a832dea473d425ab2b2648d4 /src/pages/blog.php | |
| parent | 78753f94aa7702720cc55d13ea9ba666bc81ad40 (diff) | |
[pages/blog] added index
Diffstat (limited to 'src/pages/blog.php')
| -rw-r--r-- | src/pages/blog.php | 60 |
1 files changed, 60 insertions, 0 deletions
diff --git a/src/pages/blog.php b/src/pages/blog.php new file mode 100644 index 0000000..c6a00fd --- /dev/null +++ b/src/pages/blog.php @@ -0,0 +1,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"; + +?> |
