]> Witch of Git - web/blog/blob - _includes/layouts/post.njk
Add publish script
[web/blog] / _includes / layouts / post.njk
1 ---
2 layout: "layouts/layout.njk"
3 permalink: "/{{ page.date | date('YYYY') }}/{{ page.fileSlug }}/index.html"
4 ---
5 <article>
6 <header>
7 <h2>{{ title }}</h2>
8 <i class="dim">Published {{ page.date | date('YYYY-MM-DD') }}</i>
9 </header>
10 {{ content | safe }}
11 </article>