-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
66 lines (54 loc) · 2.19 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
---
layout: default
title: Home
cover: true
about: 'about.html'
project: 'projects.html'
archives: 'archives.html'
---
<header class="site-head" {% if page.cover %} style="background-image: url(assets/images/header.png)"{% endif%}>
<div class="vertical">
<div class="site-head-content" class="inner">
{% if page.logo %}
<a class="blog-logo" href="{{ site.baseurl }}">
<img src="{{ page.logo}}" alt="Blog Logo" />
</a>
{% endif %}
<h1 class="blog-title">{{ site.name}}</h1>
<h2 class="blog-description">
{{ site.description }}
{% if page.about %}
<a href='{{site.baseurl}}{{ page.about }}'> Sobre mim</a> |
{% if page.archives %} <a href='{{ site.baseurl }}{{ page.archives }}'> Arquivos</a>{% endif %} |
<a href='projects'> Projetos</a>
{% endif %}
</h2>
</div>
</div>
</header>
<main class="content" role="main">
{% for post in paginator.posts %}
<article class="post">
<header class="post-header">
<span class="post-meta"><time datetime="{{ post.date | date_to_string }}">{{ post.date | date_to_string }}</time> {{!tags prefix="on "}}</span>
<h2 class="post-title"><a href="{{ post.url}}">{{ post.title }}</a></h2>
</header>
<section class="post-excerpt">
{{post.excerpt}}
</section>
</article>
{% endfor %}
<nav class="pagination" role="pagination">
{% if paginator.previous_page %}
{% if paginator.previous_page == 1 %}
<a class="newer-posts" href="/" title="Previous Page">« Newer Posts</a>
{% else %}
<a class="newer-posts" href="/page{{ paginator.previous_page }}/" title="Previous Page">« Newer Posts</a>
{% endif %}
{% endif %}
<span class="page-number"> Page {{paginator.page}} of {{paginator.total_pages}} </span>
{% if paginator.next_page %}
<a class="older-posts" href="/page{{ paginator.next_page }}/" title="Next Page">Older Posts »</a>
{% endif %}
</nav>
</main>