@@ -81,18 +81,19 @@ gDate = gDate.match(/([0-9]{4}-[0-9]{2}-[0-9]{2})/)[1];
8181scrawl . group = config . group || 'Telecon' ;
8282scrawl . people = JSON . parse ( peopleJson ) ;
8383
84- // Mustache template - vars: gDate, formattedItems, content
85- const GPLUS_BODY = `*JSON-LD CG Meeting Summary for {{gDate}}*
84+ // Mustache template - vars: gDate, formattedItems, content, minutes_base_url
85+ const GPLUS_BODY = ( 'gplus' in config && 'body' in config . gplus )
86+ ? config . gplus . body
87+ : `*Meeting Summary for {{gDate}}*
8688
8789We discussed {{formattedItems}}.
8890
8991{{{content}}}
9092
9193Full transcript and audio logs are available here:
9294
93- https://json-ld.github.io/minutes/{{gDate}}/
94-
95- #w3c #json-ld` ;
95+ {{{minutes_base_url}}}{{gDate}}/
96+ ` ;
9697
9798// Mustache template - vars: message, gDate
9899const TWITTER_BODY = `JSON-LD CG discusses {{message}}:
@@ -438,7 +439,8 @@ Full text of the discussion follows for archival purposes.
438439 }
439440
440441 // format in a way that is readable on G+
441- content = Mustache . render ( GPLUS_BODY , { gDate, formattedItems, content} ) ;
442+ content = Mustache . render ( GPLUS_BODY , { gDate, formattedItems, content,
443+ minutes_base_url : scrawl . minutes_base_url } ) ;
442444
443445 console . log ( 'scrawl: You will need to paste this to your G+ stream:\n' ) ;
444446 console . log ( content ) ;
0 commit comments