Skip to content

Commit aab6488

Browse files
committed
Add tutorials category.
1 parent ed9c6b6 commit aab6488

2 files changed

Lines changed: 25 additions & 0 deletions

File tree

_config.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,8 @@ exclude:
3434
- cache
3535
collections:
3636
hackers:
37+
tutoriales:
38+
output: true
3739
what_we_do: >
3840
We are a self managed group that work together and believe in sharing
3941
knowledge to improve and grow.

tutoriales.md

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
---
2+
layout: default
3+
permalink: /tutoriales/
4+
title: turoriales
5+
---
6+
7+
<div class="home">
8+
<ul class="post-list">
9+
{% for tutorial in site.tutoriales %}
10+
<li>
11+
<span class="post-meta">{{ tutorial.date | date: "%b %-d, %Y" }}</span>
12+
13+
<h2>
14+
<a class="post-link" href="{{ tutorial.url }}">{{ tutorial.title | escape }}</a>
15+
</h2>
16+
<p class="description">{% if tutorial.description %}{{ tutorial.description | strip_html | strip_newlines | truncate: 250 }}{% else %}{{ tutorial.content | strip_html | strip_newlines | truncate: 250 }}{% endif %}</p>
17+
<a href="{{ tutorial.url }}">Read more</a>
18+
</li>
19+
{% endfor %}
20+
</ul>
21+
22+
</div>
23+

0 commit comments

Comments
 (0)