-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathindex.html
More file actions
49 lines (45 loc) · 1.32 KB
/
Copy pathindex.html
File metadata and controls
49 lines (45 loc) · 1.32 KB
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
---
layout: default
title: Sergey Maskalik's Blog
meta-description: Sergey Maskalik's Blog about programming and technologies.
meta-keywords: .net, c#, asp.net, mvc, developer, programming, blog
sitemap:
priority: 1
changefreq: daily
---
{% for post in paginator.posts %}
<article class="post" itemscope itemtype="http://schema.org/BlogPosting">
<header class="post-header">
<h1 class="post-title" itemprop="name">
<a href="{{ post.url }}" itemprop="url">{{ post.title}}</a>
</h1>
<span class="post-date">{% include post/date.html %}{{ time }}</span>
</header>
<section class="post-content">
{{ post.content }}
</section>
<div class="post-meta">
{% include post/tags.html %} {% include post/edit.html %}
</div>
</article>
{% endfor %}
<!-- Pagination links -->
<nav class="pagination">
{% if paginator.previous_page %}
<a
href="{{ paginator.previous_page_path | prepend: site.baseurl | replace: '//', '/' | replace: 'index.html', '' }}"
class="newer-posts"
>← Newer Posts</a
>
{% endif %}
<span class="page-number"
>Page: {{ paginator.page }} of {{ paginator.total_pages }}</span
>
{% if paginator.next_page %}
<a
href="{{ paginator.next_page_path | prepend: site.baseurl | replace: '//', '/' }}"
class="older-posts"
>Older Posts →</a
>
{% endif %}
</nav>