Unverified Commit 0952d351 authored by Zach Knox's avatar Zach Knox
Browse files

small improvements like adding time to event page

TODO: figure out how to deal with DST and timezones, or just fake it
parent 4cab5313
...@@ -8,7 +8,12 @@ layout: default ...@@ -8,7 +8,12 @@ layout: default
<i class="fa fa-arrow-circle-right"></i> <i class="fa fa-arrow-circle-right"></i>
</a> </a>
</h1> </h1>
{% if page.category == events %}
<h4>{{ post.event_date | date: "%A %B %-d, %Y" }}</h4> <h4>{{ post.event_date | date: "%A %B %-d, %Y" }}</h4>
{% else %}
<h4>{{ post.date | date: "%A %B %-d, %Y" }}</h4>
{% endif %}
<br /> <br />
{% if post.hero_image %} {% if post.hero_image %}
<p><img class="img-fluid" src="{{ post.hero_image | absolute_url }}" alt={{ post.hero_alt }}></p> <p><img class="img-fluid" src="{{ post.hero_image | absolute_url }}" alt={{ post.hero_alt }}></p>
......
...@@ -11,7 +11,7 @@ hero_image: "/assets/img/ossday2017.jpg" ...@@ -11,7 +11,7 @@ hero_image: "/assets/img/ossday2017.jpg"
hero_alt: "Participants at Open Source Day 2017" hero_alt: "Participants at Open Source Day 2017"
--- ---
### **When**: {{ page.event_date | date: "%A %B %-d, %Y" }} ### **When**: {{ page.event_date | date: "%A %B %-d, %Y at %l:%M%P" }}
### **Where**: {{ page.location }} ### **Where**: {{ page.location }}
----------------------------------------------- -----------------------------------------------
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment