Skip to content

Commit

Permalink
Merge pull request #53 from devopsdays/issue-34
Browse files Browse the repository at this point in the history
Fix for #34 (remove extra dash on homepage)
  • Loading branch information
mattstratton committed Nov 22, 2015
2 parents 747392b + 88fa9ba commit a699781
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion themes/devopsdays/layouts/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,15 @@ <h2>Upcoming devopsdays events</h2>
<h3>
{{ range $.Site.Data.events }}
{{ if eq .status "current" }}
<a href = "/events/{{ .friendly }}/welcome">{{ .city }}</a> -
{{ $.Scratch.Add "events" "<a href = '/events/" }}
{{ $.Scratch.Add "events" .friendly }}
{{ $.Scratch.Add "events" "/welcome'>" }}
{{ $.Scratch.Add "events" .city }}
{{ $.Scratch.Add "events" "</a> - " }}
<!-- <a href = "/events/{{ .friendly }}/welcome">{{ .city }}</a> - -->
{{ end }}
{{ end }}
{{ substr ($.Scratch.Get "events") 0 -3 | safeHTML }}
</h3>
</div>
</div>
Expand Down

0 comments on commit a699781

Please sign in to comment.