web/_layouts/home.html

46 lines
1.2 KiB
HTML
Raw Normal View History

2019-09-30 15:38:41 +03:00
---
layout: page
# The Home page layout
2020-01-02 16:17:49 +03:00
# v2.0
# https://github.com/cotes2020/jekyll-theme-chirpy
2019-09-30 15:38:41 +03:00
# © 2017-2019 Cotes Chung
# MIT Licensed
---
{% include date-format.html %}
<div id="post-list">
{% for post in paginator.posts %}
<div class="post-preview">
<h1>
<a href="{{ site.baseurl }}{{ post.url }}">{{ post.title }}</a>
</h1>
<div class="post-content">
<p>
2019-12-22 19:55:51 +03:00
{{ post.content | strip_html | truncate: 200 | replace: '&', '&amp;' }}
2019-09-30 15:38:41 +03:00
</p>
</div>
<div class="post-meta text-muted pt-1">
<!-- posted date -->
<i class="far fa-clock fa-fw"></i>
2020-02-17 22:23:21 +03:00
<span class="timeago" data-toggle="tooltip" data-placement="bottom" title="{{ post.date | date: TOOLTIP_DATE }}">
2019-09-30 15:38:41 +03:00
{{ post.date | date: POST_DATE }}
<i class="unloaded">{{ post.date | date_to_xmlschema }}</i>
2019-09-30 15:38:41 +03:00
</span>
<!-- page views -->
{% if site.google_analytics.pv %}
<i class="far fa-eye fa-fw"></i>
<span id="pv_{{-post.title-}}" class="pageviews">
2019-12-17 14:26:11 +03:00
<i class="fas fa-spinner fa-spin fa-fw"></i>
2019-09-30 15:38:41 +03:00
</span>
{% endif %}
</div>
</div> <!-- .post-review -->
{% endfor %}
</div> <!-- #post-list -->
{% if paginator.total_pages > 0 %}
2020-02-22 02:09:09 +03:00
{% include post-paginator.html %}
2019-09-30 15:38:41 +03:00
{% endif %}