big update: simplifying + pandoc
This commit is contained in:
38
templates/post.html
Normal file
38
templates/post.html
Normal file
@@ -0,0 +1,38 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
$for(author-meta)$
|
||||
<meta name="author" content="$author-meta$" />
|
||||
$endfor$
|
||||
$if(date-meta)$
|
||||
<meta name="dcterms.date" content="$date-meta$" />
|
||||
$endif$
|
||||
<title>$pagetitle$</title>
|
||||
$for(css)$
|
||||
<link rel="stylesheet" href="$css$" />
|
||||
$endfor$
|
||||
</head>
|
||||
<body>
|
||||
<header>
|
||||
<h1>Michael Thomson</h1>
|
||||
<nav>
|
||||
<a href="blog">Blog</a>
|
||||
<a href="about">About</a>
|
||||
<a href="contact">Contact</a>
|
||||
</nav>
|
||||
</header>
|
||||
$if(title)$
|
||||
<h1 class="title">$title$</h1>
|
||||
$endif$
|
||||
$if(subtitle)$
|
||||
<p class="subtitle">$subtitle$</p>
|
||||
$endif$
|
||||
$for(author)$
|
||||
<p class="author">$author$</p>
|
||||
$endfor$
|
||||
$if(date)$
|
||||
<p class="date">$date$</p>
|
||||
$endif$
|
||||
$body$
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user