Init
This commit is contained in:
20
templates/index.ftl
Normal file
20
templates/index.ftl
Normal file
@ -0,0 +1,20 @@
|
||||
<#include "header.ftl">
|
||||
|
||||
<#include "menu.ftl">
|
||||
|
||||
<div class="page-header">
|
||||
<h1>Blog</h1>
|
||||
</div>
|
||||
<#list posts as post>
|
||||
<#if (post.status == "published")>
|
||||
<a href="${post.uri}"><h1>${post.title}</h1></a>
|
||||
<p>${post.date?string("dd MMMM yyyy")}</p>
|
||||
<p>${post.body}</p>
|
||||
</#if>
|
||||
</#list>
|
||||
|
||||
<hr />
|
||||
|
||||
<p>Older posts are available in the <a href="${content.rootpath}${config.archive_file}">archive</a>.</p>
|
||||
|
||||
<#include "footer.ftl">
|
Reference in New Issue
Block a user