-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
138 lines (130 loc) · 4.1 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
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
---
title: Home
date: null
layout: null
permalink: null
categories: null
tags: null
---
<!doctype html>
<html lang="tr">
{% include head.html %}
<body>
{% include loading-screen.html %}
{% include header.html %}
<style>
main {
padding: 0 .5rem;
}
section.articles {
margin-top: 3rem;
}
article {
padding: .75rem 0;
}
div.article-categories {
margin-top: 1.5rem;
}
div.pagination {
margin-top: 1.5rem;
}
</style>
<main>
{% include author-bio.html %}
{% include author-links.html %}
{% if paginator and paginator.posts %}
<section class="articles">
<h1 class="compact">Son blog yazıları:</h1>
<hr/>
{% for post in paginator.posts %}
<article>
{% if post.title %}
<a href="{{ site.baseurl }}{{ post.url }}">
<h2 class="article-title compact">{{ post.title }}</h2>
</a>
{% endif %}
{% if post.date %}
<br/>
<time>{{ post.date | date: "%e %B %Y %A" | replace: "January", "Ocak" | replace: "February", "Şubat" |
replace: "March", "Mart" | replace: "April", "Nisan" | replace: "May", "Mayıs" | replace: "June",
"Haziran" | replace: "July", "Temmuz" | replace: "August", "Ağustos" | replace: "September", "Eylül" |
replace: "October", "Ekim" | replace: "November", "Kasım" | replace: "December", "Aralık" | replace:
"Sunday", "Pazar" | replace: "Monday", "Pazartesi" | replace: "Tuesday", "Salı" | replace: "Wednesday",
"Çarşamba" | replace: "Thursday", "Perşembe" | replace: "Friday", "Cuma" | replace: "Saturday",
"Cumartesi" }}
</time>
{% endif %}
{% if post.categories %}
<div class="article-categories">
{% for category in post.categories %}
<a href="#">[{{ category }}]</a>
{% endfor %}
</div>
{% endif %}
</article>
<hr/>
{% endfor %}
{% if paginator.total_pages > 1 %}
<!-- pagination -->
<div class="pagination">
{% if paginator.previous_page %}
<a href="{{ paginator.previous_page_path | relative_url }}">«</a>
{% else %}
<span>«</span>
{% endif %}
{% for page in (1..paginator.total_pages) %}
{% if page == paginator.page %}
<em>{{ page }}</em>
{% elsif page == 1 %}
<a href="{{ '/' | relative_url }}">[{{ page }}]</a>
{% else %}
<a href="{{ site.paginate_path | relative_url | replace: ':num', page }}">[{{ page }}]</a>
{% endif %}
{% endfor %}
{% if paginator.next_page %}
<a href="{{ paginator.next_page_path | relative_url }}">»</a>
{% else %}
<span>»</span>
{% endif %}
</div>
<!-- /pagination -->
{% endif %}
</section>
{% elsif site and site.posts %}
<section class="articles">
<hr/>
{% for post in site.posts %}
<article>
{% if post.title %}
<a href="{{ site.baseurl }}{{ post.url }}">
<h2 class="article-title compact">{{ post.title }}</h2>
</a>
{% endif %}
{% if post.date %}
<br/>
<time>{{ post.date | date: "%e %B %Y %A" }}</time>
{% endif %}
{% if post.categories %}
<div class="article-categories">
{% for category in post.categories %}
<a href="#">[{{ category }}]</a>
{% endfor %}
</div>
{% endif %}
</article>
<hr/>
{% endfor %}
</section>
{% else %}
<section>
No blog...
</section>
{% endif %}
</main>
{% include footer.html %}
{% include screen-interlacing.html %}
{% include screen-glare.html %}
{% include back-to-top.html %}
{% include vector-cluster-distribution.html %}
</body>
</html>