Closed parkr closed 8 years ago
That's great, thanks @parkr.
I've tested the patch and it's working fine for jekyll 3.1.2
(which I think is the latest stable.)
FWIW it throws this error with jekyll 3.0.2
:
Error converting file _posts/2013-05-26-bastien_guerry_orgmode_emacs_chat.org: undefined method
merged_file_read_opts' for Jekyll::Utils:Module ["/home/guerry /install/git/emacsdoctor/_plugins/jekyll-org/convert.rb:45:in
read'", "/var/lib/gems/2.1.0/gems/jekyll-3.0.2/lib/jekyll/readers/post_reader.rb:36:ineach'", "/var/lib/gems/2.1.0/gems/jekyll-3.0.2/lib/jekyll/readers/post_reader.rb:36:in
block in read_publishable'"
Maybe not important, I don't know if many people use `jekyll < 3.1".
Thanks again!
It seems to work great with YAML front-matter, but I can't seem to get the promised org-style alternative to work, e.g.
#+TITLE: foo
#+LAYOUT: post
#+TAGS: Foo Bar
just test it's working with the org-style meta data configuration ex:
#+LAYOUT: post
#+TITLE: "Welcome to Jekyll with orgmode !"
#+TAGS: Hello, Category
#+DATE: 2016-04-01
_NOTES: _ you can not insert #CATEGORIES: some-cate
in the header.
Ah! It does work for blog posts in the _post directory, but not for regular pages... Well, that's a good start for me :-)
@stig yes, it's not support at this project started. I think people doesn't really need write lot of page with org-mode in jekyll(maybe i'm totally wrong)
@eggcaker well, we certainly hope more and more people will need to write org-mode files with Jekyll :-) Thanks for the fix again.
I think people doesn't really need write lot of page with org-mode in jekyll(maybe i'm totally wrong)
People probably don't need to but I would love to do so :-)
it's true
@bzg was looking for this here: https://talk.jekyllrb.com/t/would-the-maintainers-be-open-for-a-pr-adding-org-support/2210/4
/cc @eggcaker