Skip to content

Commit

Permalink
Fixed error in 'Read more' functionality in About page.
Browse files Browse the repository at this point in the history
  • Loading branch information
arunkone07 committed Oct 31, 2021
1 parent dd1c11e commit e945e7c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
5 changes: 4 additions & 1 deletion app.js
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,10 @@ app.get("/dash",function(req,res){
res.render("dash");
});
app.get("/posts",function(req,res){
res.render("blog");
res.render("blog", {
startingContent: homeStartingContent,
posts: posts
});

});
app.get("/posts/:postName", function(req, res){
Expand Down
1 change: 1 addition & 0 deletions views/achievements.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ jQuery(function () {
<div class="row">
<div class="col-lg-4">
<svg class="bd-placeholder-img rounded-circle" width="140" height="140" xmlns="http://www.w3.org/2000/svg" preserveAspectRatio="xMidYMid slice" focusable="false" role="img" aria-label="Placeholder: 140x140"><title>Placeholder</title><rect width="100%" height="100%" fill="#777"/><text x="50%" y="50%" fill="#777" dy=".3em">140x140</text></svg>
<img class="gold-image"></img>
<h2>GOLD</h2>
<p>Congratulations... <br> You've done a great job! <br> you have been placed among 20 least electricity consumers.</p>
<p>Points:50</p>
Expand Down

0 comments on commit e945e7c

Please sign in to comment.