feat: add post layout (wip)
This commit is contained in:
parent
0de2968fa0
commit
a65a26ebe4
9 changed files with 55 additions and 15 deletions
14
src/_layouts/post.html
Normal file
14
src/_layouts/post.html
Normal file
|
@ -0,0 +1,14 @@
|
|||
---
|
||||
layout: base
|
||||
---
|
||||
|
||||
<p>{{ date }}</p>
|
||||
|
||||
<h1>{{ title }}</h1>
|
||||
|
||||
<ul>
|
||||
{% for category in categories %}
|
||||
<li>#{{ category }}</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
{{ content | safe }}
|
Loading…
Add table
Add a link
Reference in a new issue