diff options
author | Squibid <me@zacharyscheiman.com> | 2023-10-30 12:47:55 -0400 |
---|---|---|
committer | Squibid <me@zacharyscheiman.com> | 2023-10-30 12:47:55 -0400 |
commit | 1bc1454b9312e4322d486437055408d1ff35fb22 (patch) | |
tree | 98b270badb82304f520414c35ac8d6b25d7ea466 /blog/index.php | |
parent | 2d90cc615120fcc892c1b22a2d00578b1c486c72 (diff) | |
download | site-1bc1454b9312e4322d486437055408d1ff35fb22.tar.gz site-1bc1454b9312e4322d486437055408d1ff35fb22.tar.bz2 site-1bc1454b9312e4322d486437055408d1ff35fb22.zip |
New blog entry and changes to how blogs are displayed
- blogs are now in subdirs
- blog list is generated through helper function
- full blog list is in blog subdir
Diffstat (limited to 'blog/index.php')
-rw-r--r-- | blog/index.php | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/blog/index.php b/blog/index.php new file mode 100644 index 0000000..d60a42d --- /dev/null +++ b/blog/index.php @@ -0,0 +1,35 @@ +<!DOCTYPE HTML> +<html lang="en"> + <head> + <title>Squibid's Blog</title> + <link rel="stylesheet" href="style.css"> + <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> + <meta name="viewport" content="width=device-width, initial-scale=1.0"> + </head> + <style type="text/css"> + #bloglist { + text-align: left; + font-size: 2ch; + } + p#bloglist span { + float: right; + color: white; + } + </style> + <body style="background-color: #161617;"> + <div id="master"> + <header> + <h1 id="font", style="margin-bottom: 0"> + <a href="/">Squibid's</a> Blog + </h1> + </header> + <hr style="color: #f7f7f7;"> + <p id="bloglist"> + <?php include(__DIR__.'/../misc/tools.php'); entries("../blog"); ?> + </p> + <h2 id="font" style="text-align: center; margin-top: 0;"> + <a href="/blog/rss.xml", title="rss">subscribe</a> + </h2> + </div> + </body> +</html> |