Skip to content

Commit

Permalink
Merge pull request devopsdays#181 from devopsdays/bridget-past-remove…
Browse files Browse the repository at this point in the history
…-year

Remove year from the past events.
  • Loading branch information
mattstratton committed May 2, 2016
2 parents d89770e + ca6d63e commit f22c5c8
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions themes/devopsdays-legacy/layouts/partials/past.html
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,8 @@ <h1>Past </h1>
Chomping here in order to convert int to string -->
{{ range ($.Scratch.GetSortedMapValues (chomp .)) }}
{{ $city := (index $.Site.Data.events . "city") }}
{{ $year := (index $.Site.Data.events . "year") }}
{{ $friendly := (index $.Site.Data.events . "friendly") }}
<a href="/events/{{ $friendly }}/">{{ $city }} {{ $year }}</a>
<a href="/events/{{ $friendly }}/">{{ $city }}</a>
<br/>
{{ end }}
</div>
Expand Down

0 comments on commit f22c5c8

Please sign in to comment.