###修改标题不显示页数

文件名:node_modules/ghost/core/server/helpers/meta_title.js

1
2
3
//    if (pagination && pagination.total > 1) {
// pageString = ' - Page ' + pagination.page;
// }

###修改时区与汉化时间显示
到openshift的源码目录,安装moment-timezone模块:

1
2
cd ${OPENSHIFT_REPO_DIR}/
npm install moment-timezone --save

文件名node_modules/ghost/core/server/helpers/date.js

1
2
3
4
var moment          = require('moment-timezone'),
date;
moment.locale('zh-cn');
moment.tz.setDefault("Asia/Shanghai");