wowthemesnet / mediumish-theme-jekyll

Jekyll Template - Mediumish
https://wowthemesnet.github.io/mediumish-theme-jekyll/
MIT License
1.29k stars 1.53k forks source link

new .md post is giving error #100

Closed omps closed 5 years ago

omps commented 5 years ago

Getting the below error.

    Server address: http://127.0.0.1:4000/mediumish-theme-jekyll/                
  Server running... press ctrl-c to stop.                                        
      Regenerating: 1 file(s) changed at 2019-06-23 11:00:11                     
                    test-post.md        
       Jekyll Feed: Generating feed for posts                                    
  Liquid Exception: Liquid error (line 106): Cannot sort a null object. in /_layouts/post.html                                                                    
             Error: Liquid error (line 106): Cannot sort a null object.          
             Error: Run jekyll build --trace for more information.               

I have copied the content of the existing .md file and added to a new file. the new file in which is added is giving issue, the file is not showing also giving the errors as above.

omps commented 5 years ago

fixed. Sorry, seems the files were getting created in the wrong directory, moving to _posts folder fixed the issue.