-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
72 lines (59 loc) · 1.66 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
{% extends "default.html" %}
{% block content %}
{# The main content area on the homepage #}
<main class="content" role="main">
{# Each post will be output using this markup #}
{% for post in posts %}
<article class="post">
<header class="post-header">
<span class="post-meta"><time datetime="{{ post.date }}">{{ post.date }}</time></span>
<h2 class="post-title"><a href="{{ post.link }}">{{ post.title }}</a></h2>
</header>
<section class="post-excerpt">
<p>{{ post.content }}…</p>
</section>
</article>
{% endfor %}
</main>
{% endblock %}
<!--
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>{{ config.title }}</title>
<meta name="viewport" content="width=device-width">
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<link rel="stylesheet" href="/css/main.css">
</head>
<body>
{% include "partials/navigation.html" %}
<header>
<section>
<h1>
{{ config.title }}
</h1>
</section>
</header>
<section id="posts" class="posts">
<ul>
{% for post in posts %}
<li>
<span>
{{ post.date }}
</span>
<article>
<a href="/{{ post.link }}">
{{ post.title }}
</a>
<section>
{{ post.content }}
</section>
</article>
</li>
{% endfor %}
</ul>
</section>
{% include "partials/footer.html" %}
</body>
</html>-->