diff --git a/_layouts/home.html b/_layouts/home.html index 5e71126..a06e091 100644 --- a/_layouts/home.html +++ b/_layouts/home.html @@ -2,4 +2,27 @@ layout: default --- -{{ content }} + + +
+{% for post in site.posts %} +
+
+

+ {{ post.title }} +

+

{% if post.excerpt %} + {{ post.excerpt | markdownify | strip_html }} + {% else %} + {{ post.content | markdownify | strip_html | truncate: 160 }} + {% endif %}

+
+
+{% endfor %} +
diff --git a/index.md b/index.md index bebb603..e4d427d 100644 --- a/index.md +++ b/index.md @@ -1,28 +1,3 @@ --- layout: home --- - - - -
-{% for post in site.posts %} -
-
-

- {{ post.title }} -

-

{% if post.excerpt %} - {{ post.excerpt | markdownify | strip_html }} - {% else %} - {{ post.content | markdownify | strip_html | truncate: 160 }} - {% endif %}

-
-
-{% endfor %} -