-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathblog.html
33 lines (32 loc) · 1.23 KB
/
blog.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
---
layout: default
title: Blog
subtitle: Um blog sobre Desenvolvimento de Software, Ciência de Dados e tecnologias recentes
---
<div data-router-view="name" class="home">
<h1 class="post-home-title">Tek Broon</h1>
<h5 class="post-home-subtitle"> {{ page.subtitle }} </h5>
{%- if site.posts.size > 0 -%}
<article class="post-home" itemscope itemtype="http://schema.org/BlogPosting">
<ul class="post-list">
{%- for post in site.posts -%}
<li class="post-block">
{%- if post.widget -%}
<a class="post-link" href="{{ post.url | relative_url }}" target="_self">
{%- else -%}
<a class="post-link" href="{{ post.url | relative_url }}">
{%- endif -%}
{%- assign date_format = site.minima.date_format | default: "%b %-d, %Y" -%}
<span>{{ post.date | date: date_format }}</span>
<h4 style="margin-top: 5px;"> {{ post.title | escape }} </h4>
<h6 style="margin-top: 5px;color: #bfbfbf;">{{ post.subtitle | strip_html | strip_newlines }}</h6>
{%- if site.show_excerpts -%}
{{ post.excerpt }}
{%- endif -%}
</a>
</li>
{%- endfor -%}
</ul>
</article>
{%- endif -%}
</div>