-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
126 lines (117 loc) · 4.53 KB
/
index.html
File metadata and controls
126 lines (117 loc) · 4.53 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
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
---
layout: default
description: Uma comunidade de desenvolvimento que ama cafeína e algoritmos (lê as últimas publicações e visualiza os últimos vídeos publicados).
keywords: comunidade, desenvolvimento, cafeína, algoritmos, publicações, vídeos
---
<div id="main">
<div id="blog" class="blog" style="padding-bottom: 60px">
<div class="container-fluid">
<div class="row">
<div class="col-md-12">
<h1 class="heading" style="position: fixed; top: -100px">
Caffeine Algorithm
</h1>
<span class="heading-meta">Ler</span>
<h2 class="heading">Últimas Publicações</h2>
</div>
</div>
<div class="row">
<div class="col-md-12 col-lg-12">
<div class="sidebar-block-content">
{% for post in site.posts limit:3 %} {% assign month = post.date |
date: "%-m" %} {% capture months %} {% case month %} {% when '1'
%}Janeiro{% when '2' %}Fevereiro{% when '3' %}Março{% when '4'
%}Abril{% when '5' %}Maio{% when '6' %}Junho{% when '7' %}Julho{%
when '8' %}Agosto{% when '9' %}Setembro{% when '10' %}Outubro{% when
'11' %}Novembro{% when '12' %}Dezembro{% endcase %}{% endcapture %}
<div class="blog-entry">
<div class="desc">
<span
>{{ post.date | date: '%-d' }} {{ months }}, {{ post.date |
date: '%Y' }} | {% for category in post.categories %}<a
href="{{ '/categorias/#' | prepend: site.baseurl | prepend: site.url }}{{ category }}"
>{{ category }}{% unless forloop.last %}, {% endunless
%}</a
>
{% endfor %}
</span>
<h3>
<a
href="{{ '/' | prepend: site.baseurl | prepend: site.url }}{{ post.url | remove_first: '/' }}"
title="{{ post.title }}"
>
{{ post.title }}
</a>
</h3>
<p class="post-content">
{{ post.content | strip_html | truncatewords: 45 }}
</p>
<p>
<a
href="{{ '/' | prepend: site.baseurl | prepend: site.url }}{{ post.url | remove_first: '/' }}"
class="lead"
>
Ler mais <i class="ti-shift-right-alt"></i>
</a>
</p>
</div>
</div>
{% endfor %}
</div>
</div>
</div>
</div>
<div class="container-fluid">
<div class="row">
<div class="col-md-12">
<span class="heading-meta">Visualizar</span>
<h2 class="heading">Último Vídeo</h2>
</div>
</div>
<div class="row">
{% for video in site.go %} {% if video.id == "/go/28" %}
<div class="col-xs-12 col-sm-3 col-sm-6 col-lg-6 col-xl-3">
<a
href="https://www.youtube.com/embed/{{ video.custom_id }}"
class="lightbox mfp-iframe"
title="{{ video.title }}"
url="https://www.youtube.com/watch?v={{ video.custom_id }}"
class="desc"
>
<div class="project">
<picture>
<source
srcset="{{ '/assets/img/playlists' | append: '/' | append: video.id | prepend: site.baseurl | prepend: site.url }}.webp"
type="image/webp"
/>
<img
src="{{ '/assets/img/playlists' | append: '/' | append: video.id | prepend: site.baseurl | prepend: site.url }}.png"
class="img-fluid"
alt="{{ video.title }}"
width="448"
height="252"
/>
</picture>
<div
class="desc"
style="
display: flex;
align-items: center;
justify-content: center;
"
>
<div class="con">
<i
class="fab fa-youtube"
style="font-size: 50px; color: #ffc900"
></i>
</div>
</div>
</div>
</a>
</div>
{% endif %} {% endfor %}
</div>
</div>
</div>
</div>