Skip to content

Commit 747616f

Browse files
readme updated with links
1 parent 2c04de9 commit 747616f

File tree

2 files changed

+10
-1
lines changed

2 files changed

+10
-1
lines changed

README.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,3 +45,12 @@ Entire commit History
4545
| [creating tagSchema model and tag controller and handling errors and avoiding duplicate tag in the backend](https://github.com/pramit-marattha/MongoDB-React-Express-Node-Fullstack-TechBlogsite/commit/844d59771007e67414d916364910afc30b89f16f) | [Source File](https://github.com/pramit-marattha/MongoDB-React-Express-Node-Fullstack-TechBlogsite/tree/844d59771007e67414d916364910afc30b89f16f) |
4646
| [Implementing a slim progress bar at the top of the header using nprogress npm package](https://github.com/pramit-marattha/MongoDB-React-Express-Node-Fullstack-TechBlogsite/commit/4d78c7a33d82cf8206a9f630548769f1e6c19081) | [Source File](https://github.com/pramit-marattha/MongoDB-React-Express-Node-Fullstack-TechBlogsite/tree/4d78c7a33d82cf8206a9f630548769f1e6c19081) |
4747
| [styling nprogress and adding some material icons](https://github.com/pramit-marattha/MongoDB-React-Express-Node-Fullstack-TechBlogsite/commit/f10cb0f5860a1e05a3814a180745656d4433031f) | [Source File](https://github.com/pramit-marattha/MongoDB-React-Express-Node-Fullstack-TechBlogsite/tree/f10cb0f5860a1e05a3814a180745656d4433031f) |
48+
| [created new category-tag page for updating category as well as tags](https://github.com/pramit-marattha/MongoDB-React-Express-Node-Fullstack-TechBlogsite/commit/a85387f9390e8b4383eee8ae1f1eadd1b63fe1d1) |[source file](https://github.com/pramit-marattha/MongoDB-React-Express-Node-Fullstack-TechBlogsite/tree/a85387f9390e8b4383eee8ae1f1eadd1b63fe1d1) |
49+
| [creating categories from the client side](https://github.com/pramit-marattha/MongoDB-React-Express-Node-Fullstack-TechBlogsite/commit/30b5b3d2492a5e3053f27bd7f98d5068b63cf100) |[Source file](https://github.com/pramit-marattha/MongoDB-React-Express-Node-Fullstack-TechBlogsite/tree/) |
50+
| [creating removing categories from the client side](https://github.com/pramit-marattha/MongoDB-React-Express-Node-Fullstack-TechBlogsite/commit/8cfd77be3b32ecda8753c419eac8dc5e560af335) |[Source file](https://github.com/pramit-marattha/MongoDB-React-Express-Node-Fullstack-TechBlogsite/tree/8cfd77be3b32ecda8753c419eac8dc5e560af335) |
51+
| [creating,removing tags from the client side](https://github.com/pramit-marattha/MongoDB-React-Express-Node-Fullstack-TechBlogsite/commit/d575fe24352ff9e8e2f632e270186dab5e6670e0) |[Source file](https://github.com/pramit-marattha/MongoDB-React-Express-Node-Fullstack-TechBlogsite/tree/d575fe24352ff9e8e2f632e270186dab5e6670e0) |
52+
| [created a blog schema model on server ](https://github.com/pramit-marattha/MongoDB-React-Express-Node-Fullstack-TechBlogsite/commit/829dda0c610fa93341c5e1585f6e5a1be9d0f62e) |[Source file](https://github.com/pramit-marattha/MongoDB-React-Express-Node-Fullstack-TechBlogsite/tree/829dda0c610fa93341c5e1585f6e5a1be9d0f62e) |
53+
| [updating blog routes](https://github.com/pramit-marattha/MongoDB-React-Express-Node-Fullstack-TechBlogsite/commit/dbef84ceee59e51e5b8be538eb4ae45113c0f6a8) |[Source file](https://github.com/pramit-marattha/MongoDB-React-Express-Node-Fullstack-TechBlogsite/tree/dbef84ceee59e51e5b8be538eb4ae45113c0f6a8) |
54+
| [ created the entire blog controller ](https://github.com/pramit-marattha/MongoDB-React-Express-Node-Fullstack-TechBlogsite/commit/180689c8cbdda6679607e132e06714b5bf5dd64b) |[Source file](https://github.com/pramit-marattha/MongoDB-React-Express-Node-Fullstack-TechBlogsite/tree/180689c8cbdda6679607e132e06714b5bf5dd64b) |
55+
| [creating a meta description by stripping html tags from body by using cli-strip-html package](https://github.com/pramit-marattha/MongoDB-React-Express-Node-Fullstack-TechBlogsite/commit/514041bd2c4fee836f19e2b5b1725c1bc212fd51) |[Source file](https://github.com/pramit-marattha/MongoDB-React-Express-Node-Fullstack-TechBlogsite/tree/514041bd2c4fee836f19e2b5b1725c1bc212fd51) |
56+
| [Integrating categories and tags inside blog](https://github.com/pramit-marattha/MongoDB-React-Express-Node-Fullstack-TechBlogsite/commit/2c04de9b00a560e980b736edd17cebd42460a9b8) | [Source file](https://github.com/pramit-marattha/MongoDB-React-Express-Node-Fullstack-TechBlogsite/tree/2c04de9b00a560e980b736edd17cebd42460a9b8) |

server/controllers/blog.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ exports.create = (req, res) => {
6262
blog.title = title;
6363
blog.body = body;
6464
// console.log("rerererr",body)
65-
blog.excerpt = excerptTrim(body, 320, ' ', ' ...');
65+
blog.excerpt = excerptTrim(body, 160, ' ', '.....');
6666
blog.slug = slugify(title).toLowerCase();
6767
blog.mtitle = `${title} | ${process.env.BLOG_NAME}`;
6868
blog.mdesc = stripHtml(body.substring(0,160));

0 commit comments

Comments
 (0)