Ghost/core/frontend/helpers/concat.js
Hannah Wolfe c902d91c81
Renamed rendering service to handlebars
- This fits more closely, as this service is to so with rendering helpers and small parts
- Whereas we want to use "rendering" for things concerned with rendering pages
2022-04-05 20:10:33 +01:00

9 lines
238 B
JavaScript

const {SafeString} = require('../services/handlebars');
module.exports = function concat(...args) {
const options = args.pop();
const separator = options.hash.separator || '';
return new SafeString(args.join(separator));
};