diff options
| author | Jules Laplace <julescarbon@gmail.com> | 2019-07-14 00:37:22 +0200 |
|---|---|---|
| committer | Jules Laplace <julescarbon@gmail.com> | 2019-07-14 00:37:22 +0200 |
| commit | eed7b4e881a1b6f6b3297a459378fec9232950bb (patch) | |
| tree | 1b220ced9abc1be15b0c085d13d4812ed6645c42 /StoneIsland/www/js/lib/blogs/HubView.js | |
| parent | 570f72c13f8eab87cc72edb41c3a1b6b05c367f8 (diff) | |
clean hub titles
Diffstat (limited to 'StoneIsland/www/js/lib/blogs/HubView.js')
| -rwxr-xr-x | StoneIsland/www/js/lib/blogs/HubView.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/StoneIsland/www/js/lib/blogs/HubView.js b/StoneIsland/www/js/lib/blogs/HubView.js index c12e656f..e06faf44 100755 --- a/StoneIsland/www/js/lib/blogs/HubView.js +++ b/StoneIsland/www/js/lib/blogs/HubView.js @@ -57,6 +57,8 @@ var HubView = ScrollableView.extend({ .replace(/{{date}}/, moment(row.date).format("MM.DD.YYYY")) .replace(/{{title}}/, row.title) .replace(/{{subtitle}}/, row.subtitle) + .replace(/{{cleantitle}}/, stonewash(row.title)) + .replace(/{{cleansubtitle}}/, stonewash(row.subtitle)) .replace(/{{link}}/, row.link) .replace(/{{body}}/, row.body.replace(/\n/g, "<br>")) var $t = $(t) |
