-
Notifications
You must be signed in to change notification settings - Fork 62
/
index.html
106 lines (103 loc) · 3.46 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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
---
layout: default
title: "Yegor's Blog About Computers"
description: |
Yegor Bugayenko blogging about object-oriented programming, Java,
project management, philosophy, and startup investments;
at least one new post every week.
image: /images/face-1200x1200.jpg
sitemap: false
keywords:
- java blog
- java
- software development blog
- programming blog
- yegor bugayenko blog
- quality of software
- software blog
- high quality programming
---
<div itemscope="" itemtype="http://schema.org/Blog">
{% for post in paginator.posts %}
{% if post.noindex %}
{% else %}
<div class="wrapper">
<section class="front" itemprop="blogPosts" itemscope="" itemtype="http://schema.org/BlogPosting">
<article>
<header>
<h1>
<a href="{{ post.url }}">
<span itemprop="name headline mainEntityOfPage">{{ post.title }}</span>
</a>
</h1>
<ul class="subline">
<li>
<time itemprop="datePublished dateModified" datetime="{{ post.date | date_to_xmlschema }}">
{{ post.date | date: "%-d %B %Y" }}
</time>
</li>
<li itemprop="wordCount">
{{ post.content | number_of_words | append: ' words' }}
</li>
<li>
{% capture words %}
{{ post.content | number_of_words | minus: 180 }}
{% endcapture %}
{% unless words contains '-' %}
{{ words | plus: 180 | divided_by: 180 | append: ' minutes to read' }}
{% endunless %}
</li>
<li>
<i class="icon icon-comments"></i>
<a href="{{ site.url }}{{ post.url }}#disqus_thread" itemprop="discussionUrl">comments</a>
</li>
{% if post.chatgpt-translate.model %}
<li title="This article is translated to a few languages by ChatGPT">
<i class="icon icon-chatgpt"></i>
</li>
{% endif %}
</ul>
</header>
<div class="main" itemprop="description">
{{ post.excerpt }}
</div>
<p>
<a href="{{ post.url }}" itemprop="url">
Continue...
</a>
</p>
</article>
</section>
</div>
{% endif %}
{% endfor %}
</div>
<div class="wrapper">
<footer>
<div class="pagination">
<div class="left">
{% if paginator.previous_page %}
{% if paginator.previous_page == 1 %}
<a href="/"><i class="icon icon-fast-backward"></i></a>
{% else %}
<a href="/p/{{ paginator.previous_page }}"><i class="icon icon-fast-backward"></i></a>
{% endif %}
{% else %}
<span class="mute"><i class="icon icon-fast-backward"></i></span>
{% endif %}
</div>
page {{ paginator.page }} of {{ paginator.total_pages }}
<div class="right">
{% if paginator.next_page %}
<a href="/p/{{ paginator.next_page }}"><i class="icon icon-fast-forward"></i></a>
{% else %}
<span class="mute"><i class="icon icon-fast-forward"></i></span>
{% endif %}
</div>
</div>
</footer>
</div>
{% if jekyll.environment == "production" %}
<script>var disqus_shortname = 'yegor256';</script>
<script id="dsq-count-scr" src="//yegor256.disqus.com/count.js" async="async"></script>
{% endif %}