Fix schedule.xml rendering
This commit is contained in:
parent
61eec5458f
commit
a3f03d2273
|
@ -12,8 +12,8 @@
|
|||
<day index="{{.Params.no}}" date="{{dateFormat "2006-01-02" .Params.event.start}}" start="{{dateFormat "2006-01-02T15:04:05" .Params.event.start}}" end="{{dateFormat "2006-01-02T15:04:05" .Params.event.end}}">
|
||||
<room name="Saal23">
|
||||
<event id="{{.Params.no}}" guid="456fb60c-5ce7-11e8-be47-1fb2912eb8{{.Params.no}}">
|
||||
<date>2016-11-23T13:00:00</date>
|
||||
<start>13:00</start>
|
||||
<date>{{dateFormat "2006-01-02T15:04:05" .Params.event.start}}</date>
|
||||
<start>{{dateFormat "15:04:05" .Params.event.start}}</start>
|
||||
<duration>{{ $end := time .Params.event.end }}{{ $t := time "1970-01-01"}}{{ dateFormat "15:04" ( $t.Add ( $end.Sub (time .Params.event.start) ) ) }}</duration>
|
||||
<room>Saal23</room>
|
||||
<slug>dg-{{.Params.no}}</slug>
|
||||
|
@ -22,8 +22,8 @@
|
|||
<track/>
|
||||
<type/>
|
||||
<language>{{.Params.language}}</language>
|
||||
<abstract>{{.Plain}}</abstract>
|
||||
<description>{{.Plain}}</description>
|
||||
<abstract><![CDATA[{{htmlUnescape .Plain|safeHTML}}]]></abstract>
|
||||
<description><![CDATA[{{htmlUnescape .Plain|safeHTML}}]]></description>
|
||||
<persons>
|
||||
<person id="0">{{htmlEscape .Params.speaker}}</person>
|
||||
</persons>
|
||||
|
|
Loading…
Reference in a new issue