Skip to content

Commit 9fc9bfc

Browse files
authored
Add post layout template in post.html
1 parent 3aa4f6a commit 9fc9bfc

1 file changed

Lines changed: 20 additions & 0 deletions

File tree

‎_layouts/post.html‎

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
<!DOCTYPE html>
2+
<html lang="en">
3+
<head>
4+
<meta charset="UTF-8">
5+
<title>{{ page.title }} | DevLabStudy</title>
6+
<style>
7+
body { font-family: -apple-system, sans-serif; max-width: 800px; margin: 40px auto; padding: 20px; line-height: 1.6; }
8+
a { color: #2563eb; text-decoration: none; }
9+
</style>
10+
</head>
11+
<body>
12+
<a href="/">&larr; Wróć do Dashboardu</a>
13+
<h1>{{ page.title }}</h1>
14+
<p><em>{{ page.date | date: "%Y-%m-%d" }}</em></p>
15+
16+
<article>
17+
{{ content }}
18+
</article>
19+
</body>
20+
</html>

0 commit comments

Comments
 (0)