-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
executable file
·46 lines (44 loc) · 1.69 KB
/
index.html
File metadata and controls
executable file
·46 lines (44 loc) · 1.69 KB
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
---
layout: default
title: Chattannooga Python User Group
---
<div class="home" id="home">
<h1 class="pageTitle"></h1>
<div class="">
{% for post in paginator.posts %}
<div class="post {{post.layout}}">
<h3 class="postTitle"><a class="post-link" href="{{ post.url | prepend: site.baseurl }}">{{ post.title }}</a></h3>
{% if post.layout == 'meetup' %}
<p class="meta">
When: {{ post.event_date | date: '%B %d, %Y' }} - {{ post.event_time }}
<br />
Where:
{% if post.location && post.location.url %}
<a href="{{post.location.url}}" class="location">{{ post.location.name }}</a>
{% elsif post.location %}
<span class="location">{{post.location.name}}</span>
{% endif %}
</p>
{% else %}
<p class="meta">
{{ post.date | date: '%B %d, %Y' }}
</p>
{% endif %}
{% if post.truncate == true %}
<p class="description">{% if post.description %}{{ post.description | strip_html | strip_newlines | truncate: 250 }}{% else %}{{ post.content | strip_html | strip_newlines | truncate: 250 }}{% endif %}</p>
{% else %}
{{ post.content }}
{% endif %}
</div>
{% endfor %}
</div>
<!-- Pagination links -->
<div class="pagination">
{% if paginator.previous_page %}
<a href="{{ paginator.previous_page_path | prepend: site.baseurl }}" class="previous button__outline">Newer Posts</a>
{% endif %}
{% if paginator.next_page %}
<a href="{{ paginator.next_page_path | prepend: site.baseurl }}" class="next button__outline">Older Posts</a>
{% endif %}
</div>
</div>