Skip to content

Commit

Permalink
Merge pull request devopsdays#332 from devopsdays/mattstratton/fix-ta…
Browse files Browse the repository at this point in the history
…lk-page

Fix talk page

Former-commit-id: e827bfc
  • Loading branch information
bridgetkromhout committed May 12, 2016
2 parents 1af5854 + 2814347 commit 4db5bd1
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 1 deletion.
11 changes: 11 additions & 0 deletions content/events/2016-london/program/test-user.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
+++
City = "London"
Year = "2016"
date = "2016-03-06T21:28:07-06:00"
title = "Test User"
type = "talk"

+++

This is a test.

3 changes: 3 additions & 0 deletions data/speakers/2016/london/test-user.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
name: "Test User"
twitter: "testuser"
bio: "This is a test."
2 changes: 1 addition & 1 deletion themes/devopsdays-legacy/layouts/talk/single.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
.Site.Data.events $e.year (printf "%s" (lower $e.city))
- mattstratton
*/}}
{{ range $fname, $s := index .Site.Data.speakers $e.year (lower $e.city) }}
{{ range $fname, $s := index .Site.Data.speakers (chomp $e.year) (lower $e.city) }}
{{ if eq $fname ($.Title | urlize) }}
<h2>Speaker</h2>
<h3>{{ $s.name }}</h3>
Expand Down

0 comments on commit 4db5bd1

Please sign in to comment.