-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
executable file
·46 lines (39 loc) · 1.52 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
---
layout: default
title: Leandro Oriente - Desenvolvedor Front End
description: Desenvolvedor Front End, fotógrafo amador e consultor da vida.
type: static
ref: index
---
<div class="container">
<div class="posts" id="posts" role="main" itemprop="mainContentOfPage" itemscope="itemscope" itemtype="http://schema.org/Blog">
{% for post in paginator.posts %}
<article class="post-item" itemscope="itemscope" itemtype="http://schema.org/BlogPosting" itemprop="blogPost">
<header class="post-header clearfix" itemprop="headline">
<h2 class="post-title">
<a itemprop="url" href="{{ post.url }}/">
<span itemprop="name">{{ post.title }}</span>
</a>
</h2>
<p class="post-date">{{ post.date | date_to_string }}</p>
<meta itemprop="datePublished" content="{{ post.date | date_to)xmlschema }}"/>
</header>
<div class="post-content">
<a href="{{ post.url }}/"><img itemprop="image" src="{{ post.image_highlight }}" alt="{{ post.title }}" class="img-rounded img-responsive post-highlight-image"></a>
<div class="post-excerpt" itemprop="text">
{% if post.content contains '<!--more-->' %}
{{ post.content | split:'<!--more-->' | first }}
{% else %}
{{ post.content }}
{% endif %}
</div> <!-- post-excerpt -->
</div> <!-- post-content -->
</article><!-- post-item -->
{% endfor %}
<div id="more-posts"></div>
</div>
{% include pagination.html %}
</div>
<script>
var TOTAL_PAGES = {{ paginator.total_pages }}
</script>