-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
67 lines (65 loc) · 2.54 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
---
layout: default
title: "Blog"
description: "ArrowOS is an AOSP based project started with the aim of keeping things simple, clean and neat. We added just the right and mostly used stuff that will be actually USEFUL at the end of the day, aiming to deliver smooth performance with better battery life"
pagination:
enabled: true
---
<div class="article-list-device-tag-footer">
<div class="article-list-device-tag">
{% for post in paginator.posts %}
{% if post.device-tag and post.device-tag != blank %}
<a href="{{ 'posts/' | relative_url }}{{ post.device-tag }}" title="See all posts of this device"><span class="dott">{{ post.device-tag }}</span></a>
{% endif %}
{% endfor %}
</div>
</div>
<ul class="article-list">
{% for post in paginator.posts %}
<li class="article-list-item {% if site.scrollappear_enabled %}scrollappear{% endif %}">
<a href="{{ post.url | relative_url }}" title="{{ post.title }}">
<h5>
{{ post.title }}
{% include svg-icon.html icon="arrow-right" %}
</h5>
</a>
<p>
{% if post.description %}
{{ post.description }}
{% else %}
{{ post.excerpt }}
{% endif %}
</p>
<div class="article-list-footer">
<span class="article-list-date">
{{ post.date | date: "%B %-d, %Y" }}
</span>
<span class="article-list-divider">-</span>
<span class="article-list-minutes">
{% capture words %}
{{ post.content | number_of_words }}
{% endcapture %}
{% unless words contains "-" %}
{{ words | plus: 250 | divided_by: 250 | append: " minute read" }}
{% endunless %}
</span>
<span class="article-list-divider">-</span>
<div class="article-list-tags">
{% for tag in post.tags %}
<a href="{{ 'tag/' | relative_url }}{{ tag }}">{{ tag }}</a>
{% endfor %}
</div>
</div>
</li>
{% endfor %}
{% if paginator.total_pages > 1 %}
<li class="article-pagination {% if site.settings.scrollappear_enabled %}scrollappear{% endif %}">
{% if paginator.next_page %}
<a href="{{ paginator.next_page_path }}" class="article-pagination-left">{% include svg-icon.html icon="arrow-left" %} Older posts</a>
{% endif %}
{% if paginator.previous_page %}
<a href="{{ paginator.previous_page_path }}" class="article-pagination-right">Newer posts {% include svg-icon.html icon="arrow-right" %}</a>
{% endif %}
</li>
{% endif %}
</ul>