Permalink issue


 I have created a page in Jekyll. and added a first permalink as mentioned below 

 1. (not working. showing directory listing)
 2. (working)

  for the second link i have added the below line to generate the links
                   path: ""      # empty string for all files
                   type: posts   # limit to posts
                   is_post: true # automatically set is_post=true for all posts
                   permalink: "/blogs/:title"

which is working fine and for first link when i visit it is showing directory. is there any way that the first links should also work? i want the first URL to work.

please help.
urgent required the solution.

Thank you,