Simplify include structure

This commit is contained in:
Ian Gulliver
2019-04-14 22:49:16 +00:00
parent f967a85482
commit 203f9150e2
8 changed files with 34 additions and 36 deletions

View File

@@ -1 +0,0 @@
<hr>

View File

@@ -1,11 +0,0 @@
<!--# if expr="$date" -->
<aside>
<h4><!--# echo var="date" --></h4>
</aside>
<!--# endif -->
<!--# if expr="$title" -->
<h2><!--# echo var="title" --></h2>
<!--# endif -->
<hr>

View File

@@ -1,10 +1,14 @@
<!--# include file="article-footer.html" -->
<hr>
<!--# if expr="$title" -->
</article>
<!--# endif -->
</main>
<!--# include file="page-footer.html" -->
<footer>
<h1>*</h1>
</footer>
</body>
</html>

View File

@@ -1,3 +0,0 @@
<footer>
<h1>*</h1>
</footer>

View File

@@ -1,10 +0,0 @@
<head>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta charset="UTF-8">
<meta name="theme-color" content="#000000">
<link rel="shortcut icon" href="data:image/x-icon;," type="image/x-icon">
<style>
<!--# include file="style.css" -->
</style>
<title><!--# echo var="title" default="where the flamingcow roams" --></title>
</head>

View File

@@ -1,3 +0,0 @@
<header>
<h1><a href="https://firestuff.org/">where the flamingcow roams</a></h1>
</header>

View File

@@ -1,2 +0,0 @@
<!DOCTYPE html>
<html lang="en">

View File

@@ -1,8 +1,22 @@
<!--# include file="page-html.html" -->
<!--# include file="page-head.html" -->
<!DOCTYPE html>
<html lang="en">
<head>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta charset="UTF-8">
<meta name="theme-color" content="#000000">
<link rel="shortcut icon" href="data:image/x-icon;," type="image/x-icon">
<style>
<!--# include file="style.css" -->
</style>
<title><!--# echo var="title" default="where the flamingcow roams" --></title>
</head>
<body>
<!--# include file="page-header.html" -->
<header>
<h1><a href="https://firestuff.org/">where the flamingcow roams</a></h1>
</header>
<main>
@@ -10,4 +24,14 @@
<article>
<!--# endif -->
<!--# include file="article-header.html" -->
<!--# if expr="$date" -->
<aside>
<h4><!--# echo var="date" --></h4>
</aside>
<!--# endif -->
<!--# if expr="$title" -->
<h2><!--# echo var="title" --></h2>
<!--# endif -->
<hr>