eggcaker / jekyll-org

org-mode converter for Jekyll.
http://eggcaker.github.io/jekyll-org
MIT License
133 stars 29 forks source link

datestamps #21

Closed bowerth closed 7 years ago

bowerth commented 7 years ago

hello -

thanks for the plugin and the description. I receive the following message when running jekyll serve. As a result, dates are not picked up from file names, instead all org posts use the current day as datestamp and the html post url is unchanged: http://localhost:4000/2016/12/07/2015-12-17-abc.html

this could be an issue of my ruby/jekyll installation...

Error converting file _posts/abc.org: undefined local variable or method `post_read' for #<Jekyll::Document:0x00555ebc5beaf8> [
"/home/xps13/.gem/ruby/gems/jekyll-3.3.1/lib/jekyll/document.rb:370:in `method_missing'", 
"/home/xps13/.gem/ruby/gems/jekyll-org-1.0.1/lib/jekyll-org.rb:76:in `read'", 
"/home/xps13/.gem/ruby/gems/jekyll-3.3.1/lib/jekyll/readers/post_reader.rb:35:in `each'", 
"/home/xps13/.gem/ruby/gems/jekyll-3.3.1/lib/jekyll/readers/post_reader.rb:35:in `block in read_publishable'", 
"/home/xps13/.gem/ruby/gems/jekyll-3.3.1/lib/jekyll/readers/post_reader.rb:35:in `tap'", 
"/home/xps13/.gem/ruby/gems/jekyll-3.3.1/lib/jekyll/readers/post_reader.rb:35:in `read_publishable'", "/home/xps13/.gem/ruby/gems/jekyll-3.3.1/lib/jekyll/readers/post_reader.rb:25:in `read_posts'", 
"/home/xps13/.gem/ruby/gems/jekyll-3.3.1/lib/jekyll/reader.rb:62:in `retrieve_posts'", 
"/home/xps13/.gem/ruby/gems/jekyll-3.3.1/lib/jekyll/reader.rb:49:in `read_directories'", 
"/home/xps13/.gem/ruby/gems/jekyll-3.3.1/lib/jekyll/reader.rb:17:in `read'", 
"/home/xps13/.gem/ruby/gems/jekyll-3.3.1/lib/jekyll/site.rb:163:in `read'", 
"/home/xps13/.gem/ruby/gems/jekyll-3.3.1/lib/jekyll/site.rb:67:in `process'", 
"/home/xps13/.gem/ruby/gems/jekyll-3.3.1/lib/jekyll/command.rb:26:in `process_site'", 
"/home/xps13/.gem/ruby/gems/jekyll-3.3.1/lib/jekyll/commands/build.rb:63:in `build'", 
"/home/xps13/.gem/ruby/gems/jekyll-3.3.1/lib/jekyll/commands/build.rb:34:in `process'", 
"/home/xps13/.gem/ruby/gems/jekyll-3.3.1/lib/jekyll/commands/serve.rb:37:in `block (2 levels) in init_with_program'", 
"/home/xps13/.gem/ruby/gems/mercenary-0.3.6/lib/mercenary/command.rb:220:in `block in execute'", "/home/xps13/.gem/ruby/gems/mercenary-0.3.6/lib/mercenary/command.rb:220:in `each'", 
"/home/xps13/.gem/ruby/gems/mercenary-0.3.6/lib/mercenary/command.rb:220:in `execute'", 
"/home/xps13/.gem/ruby/gems/mercenary-0.3.6/lib/mercenary/program.rb:42:in `go'", 
"/home/xps13/.gem/ruby/gems/mercenary-0.3.6/lib/mercenary.rb:19:in `program'", 
"/home/xps13/.gem/ruby/gems/jekyll-3.3.1/exe/jekyll:13:in `<top (required)>'", "/usr/local/bin/jekyll:23:in `load'", "/usr/local/bin/jekyll:23:in `<main>'"]