Initial commit

This commit is contained in:
2023-11-19 10:42:13 +01:00
parent 3586127c15
commit 77e68a05a2
26 changed files with 1757 additions and 7 deletions

25
spec/fixtures/_layouts/post.html vendored Normal file
View File

@ -0,0 +1,25 @@
---
layout: default
---
<div class="post">
<h1 class="post-title">{{ page.title }}</h1>
<span class="post-date">{{ page.date | date_to_string }}</span>
{{ content }}
</div>
<div class="related">
<h2>Related Posts</h2>
<ul class="related-posts">
{% for post in site.related_posts limit:3 %}
<li>
<h3>
<a href="{{ post.url | prepend: site.baseurl | prepend: site.url }}">
{{ post.title }}
<small>{{ post.date | date_to_string }}</small>
</a>
</h3>
</li>
{% endfor %}
</ul>
</div>