Quick onepage site from markdown with Pandoc

Create index.md with title as frontmatter

---
title: some title
---
Some text

create a template file that contains the html page code

<!doctype html>
<html lang="en">
  <head>
    <link rel="stylesheet" href="style.css" type="text/css" media="screen" />
    <meta charset="utf-8">
    <meta name="date" content='$date-meta$'>
    <title>$title$</title>
  </head>
  <body>
$body$
  </body>
</html>

update the html file with

pandoc --template template.html -o index.html index.md