This commit is contained in:
mattbk
2017-03-09 12:49:48 -06:00
parent 5f407897a0
commit 0e49d6d961
2 changed files with 15 additions and 0 deletions

View File

@ -0,0 +1,9 @@
<h1 class="entry-title">
{% if page.title %}
<a href="{{ root_url }}{{ page.url }}">{{ page.title }}</a>
{% endif %}
{% if post.title %}
<a href="{{ root_url }}{{ post.url }}">{{ post.title }}</a>
{% endif %}
</h1>
<div class="entry-content">{{ content }}</div>

View File

@ -3,6 +3,12 @@ layout: default
title: {{ site.name }} title: {{ site.name }}
--- ---
<div class="blog-index">
{% assign post = site.posts.first %}
{% assign content = post.content %}
{% include post_detail.html %}
</div>
<div id="home"> <div id="home">
<h1>Blog Posts</h1> <h1>Blog Posts</h1>
<ul class="posts"> <ul class="posts">