Skip to content

Commit 5ae4c90

Browse files
committed
updates readme file
1 parent 781cca1 commit 5ae4c90

File tree

1 file changed

+10
-4
lines changed

1 file changed

+10
-4
lines changed

README.md

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,8 @@ Incredible features with a lightweight laravel blog package. I highly recommend
4444

4545
4- You must add one method to your \App\User (in laravel 8 \App\Models\User) model. As the name of this method shows it determines which user can manage posts. Place your logic there.
4646

47-
`public function canManageHessamCMSPosts()
47+
```
48+
public function canManageHessamCMSPosts()
4849
{
4950
// Enter the logic needed for your app.
5051
// Maybe you can just hardcode in a user id that you
@@ -63,13 +64,18 @@ Incredible features with a lightweight laravel blog package. I highly recommend
6364
// to the admin panel (but can still view posts)
6465
6566
return false;
66-
}`
67+
}
68+
```
6769

6870
5- Create a directory in `public/` named `blog_images`
71+
6972
6- Login as ADMIN and setup your package: `/blog_admin/setup`
73+
7074
7- Congrats! Your blog is ready to use. (URLs are customizable in the config file)
71-
`Admin panel URI: /blog_admin`
72-
`Front URI: /en/blog`
75+
```
76+
Admin panel URI: /blog_admin
77+
Front URI: /en/blog
78+
```
7379

7480
### For Complete Setup Instructions (with video guide), please Visit [The Install Guide](https://hessam.binshops.com/laravel-blog-package#setup)
7581

0 commit comments

Comments
 (0)