-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtemplate-post.html
More file actions
65 lines (56 loc) · 2.36 KB
/
template-post.html
File metadata and controls
65 lines (56 loc) · 2.36 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
<!DOCTYPE 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="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">
<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>