1
0
mirror of https://github.com/stolksdorf/homebrewery.git synced 2025-12-16 04:05:57 +00:00

Updating the welcome text with spelling and default dates for the brew models

This commit is contained in:
Scott Tolksdorf
2016-01-12 11:50:12 -05:00
parent e9a28f92fe
commit 7145a42cef
2 changed files with 10 additions and 5 deletions

View File

@@ -2,7 +2,7 @@ module.exports = [
"# The Homebrewery",
"Welcome traveler from an antique land. Please sit and tell us of what you have seen. The unheard of monsters, who slither and bite.",
"",
"Tell us of the wonderous items and and artifacts you have found, their mysteries yet to be unlocked. Of the vexing vocations and surprising skills you have seen.",
"Tell us of the wondrous items and and artifacts you have found, their mysteries yet to be unlocked. Of the vexing vocations and surprising skills you have seen.",
"",
"### Homebrew made easy",
"The Homebrewery allows for the creation and sharing of authentic looking Fifth-Edition homebrews, with just text editing. It accomplishes this by using [Markdown](https://help.github.com/articles/markdown-basics/) along with some custom CSS-stlying.",
@@ -46,7 +46,7 @@ module.exports = [
"",
"",
"### Not quite Markdown",
"Although the Homebrewery uses Markdown, to get all the stlying features from the PHB, we had to get a little creative. Some base HTML elements are not used as expected and I've had to include a few new keywords.",
"Although the Homebrewery uses Markdown, to get all the styling features from the PHB, we had to get a little creative. Some base HTML elements are not used as expected and I've had to include a few new keywords.",
"",
"___",
"* **Horizontal Rules** are generally used to *modify* existing elements into a different style. For example, a horizontal rule before a blockquote will give it the style of a Monster Stat Block instead of a note.",
@@ -64,4 +64,9 @@ module.exports = [
"* Switch between DMG-style and Monster Manual-Style",
"* Download as images",
"",
].join('\n');
"",
"<img src='http://i.imgur.com/hMna6G0.png' style='position:absolute;bottom:-10px;right:-60px;width:400px' />",
"",
].join('\n');

View File

@@ -8,8 +8,8 @@ var HomebrewSchema = mongoose.Schema({
text : {type : String, default : ""},
createdAt : { type: Date, default: Date.now },
updatedAt : { type: Date},
lastViewed : { type: Date},
updatedAt : { type: Date, default: Date.now},
lastViewed : { type: Date, default: Date.now},
views : {type:Number, default:0}
});