Updated version to be valid number
Fixed default site information variable names
This commit is contained in:
parent
e6cd7a0f6d
commit
a0e4db0d08
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "mma_website_docker",
|
"name": "mma_website_docker",
|
||||||
"version": "0.1",
|
"version": "0.1.0",
|
||||||
"description": "Generic Website",
|
"description": "Generic Website",
|
||||||
"author": "Mahesh Asolkar <mahesh@mahesha.com>",
|
"author": "Mahesh Asolkar <mahesh@mahesha.com>",
|
||||||
"main": "website.js",
|
"main": "website.js",
|
||||||
|
@ -3,9 +3,9 @@ module.exports = {
|
|||||||
site_info: function (req) {
|
site_info: function (req) {
|
||||||
|
|
||||||
var ret = {
|
var ret = {
|
||||||
"site_name": "Website Template",
|
"name": "Website Template",
|
||||||
"site_url": "https://website.template",
|
"url": "https://website.template",
|
||||||
"site_title": "Title of website",
|
"title": "Title of website",
|
||||||
};
|
};
|
||||||
|
|
||||||
if ("SITE_NAME" in process.env) {
|
if ("SITE_NAME" in process.env) {
|
||||||
|
Loading…
Reference in New Issue
Block a user