diff options
author | Valentin Popov <valentineus@gmail.com> | 2018-01-06 15:12:53 +0300 |
---|---|---|
committer | Valentin Popov <valentineus@gmail.com> | 2018-01-06 15:12:53 +0300 |
commit | db5494dff0b2b8b344f37a2fa1d2f8b9c450098f (patch) | |
tree | e4fc2d8c97abe0bd28a0527de6696025f6699b0d /index.html | |
download | popov.link-db5494dff0b2b8b344f37a2fa1d2f8b9c450098f.tar.xz popov.link-db5494dff0b2b8b344f37a2fa1d2f8b9c450098f.zip |
Initial commit
Diffstat (limited to 'index.html')
-rw-r--r-- | index.html | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/index.html b/index.html new file mode 100644 index 0000000..ce4965c --- /dev/null +++ b/index.html @@ -0,0 +1,32 @@ +--- +layout: default +title: Home +--- + +<div class="catalogue"> + {% for post in paginator.posts %} + <a href="{{ post.url | prepend: site.baseurl }}" class="catalogue-item"> + <div> + <time datetime="{{ post.date }}" class="catalogue-time">{{ post.date | date: "%B %d, %Y" }}</time> + <h1 class="catalogue-title">{{ post.title }}</h1> + <div class="catalogue-line"></div> + + <p> + {{ post.content | truncatewords: 30 | strip_html }} + </p> + </div> + </a> + {% endfor %} +</div> + +<div class="pagination"> + {% if paginator.previous_page %} + <a href="{{ paginator.previous_page_path | prepend: site.baseurl }}" class="left arrow">←</a> + {% endif %} + + {% if paginator.next_page %} + <a href="{{ paginator.next_page_path | prepend: site.baseurl }}" class="right arrow">→</a> + {% endif %} + + <span>{{ paginator.page }}</span> +</div> |