From c498455e1577dca51fdbe995ae9c3e0171a8d96b Mon Sep 17 00:00:00 2001 From: naanadr Date: Mon, 27 Apr 2020 22:46:53 -0300 Subject: [PATCH] Change tutorials to include type --- _includes/tutorials.html | 19 +++++++++++++++++++ tutorials.html | 16 +--------------- 2 files changed, 20 insertions(+), 15 deletions(-) create mode 100644 _includes/tutorials.html diff --git a/_includes/tutorials.html b/_includes/tutorials.html new file mode 100644 index 00000000..cb8b2c10 --- /dev/null +++ b/_includes/tutorials.html @@ -0,0 +1,19 @@ +
+
+

Tutoriais

+
+ tutoriais +
+ + {% for post in site.posts %} + {% if post.type == "tutorial" %} +
{{ post.title }} | {{ post.date | date: "%b %-d, %Y"}}
+

{{ post.description }}

+ {% endif %} + {% endfor %} + +

+ + {% include archive.html %} +
+
diff --git a/tutorials.html b/tutorials.html index 547782da..6af950ff 100644 --- a/tutorials.html +++ b/tutorials.html @@ -4,18 +4,4 @@ title: Tutorials --- -
-
-

Tutoriais

-
- tutoriais -
- - {% for post in site.posts %} - {% if post.type == "tutorial" %} -
{{ post.title }} | {{ post.date | date: "%b %-d, %Y"}}
-

{{ post.description }}

- {% endif %} - {% endfor %} -
-
+{% include tutorials.html %}