Install admin dashboard on your Jekyll blog

Install admin dashboard on your Jekyll blog

One major problem users face with Jekyll blog is adding new posts. While writing a new post using markdown language, to add a new image or formatting the blog post could be difficult.

Admin dashboard was one standout feature for wordpress which made life simple. Especially the bloggers who migrate from wordpress to jekyll find this as a disadvanatge.

But there is an option to add an admin dashboard to your jekyll blog.

  1. Open Jekyll directory
  2. Open config.yml file in any text editor and add the below command under plugins and save it.

     `- jekyll-admin`
    

  3. Open ‘GemFile’ in any text editor and add the below command under ‘group :jekyll_plugins do’.

         `gem "jekyll-admin"`
    

  4. Open command prompt and navigate to your jekyll blog directory and execute the below command.

     `bundle exec jekyll serve`
    

     Now this will deploy your blog in localhost.
    
  5. Open any webbrowser and naviagte to http://localhost:4000/admin or http://127.0.0.1:4000/admin to view the admin dashboard.

  6. Click on Posts in left sidebar to create a new post. Input all the necessary details and click on create.

  7. Now navigate to http://localhost:4000/ or http://127.0.0.1:4000 to view your blog and the post you have created will be visible in the blog.

comments powered by Disqus