This commit is contained in:
ryliejamesthomas 2020-07-07 14:11:26 +10:00
parent 388445c0cf
commit b18a42605e
10 changed files with 187 additions and 2 deletions

5
.editorconfig Normal file
View File

@ -0,0 +1,5 @@
root = true
[*]
indent_style = tab
indent_size = 4

View File

@ -0,0 +1,5 @@
<article id="another-example-post">
<time datetime="2019-02-09 00:11K">2019-02-09 00:11 <abbr title="Australian Eastern Daylight Time">AEDT</abbr></time>
<h3>Another Example Post</h3>
<p>Here's a another one!</p>
</article>

View File

@ -0,0 +1,6 @@
<article id="example-post">
<time datetime="2019-06-09 00:11K">2019-06-09 00:11 <abbr title="Australian Eastern Daylight Time">AEDT</abbr></time>
<h3>Example Post</h3>
<p>Here's a wee example of what a web-log post looks like.</p>
<p>You can add whatever <abbr title="Hypertext Markup Language">HTML</abbr> you want in here :)</p>
</article>

43
2019/index.php Executable file
View File

@ -0,0 +1,43 @@
<!DOCTYPE html>
<html lang="en-AU">
<head>
<meta charset="UTF-8">
<title>BB Web-log Example&#65295;Demo.</title>
<meta name="author" content="">
<meta name="description" content="">
<meta name="keywords" content="">
<link rel="stylesheet" type="text/css" href="../basic.css" >
<link rel="alternate" type="application/rss+xml" title="RSS 2.0" href="../feed-rss2.xml">
</head>
<body>
<header id="top">
<section>
<h1>BB Web-log Example&#65295;Demo.</h1>
<p><a href="../feed-rss2.xml" target="_blank">Read via <abbr title="Rich Site Summary">RSS</abbr> feed</a>.</p>
</section>
<nav>
<p>Year:</p>
<ol>
<li><a href="../">2020</a></li>
<li>2019&#9756;</li>
<li>et cetera</li>
</ol>
</nav>
</header>
<main>
<?php
foreach (array_reverse(glob("*.html")) as $filename) {
include $filename;
}
?>
</main>
<footer>
<nav>
<ul>
<li><a href="../">Web-log Home</a></li>
<li><a href="#top">Page Top</a></li>
</ul>
</nav>
</footer>
</body>
</html>

View File

@ -0,0 +1,5 @@
<article id="another-example-post">
<time datetime="2020-02-09 00:11K">2020-02-09 00:11 <abbr title="Australian Eastern Daylight Time">AEDT</abbr></time>
<h3>Another Example Post</h3>
<p>Here's a another one!</p>
</article>

View File

@ -0,0 +1,6 @@
<article id="example-post">
<time datetime="2020-06-09 00:11K">2020-06-09 00:11 <abbr title="Australian Eastern Daylight Time">AEDT</abbr></time>
<h3>Example Post</h3>
<p>Here's a wee example of what a web-log post looks like.</p>
<p>You can add whatever <abbr title="Hypertext Markup Language">HTML</abbr> you want in here :)</p>
</article>

View File

View File

@ -1,2 +0,0 @@
# bb_web-log

74
basic.css Normal file
View File

@ -0,0 +1,74 @@
abbr {
font-variant-caps:all-small-caps;
}
abbr.acronym {
font-variant-caps:small-caps;
}
abbr[title] {
cursor:help;
}
article,
nav,
section {
border-style:solid;
border-width:1px;
margin:1em 0;
padding:1em;
}
blockquote > cite::before {
content:"\2014";
margin-right:0.2em;
}
body {
margin-left:auto;
margin-right:auto;
width:33em;
}
code,
pre {
overflow-x:auto;
tab-size:4;
-moz-tab-size:4;
}
footer > nav ul,
header > nav ol,
header > nav p {
margin:0;
padding:0;
}
footer > nav ul,
header > nav ol {
list-style:none;
}
footer > nav ul li,
header > nav ol li,
header > nav p,
header > nav ol {
display:inline-block;
}
footer > nav ul li:not(:first-child)::before,
header > nav ol li:not(:first-child)::before {
content:"\FF0F";
margin-right:0.25em;
}
img {
max-width:100%;
vertical-align:text-bottom;
width:auto;
}
q {
quotes:"\2018" "\2019" "\201C" "\201D";
}

43
index.php Executable file
View File

@ -0,0 +1,43 @@
<!DOCTYPE html>
<html lang="en-AU">
<head>
<meta charset="UTF-8">
<title>BB Web-log Example&#65295;Demo.</title>
<meta name="author" content="">
<meta name="description" content="">
<meta name="keywords" content="">
<link rel="stylesheet" type="text/css" href="basic.css" >
<link rel="alternate" type="application/rss+xml" title="RSS 2.0" href="feed-rss2.xml">
</head>
<body>
<header id="top">
<section>
<h1>BB Web-log Example&#65295;Demo.</h1>
<p><a href="feed-rss2.xml" target="_blank">Read via <abbr title="Rich Site Summary">RSS</abbr> feed</a>.</p>
</section>
<nav>
<p>Year:</p>
<ol>
<li>2020&#9756;</li>
<li><a href="2019/">2019</a></li>
<li>et cetera</li>
</ol>
</nav>
</header>
<main>
<?php
foreach (array_reverse(glob("2020/*.html")) as $filename) {
include $filename;
}
?>
</main>
<footer>
<nav>
<ul>
<li>Web-log Home</li>
<li><a href="#top">Page Top</a></li>
</ul>
</nav>
</footer>
</body>
</html>