spee.ch/client/build/utils/pageTitle.js

16 lines
346 B
JavaScript
Raw Normal View History

2018-05-23 04:06:37 +02:00
"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;