-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
34 lines (32 loc) · 1.54 KB
/
index.html
File metadata and controls
34 lines (32 loc) · 1.54 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
---
layout: post-index
title: "Future Events"
tags: [Jekyll, theme, themes, responsive, blog, modern]
image:
feature: mil-header-1.jpg
---
{% assign events = site.categories.event %}
{% for event in events %}
<article class="entry{% if event.milsec == true %} milsec-event{% endif %}">
<header>
{% if event.link %}
<h1 class="entry-title"><a href="{{ site.url }}{{ event.url }}" rel="bookmark" title="{{ event.title }}"><i class="icon-double-angle-right"></i></a> <a href="{{ event.link }}">{{ event.title }}</a></h1>
{% else %}
<h1 class="entry-title"><a href="{{ site.url }}{{ event.url }}" rel="bookmark" title="{{ event.title }}" itemprop="url">{{ event.title }}</a></h1>
{% endif %}
</header>
<div class="entry-content">
<ul>
{% if event.details.when %}<li><span class="note_type">When:</span> {{ event.details.when }}</li>{% endif %}
{% if event.details.where %}<li><span class="note_type">Where:</span> {{ event.details.where }}</li>{% endif %}
{% if event.details.what %}<li><span class="note_type">What:</span> {{ event.details.what }}</li>{% endif %}
</ul>
{% if event.rsvp.text %}
{% if event.rsvp.url %}<a href="{{ event.rsvp.url }}">{{ event.rsvp.text }}</a>
{% else %}{{ event.rsvp.text }}{% endif %}
{% endif %}
</div><!-- /.entry-content -->
</article><!-- /.hentry -->
{% endfor %}
<a href="{{ site.url }}/past_events.html" class="btn btn-info">See past events</a>
<a href="http://eepurl.com/Vfeen" class="btn btn-danger" target="_blank">Sign up for the mailing list</a>