Update introduction.md

This commit is contained in:
Bjørn Erik Pedersen
2018-09-04 23:59:15 +02:00
committed by GitHub
parent 30b060dff7
commit cb5608dbfe
+1 -1
View File
@@ -613,7 +613,7 @@ Go allows you to do more than what's shown here. Using Hugo's [`where` function]
<h4>Upcoming Events</h4>
<ul class="upcoming-events">
{{ range where .Pages.ByDate "Section" "events" }}
{{ if ge .Date.Unix .Now.Unix }}
{{ if ge .Date.Unix now.Unix }}
<li>
<!-- add span for event type -->
<span>{{ .Type | title }} —</span>