1post
Version:
A tiny, fast and fun static site generator
65 lines (56 loc) • 2.41 kB
HTML
<html lang="{{blog_locale}}">
<head>
<title>{{post_title}}</title>
<meta charset="UTF-8">
<!-- SEO -->
<meta name="author" content="{{blog_author}}">
<meta name="description" content="{{post_description}}">
<meta property="og:title" content="{{post_title}}">
<meta property="og:description" content="{{post_description}}">
<meta property="og:site_name" content="{{blog_title}}">
<meta property="og:url" content="{{post_url}}">
<meta property="og:image" content="{{blog_url}}/card.jpg"/>
<meta property="og:type" content="Website"/>
<meta property="og:image:width" content="1200" />
<meta property="og:image:height" content="627" />
<meta name="twitter:card" content="summary">
<meta name="twitter:site" content="{{blog_title}}">
<meta name="twitter:creator" content="{{blog_author}}">
<meta name="twitter:title" content="{{post_title}}">
<meta name="twitter:description" content="{{post_description}}">
<meta name="twitter:image:src" content="{{blog_url}}/card.jpg">
<!-- -->
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta http-equiv="Content-Language" content="{{blog_locale}}">
<meta name="viewport" content="width=device-width,initial-scale=1.0">
<meta name="generator" content="1POST" />
<link rel="icon" href="../../favicon.png">
<link href="https://unpkg.com/plume-css@1.0.13/lib/plume-all.css" rel="stylesheet" rel="preload" as="style" media="all" defer>
<link rel="stylesheet" href="https://unpkg.com/1post@1.0.3/themes/{{blog_theme}}.css">
<link href="https://unpkg.com/prismjs@1.28.0/themes/{{blog_prism_theme}}.min.css" rel="stylesheet" />
<style>
:root {
--pm-paragraph-font-size: 1.2em
}
.plume .pm-link, .plume a {
font-size: var(--pm-paragraph-font-size);
}
</style>
</head>
<body class="plume">
<div class="pm-container">
<h1>{{post_title}}</h1>
<p>
<a href="../..">← ← ←</a>
{{post_created_at_formated}} | <strong>{{blog_posted_by_hint}}</strong>
<a href="{{blog_author_url}}" target="_blank" rel="noreferrer noopener">{{blog_author}}</a>
</p>
<hr>
{{post}}
</div>
<!-- Prism Code Highlighting -->
<script src="https://unpkg.com/prismjs@1.28.0/components/prism-core.min.js"></script>
<script src="https://unpkg.com/prismjs@1.28.0/plugins/autoloader/prism-autoloader.min.js"></script>
</body>
</html>