Intial Commit
This commit is contained in:
34
index.html
Normal file
34
index.html
Normal file
@@ -0,0 +1,34 @@
|
||||
---
|
||||
layout: default
|
||||
---
|
||||
{% assign posts_count = paginator.posts | size %}
|
||||
|
||||
<div class="home">
|
||||
{% if posts_count > 0 %}
|
||||
<div class="posts">
|
||||
{% for post in paginator.posts %}
|
||||
<div class="post py3">
|
||||
<p class="post-meta">
|
||||
{% if site.date_format %}
|
||||
{{ post.date | date: site.date_format }}
|
||||
{% else %}
|
||||
{{ post.date | date: "%b %-d, %Y" }}
|
||||
{% endif %}
|
||||
</p>
|
||||
<a href="{{ post.url | relative_url }}" class="post-link"><h3 class="h1 post-title">{{ post.title }}</h3></a>
|
||||
<span class="post-summary">
|
||||
{% if post.summary %}
|
||||
{{ post.summary }}
|
||||
{% else %}
|
||||
{{ post.excerpt }}
|
||||
{% endif %}
|
||||
</span>
|
||||
</div>
|
||||
{% endfor %}
|
||||
</div>
|
||||
|
||||
{% include pagination.html %}
|
||||
{% else %}
|
||||
<h1 class='center'>{{ site.text.index.coming_soon }}</h1>
|
||||
{% endif %}
|
||||
</div>
|
Reference in New Issue
Block a user