diff --git a/lib/template.js b/lib/template.js index 96ba1e1..1d2af0b 100644 --- a/lib/template.js +++ b/lib/template.js @@ -39,14 +39,14 @@ module.exports = function Template(options) { // Level three a // Generates the listing for each individual event function eventTemplate(event) { - const { title, room, start, duration, id, language, sequentialNumber } = event; + const { title, room, start, duration, id, language, sequentialNumber, guid } = event; const speakers = event.persons.map(p => p.name).join(', '); const type = o.ignoreEventTypes.includes(event.type) ? '' : ` (${_.upperFirst(event.type)})`; const targetLanguages = ({ - en: '    → de ', - de: '    → en ', - })[language] || '    → '; + en: '→ de ', + de: '→ en ', + })[language] || '→ '; // Yes, this is awful HTML, but its only job is to be parsed by EtherPad, // so I won't even bother cleaning up the indentation. @@ -55,7 +55,8 @@ module.exports = function Template(options) { [${language}] ${start} +${duration}, ${room}
${title}${type}
${speakers}
- https://fahrplan.events.ccc.de/congress/2016/Fahrplan/events/${id}.html
+ Fahrplan: https://fahrplan.events.ccc.de/congress/2016/Fahrplan/events/${id}.html
+ Slides (if available): https://speakers.c3lingo.org/talks/${guid}/
${targetLanguages}