@omni-door/tpl-component-library-react
Version:
The React component-library-react project template
14 lines (13 loc) • 623 B
JavaScript
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
var utils_1 = require("@omni-door/utils");
var tpl = "`---\ntitle: Omni Project!\npublishDate: ${publishDate}\ntags: \n - test\n---\n\nThe first content.\n\n---\n\nHello world!\n\n\\`\\`\\`js\n(function () {\n console.log('Hello world!');\n})();\n\\`\\`\\`\n`";
exports.tpl_bisheng_posts = {
tpl: tpl
};
exports.default = (function () {
var date = new Date();
return utils_1.tpl_engine_init(exports.tpl_bisheng_posts, 'tpl', {
publishDate: date.getFullYear() + "-" + (date.getMonth() + 1) + "-" + date.getDate()
});
});