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
This commit is contained in:
35
blog/index.php
Normal file
35
blog/index.php
Normal file
@ -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>
|
Reference in New Issue
Block a user