mirror of
https://github.com/vale981/Vulcan
synced 2025-03-10 12:36:39 -04:00
7 lines
No EOL
259 B
JavaScript
7 lines
No EOL
259 B
JavaScript
// important: the helper must be defined on the *old* "post_title" template
|
|
|
|
Template.post_title.helpers({
|
|
randomEmoji: function () {
|
|
return _.sample(["😀", "😰", "👮", " 🌸", "🐮", "⛅️", "🍟", "🍌", "🎃", "⚽️", "🎵"]);
|
|
}
|
|
}); |