-
Notifications
You must be signed in to change notification settings - Fork 9
/
index.html
53 lines (48 loc) · 1.44 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
---
layout: default
last_modified_at: 2022-04-05
---
{% assign posts = site.posts | where_exp:"post","post.draft == false" %}
<h1 class="ta-c">
<span class="text-light">The</span> Simple Analytics
<span class="text-light">Blog</span>
</h1>
<p class="ta-c">
Follow our journey to fight for privacy & against Google Analytics.
</p>
<div class="related">
<ul class="related-posts mb-2">
{% assign index = 0 %} {% for post in posts limit:100 %} {% if post.lang ==
null or post.lang == 'en' %}
<li>
<h2>
<a href="{{ post.url }}">
{{ post.title }}{% if post.badge %}<span
class="title-badge"
data-badge="{{ post.badge | downcase }}"
>{{ post.badge }}</span
>{% endif %}
</a>
{% include languages.html location="homepage" %}
<p class="mt-0">
<span class="text-muted"
>{{ post.date | date_to_string: "ordinal", "US" }} by {{ post.author
}}</span
>
- {{ post.excerpt | strip_html | replace: '"', '"' | replace: '
</p>
', '' | replace: '
<p>
', '' }}
<a href="{{ post.url }}">Read more</a>
</p>
</h2>
</li>
{% if index == 1 %}
</ul>
{% include subscribe.html %}
<ul class="related-posts">
{% endif %} {% assign index = index | plus:1 %} {% endif %} {% endfor %}
</ul>
</div>
<div class="mt-3">{% include subscribe.html %}</div>