forked from alexjlockwood/AndroidDesignPatterns
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
49 lines (49 loc) · 1.73 KB
/
index.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
43
44
45
46
47
48
49
---
layout: default
title: Android Design Patterns
description: 'Android Design Patterns is a website for developers who wish to better understand the Android application framework. The tutorials here emphasize proper code design and project maintainability.'
---
{% for post in paginator.posts %}
<article class="snippet">
<div class="side">
<div class="date-posted">
<span class="date-block">{{ post.date | date: "%b %-d %Y" }}</span>
</div>
</div>
<div class="body">
<header><h2 class="post-title no-border"><a href="{{ post.url }}">{{ post.title | escape }}</a></h2></header>
{{ post.excerpt }}
<footer>
<a class="read-more" href="{{ post.url }}">Read more…</a>
</footer>
</div>
<div class="clearfix"></div>
</article>
{% if forloop.index0 == 1 %}
<!-- Display ad after second post snippet -->
<!--<div id="responsive-home-page-first-ad">
<ins class="adsbygoogle"
style="display:block"
data-ad-client="ca-pub-3588752900040136"
data-ad-slot="7147625658"
data-ad-format="auto"></ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script>
</div>-->
{% endif %}
{% endfor %}
{% if paginator.previous_page or paginator.next_page %}
<div class="mod-pagination">
{% if paginator.previous_page %}
{% if paginator.previous_page == 1 %}
<div class="prev"><a rel="prev" href="/">« Newer</a></div>
{% else %}
<div class="prev"><a rel="prev" href="/page{{ paginator.previous_page }}">« Newer</a></div>
{% endif %}
{% endif %}
{% if paginator.next_page %}
<div class="next"><a rel="next" href="/page{{ paginator.next_page }}">Older »</a></div>
{% endif %}
</div>
{% endif %}