forked from lechoo/toddmotto.github.com
-
Notifications
You must be signed in to change notification settings - Fork 0
/
angular-1-x.html
36 lines (34 loc) · 1.11 KB
/
angular-1-x.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
---
layout: page
class: angular-1
---
<div class="category-banner a1">
<img src="/img/categories/angular-1.svg" alt="" class="category-banner__logo">
<h2 class="category-banner__title">Angular 1.x</h2>
</div>
{% for post in site.posts %}
{% if post.tags contains 'Angular' %}
<section class="post-single">
<header class="post-single__header">
<h1 class="post-single__title">
<a href="{{ post.url | prepend: site.baseurl }}">{{ post.title }}</a>
</h1>
<span class="post__meta">
Posted on {{ post.date | date: "%b %-d, %Y" }}
</span>
<div class="post__meta__divider"></div>
</header>
<a href="{{ post.url | prepend: site.baseurl }}" class="post-single__content" title="Read {{ post.title }}">
<p>
{{ post.content | strip_html | truncatewords: 30 }}
</p>
</a>
<div class="post__button">
<a href="{{ post.url | prepend: site.baseurl }}" class="button" title="Read {{ post.title }}">
Read more
<img src="{{ site.baseurl }}/img/icons/more.svg" alt="{{ post.title }}">
</a>
</div>
</section>
{% endif %}
{% endfor %}