blob: 505a78945255fe7bdbc15236a29faad090cf6a4f (
plain)
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
|
<!DOCTYPE html>
<html lang="en">
<head>
<link rel="stylesheet" href="/style.css">
<link rel="stylesheet" href="/syntax.css">
<meta charset="UTF-8">
<meta name="viewport" content="initial-scale=1">
<meta content="#ffffff" name="theme-color">
<meta name="HandheldFriendly" content="true">
<meta property="og:title" content="<%=$title%>">
<meta property="og:type" content="website">
<meta property="og:description" content="a static site {for, by, about} me ">
<meta property="og:url" content="https://peppe.rs">
<link rel="icon" type="image/x-icon" href="/favicon.png">
<title><%=$title%> ยท peppe.rs</title>
<body>
<div class="posts">
<div class="post">
<a href="/" class="post-end-link">Home</a>
<span>/</span>
<a href="/posts" class="post-end-link">Posts</a>
<span>/</span>
<a class="post-end-link"><%=$title%></a>
<a class="stats post-end-link" href="https://git.peppe.rs/web/site/plain/posts/<% basename $file%>">View Raw</a>
<div class="separator"></div>
<div class="date">
<%="$date"%>
<div class="stats">
<span class="stats-number">
<%="$height"%>
</span>
<span class="stats-unit">cm</span>
 
<span class="stats-number">
<%="$read_time"%>
</span>
<span class="stats-unit">min</span>
</div>
</div>
<h1>
<%=$title%>
</h1>
<div class="post-text">
<% pandoc --quiet -t html --highlight-style monochrome "$file" %>
</div>
<%= "$intro" %>
<a href="/" class="post-end-link">Home</a>
<span>/</span>
<a href="/posts" class="post-end-link">Posts</a>
<span>/</span>
<a class="post-end-link"><%=$title%></a>
<a class="stats post-end-link" href="https://raw.githubusercontent.com/nerdypepper/site/master/posts/<% basename $file%>">View Raw</a>
</div>
</div>
</body>
</html>
|