-
Notifications
You must be signed in to change notification settings - Fork 0
/
template-post.html
98 lines (89 loc) · 3.31 KB
/
template-post.html
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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
<!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/[email protected]/lib/plume-all.css"
rel="stylesheet"
rel="preload"
as="style"
media="all"
defer
/>
<link
rel="stylesheet"
href="https://unpkg.com/[email protected]/themes/{{blog_theme}}.css"
/>
<link
href="https://unpkg.com/[email protected]/themes/{{blog_prism_theme}}.min.css"
rel="stylesheet"
/>
<style>
:root {
--pm-paragraph-font-size: 1.1em;
--pm-paragraph-font-family: var(--pm-font-family-secondary);
}
.plume .pm-link,
.plume a {
font-size: var(--pm-paragraph-font-size);
}
.plume li {
font-family: var(--pm-font-family-secondary);
font-size: var(--pm-paragraph-font-size);
}
</style>
</head>
<body class="plume">
<div class="pm-container">
<h2>{{post_title}}</h2>
<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}}
<hr />
<p style="--pm-paragraph-font-size: 0.7em">
<a rel="license" href="http://creativecommons.org/licenses/by/4.0/"
><img
alt="Licença Creative Commons"
style="border-width: 0"
src="https://i.creativecommons.org/l/by/4.0/80x15.png" /></a
><br />Este obra está licenciado com uma Licença
<a rel="license" href="http://creativecommons.org/licenses/by/4.0/"
>Creative Commons Atribuição 4.0 Internacional</a
>.
</p>
</div>
<!-- Prism Code Highlighting -->
<script src="https://unpkg.com/[email protected]/components/prism-core.min.js"></script>
<script src="https://unpkg.com/[email protected]/plugins/autoloader/prism-autoloader.min.js"></script>
</body>
</html>