Skip to content

Commit 6f2e97c

Browse files
committed
Use config.wordpress.title
1 parent 5dacaca commit 6f2e97c

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

index.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,9 @@ const TWITTER_BODY = ('twitter' in config && 'body' in config.twitter)
102102
{{{minutes_base_url}}}{{gDate}}/`;
103103

104104
// Mustache template - vars: gDate
105-
const WORDPRESS_TITLE = 'JSON-LD CG Meeting Minutes for {{gDate}}';
105+
const WORDPRESS_TITLE = ('wordpress' in config && 'title' in config.wordpress)
106+
? config.wordpress.title
107+
: 'Meeting Minutes for {{gDate}}';
106108
// Location of date-based minutes folders; MUST end in a forward slash
107109
const MINUTES_BASE_URL = 'https://json-ld.github.io/minutes/'
108110

0 commit comments

Comments
 (0)