basic layout and first blog posts
This commit is contained in:
28
index.html
28
index.html
@ -2,22 +2,18 @@
|
||||
layout: default
|
||||
---
|
||||
|
||||
<div class="home">
|
||||
|
||||
<h1 class="page-heading">Posts</h1>
|
||||
|
||||
<ul class="post-list">
|
||||
{% for post in site.posts %}
|
||||
<li>
|
||||
<span class="post-meta">{{ post.date | date: "%b %-d, %Y" }}</span>
|
||||
<h1 style="padding-left:160px; padding-bottom:20px;">
|
||||
{{ site.title }}
|
||||
</h1>
|
||||
|
||||
{% for post in site.posts %}
|
||||
<div class="post">
|
||||
<h2>
|
||||
<a class="post-link" href="{{ post.url | prepend: site.baseurl }}">{{ post.title }}</a>
|
||||
<a class="post-link" href="{{ post.url | prepend: site.baseurl }}">{{ post.title }}</a>
|
||||
</h2>
|
||||
</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
|
||||
<p class="rss-subscribe">subscribe <a href="{{ "/feed.xml" | prepend: site.baseurl }}">via RSS</a></p>
|
||||
|
||||
</div>
|
||||
<p class="date">
|
||||
{{ post.date | date: "%b %-d, %Y" }} {{ post.post_author }}
|
||||
</p>
|
||||
{{ post.content }}
|
||||
</div>
|
||||
{% endfor %}
|
||||
|
Reference in New Issue
Block a user