-
Notifications
You must be signed in to change notification settings - Fork 21
/
blog.html
42 lines (34 loc) · 1 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
34
35
36
37
38
39
40
41
42
---
layout: default
title: The Teach LA Blog
permalink: /blog/
---
<h1 class="title page-title">The Teach LA Blog</h1>
<p>
We love what we do, and we want to share it with you! Here are some insights from our members on how our club operates: how we teach, write code, and create a community!
</p>
<h2 class="top-padding">Most Recent</h2>
{% assign post_count = 0 %}
{% for post in site.posts %}
{% assign post_count = post_count | plus: 1 %}
{% if post_count == 2 %}
<h2 class="top-padding">Past blogs</h2>
<div class="blogs">
{% endif %}
{% if post_count == 1 %}
{% include blog-preview-card.html %}
{% endif %}
{% if post_count >= 2 %}
{% include blog-preview-card-small.html %}
{% endif %}
{% endfor %}
</div>
<!-- TODO: IMPLEMENT TAGS! -->
<!-- {% comment %}
{% if post.tags %}
tags:
{% for tag in post.tags %}
{{tag}}{% if forloop.last == false %}, {% endif %}
{% endfor %}
{% endif %}
{% endcomment %} -->