spee.ch/client/build/utils/pageTitle.js
2018-05-22 19:06:37 -07:00

16 lines
No EOL
346 B
JavaScript

"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.createPageTitle = void 0;
var createPageTitle = function createPageTitle(siteTitle, pageTitle) {
if (!pageTitle) {
return "".concat(siteTitle);
}
return "".concat(siteTitle, " - ").concat(pageTitle);
};
exports.createPageTitle = createPageTitle;