Added subreddit variable.
This commit is contained in:
parent
5f393d8868
commit
cc5d665d34
|
@ -43,6 +43,7 @@ function interpolate(pattern, user, post, item) {
|
||||||
$postUser: post.user || user.user,
|
$postUser: post.user || user.user,
|
||||||
$postDate: dateFns.format(post.datetime, dateFormat),
|
$postDate: dateFns.format(post.datetime, dateFormat),
|
||||||
$postIndex: post.index + config.library.indexOffset,
|
$postIndex: post.index + config.library.indexOffset,
|
||||||
|
$subreddit: post.subreddit,
|
||||||
$host: post.host.label
|
$host: post.host.label
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue