forked from kracekumar/bangalore.python.org.in
-
Notifications
You must be signed in to change notification settings - Fork 12
/
archives.html
40 lines (32 loc) · 1.65 KB
/
archives.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
---
layout: page
title: Archives
description: List of all posts by "BangPypers – The Bangalore Python User Group".
---
<!-- Clubs Index
================================================== -->
<section class="recent-posts">
<div class="row listrecent">
<div class="col-lg-12 col-md-12 mb-30px">
{% for post in site.posts %}
{% assign currentDate = post.date | date: "%Y" %}
{% if currentDate != myDate %}
{% unless forloop.first %}</ul>{% endunless %}
<a href="{{site.baseurl}}/blog/{{ post.date | date: "%Y" }}" style="color:initial;"><h3>{{ currentDate }}</h3></a>
<ul style="list-style-type:none;">
{% assign myDate = currentDate %}
{% endif %}
<li><a href="{{site.baseurl}}/blog/{{ post.date | date: "%Y/%m" }}" style="color:initial;"><span class="text-muted">{{ post.date | date: "%B %-d" }}</span></a> - <a href="{{ post.url | prepend: site.baseurl | prepend: site.url }}">{{ post.title }}</a></li>
{% if forloop.last %}</ul>{% endif %}
{% endfor %}
</div>
</div>
</section>
<!-- Pagination
================================================== -->
<div class="bottompagination">
<div class="pointerup"><i class="fa fa-caret-up"></i></div>
<span class="navigation" role="navigation">
{% include pagination.html %}
</span>
</div>