Sample templates

This commit is contained in:
Clément GOUIN
2019-06-21 11:38:13 +02:00
parent 193e7f62cb
commit 17db174926
6 changed files with 461 additions and 13 deletions
+12 -4
View File
@@ -2,12 +2,20 @@
<html lang="en">
<head>
<meta charset="UTF-8">
<title>GitBlog.md - Home</title>
<link rel="stylesheet" type="text/css" href="style.css">
<title>GitBlog.md - <%= article.title %></title>
<link rel="stylesheet" type="text/css" href="/prism.css">
<link rel="stylesheet" type="text/css" href="/style.css">
</head>
<body>
<main>
<%- article.content %>
<main class="article">
<div class="header">
<a class="link-home" href="/">↑</a>
<h1><%= article.title %></h1>
<span class="time"><span>Published on</span> <%= article.year + '-' + article.month + '-' + article.day %></span>
</div>
<div id="text"><%- article.content %></div>
<hr>
<a href="#top">Go to top</a> - <a href="/">Back to home</a>
</main>
</body>
</html>