Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fix default contents

  • Loading branch information...
commit 92458bcd78ed71af0df7d929a3faae635f9f5c6d 1 parent 6affd62
Andreas Richter richtera authored
1  modules/core/content/content.js
View
@@ -972,6 +972,7 @@ function install(next) {
// Create the default content types
var Content = calipso.db.model('Content');
+debugger;
var defaults = {
status: 'published',
2  modules/core/content/defaults/about-me.json
View
@@ -2,6 +2,6 @@
"alias":"about-me",
"title":"About Me",
"teaser": "About Me",
- "tags":"about me, default",
+ "tags":["about me", "default"],
"content": "<h3>About Me</h3><p>Double click here when logged in to edit this text that describes you in all your glory ...</p>"
}
2  modules/core/content/defaults/article.json
View
@@ -3,7 +3,7 @@
"title":"Example Article",
"teaser": "This is an example article.",
"taxonomy": "examples",
- "tags":"example, article",
+ "tags":["example","article"],
"contentType": "Article",
"ispublic":true,
"content": "<h3>Example</h3><p>Lorem ipsum dolor sit amet, consectetur adipiscing elit.</p>"
2  modules/core/content/defaults/welcome.json
View
@@ -2,6 +2,6 @@
"alias":"welcome",
"title":"Welcome Message",
"teaser": "Default welcome message",
- "tags":"welcome, message, default",
+ "tags":["welcome", "message", "default"],
"content": "<h3>Welcome!</h3><p>This is the default welcome message, this is just a content block that is editable after logging in.</p>"
}
Please sign in to comment.
Something went wrong with that request. Please try again.