diff options
| author | Hannah Isopod <me@bathynomus.xyz> | 2025-11-09 08:58:02 -0700 |
|---|---|---|
| committer | Hannah Isopod <me@bathynomus.xyz> | 2025-11-09 08:58:02 -0700 |
| commit | 16e48ed8655528a81cbec84f0cbc1a211d663b37 (patch) | |
| tree | a567a674392f08f24274fc8803323ebf6df7ad36 /blog/posts/blog_questions/index.md | |
| parent | 9792b0963772d8657e8c32bdd647995250daaada (diff) | |
Probably final commit before the redesign
Routine updates to various pages
Accessibility fix in /guestbook
Updated /uses im pretty sure
Reorganized /blog/ a little under the hood
Diffstat (limited to 'blog/posts/blog_questions/index.md')
| -rw-r--r-- | blog/posts/blog_questions/index.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/blog/posts/blog_questions/index.md b/blog/posts/blog_questions/index.md index 4f6ac6b..af44d9f 100644 --- a/blog/posts/blog_questions/index.md +++ b/blog/posts/blog_questions/index.md @@ -17,7 +17,7 @@ The backend for my blog is built around its RSS feed, which is to say, the autho The posts themselves are stored as Markdown files with a smattering of HTML mixed in for the really custom stuff, and there's a second PHP file that renders them using a third-party PHP Markdown parser called [Parsedown](https://github.com/erusev/parsedown) (which, fun fact, is also responsible for the Markdown support in the comment section). The only unfortunate thing here is every markdown file has to be accompanied by a stub index.php that just `include`s the main post rendering script, but it's not like I ever have to touch those so it's fine. Here, I'll put all the code that's in every single one right here: ``` -<?php include("../post.php"); +<?php include($_SERVER['DOCUMENT_ROOT'] . '/blog/post.php'); ``` The comment section is fully custom too, and shares a backend with the [guestbook](/guestbook/). At its core it's all just PHP forms with a single JSON file as the database, which is more than fine at the scale I'm operating at. Everything else is just gravy, although there is at this point quite a preponderance of gravy. |
