diff options
Diffstat (limited to 'src')
| -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"; + +?> |
