blog: v1
This commit is contained in:
parent
c5caa29000
commit
a54006c45a
8 changed files with 128 additions and 0 deletions
33
blog/_layouts/default.html
Normal file
33
blog/_layouts/default.html
Normal file
|
@ -0,0 +1,33 @@
|
|||
<!DOCTYPE html>
|
||||
|
||||
<html>
|
||||
|
||||
<head>
|
||||
|
||||
<meta charset="utf-8" />
|
||||
<title>{{ page.title }}</title>
|
||||
<link rel="stylesheet" href="/shared/main.css" />
|
||||
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
||||
<h1>blog.lottepup.space - {{ page.title }}</h1>
|
||||
|
||||
<div class="content">
|
||||
|
||||
{{ content }}
|
||||
|
||||
</div>
|
||||
|
||||
<div class="footer">
|
||||
|
||||
<hr />
|
||||
<p>made by charlotte in 2025 :3 woof</p>
|
||||
<p>🐶</p>
|
||||
|
||||
</div>
|
||||
|
||||
</body>
|
||||
|
||||
</html>
|
8
blog/_layouts/post.html
Normal file
8
blog/_layouts/post.html
Normal file
|
@ -0,0 +1,8 @@
|
|||
---
|
||||
layout: default
|
||||
---
|
||||
<p><a href="/">< home</a></p>
|
||||
|
||||
<em>posted on {{ page.date }}</em>
|
||||
|
||||
{{ content }}
|
15
blog/_layouts/postlist.html
Normal file
15
blog/_layouts/postlist.html
Normal file
|
@ -0,0 +1,15 @@
|
|||
---
|
||||
layout: default
|
||||
---
|
||||
|
||||
{{ content }}
|
||||
|
||||
<h2>posts:</h2>
|
||||
|
||||
<ul>
|
||||
{% for post in site.posts %}
|
||||
<li>
|
||||
<a href="{{ post.url }}">[ {{ post.date }} ] {{ post.title }}</a>
|
||||
</li>
|
||||
{% endfor %}
|
||||
</ul>
|
Loading…
Add table
Add a link
Reference in a new issue