You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

79 lines
2.5 KiB

5 years ago
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" lang="$lang$" xml:lang="$lang$"$if(dir)$ dir="$dir$"$endif$>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes" />
<meta name="author" content="Jonathan Hodgson" />
$if(date)$
<meta name="dcterms.date" content="$date$" />
$endif$
$if(description)$
<meta name="description" content="$description$" />
$endif$
$if(title)$
<title>$title$</title>
$else$
<title>Jonathan Hodgson's Blog</title>
$endif$
<link rel="stylesheet" href="/assets/css/main.min.css" type="text/css" charset="utf-8">
<link rel="alternate" href="/feed.rss" type="application/rss+xml">
<link rel="apple-touch-icon" sizes="180x180" href="/assets/favicons/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="/assets/favicons/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="/assets/favicons/favicon-16x16.png">
<link rel="manifest" href="/assets/favicons/site.webmanifest">
<link rel="mask-icon" href="/assets/favicons/safari-pinned-tab.svg" color="#282828">
<link rel="shortcut icon" href="/assets/favicons/favicon.ico">
<meta name="apple-mobile-web-app-title" content="Jonathan's Blog">
<meta name="application-name" content="Jonathan's Blog">
<meta name="msapplication-TileColor" content="#282828">
<meta name="msapplication-config" content="/assets/favicons/browserconfig.xml">
<meta name="theme-color" content="#282828">
5 years ago
</head>
<body>
<div class="container">
<main>
$if(frontpage)$
#CONTENT#
$else$
$if(archive)$
<h1>$title$</h1>
#CONTENT#
$else$
<article>
<h1>$title$</h1>
<div class="article-details">
<div class="date">
$date$
</div>
5 years ago
</div>
$body$
</article>
<script async defer src="https://commento.jonathanh.co.uk/js/commento.js" data-no-fonts="true"></script>
<div id="commento"></div>
$endif$
$endif$
</main>
<aside>
<a class="blog-name" href="/">
<img src="/assets/profile.svg" alt="My face"/>
$if(frontpage)$
<h1 class="blog-name">Jonathan Hodgson</h1>
$else$
<span class="blog-name">Jonathan Hodgson</span>
$endif$
</a>
<nav>
${ ../tmp/templates/taglist.html() }
</nav>
</aside>
</div>
<footer>
<a href="/help-me-out/">Help Me Out</a>
<a href="/other-stuff-you-might-like/">Other Stuff You Might Like</a>
<a href="https://git.jonathanh.co.uk/jab2870/Website">Website Source</a>
</footer>
5 years ago
</body>
</html>