-<!doctype html>
-<html lang="en">
+<!doctype html> <html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
This blog is also available in <a href="./index.txt">txt</a>
and <a href="./feed.xml">rss</a>
</p>
- {{~ it.posts: post}}
- <article class="h-entry" id="{{= post.index + 1}}">
+ {{~ posts: post}}
+ <article class="h-entry" id="{{= post.index}}">
{{= post.html}}
</article>
<hr class="separator">
{{~}}
- {{? it.posts.length === 0}}
+ {{? !has_posts}}
<h1>This is a fresh blog!</h1>
<p>There are no posts yet.</p>
{{?}}