Skip to content

Commit 46f8b35

Browse files
committed
Add more info button on stories index page
1 parent 85f028f commit 46f8b35

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

Diff for: seeds.js

+3-3
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ var stories = [
66
{
77
"title" : "Learning to Ski & A Night in Kentucky",
88
"youtubeID" : "IjFRdBfEj1I",
9-
"description": "This is a description"
9+
"description": 'Mom becomes the talk of a small Kentucky town after staying the night in a local "hotel", and Dad has an adventurous first day of skiing.'
1010
},
1111
{
1212
"title" : "Story Session VI",
@@ -31,7 +31,7 @@ var stories = [
3131
{
3232
"title" : "On Fear",
3333
"youtubeID" : "uUlppt-q7XE",
34-
"description": "This is a description"
34+
"description": "Mom, Dad, and Zack discuss what some of their biggest fears have been in life, the sources of those, and how they handle them."
3535
},
3636
{
3737
"title" : "On Education",
@@ -41,7 +41,7 @@ var stories = [
4141
{
4242
"title" : "Proudest Moments",
4343
"youtubeID" : "MPBsgvMGE-Q",
44-
"description": "This is a description"
44+
"description": "Mom, Dad, and Zack discuss some of their proudest moments in life."
4545
},
4646
{
4747
"title" : "What People Would Be Surprised to Know About Mom",

Diff for: views/stories/index.ejs

+1
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
<p>
2424
<em>Submitted by <%= story.author.username %>, <%= moment(story.createdAt).format("LL") %></em>
2525
</p>
26+
<a class="btn btn-success" href="/stories/<%= story._id %>">More Info</a>
2627
</div>
2728
<div class="col-md-6">
2829
<h4><%= story.description %></h4>

0 commit comments

Comments
 (0)