title: Edit YAML frontmatter in org-mode blog post destined for Jekyll
body: <p>I would like to use emacs' org-mode to write blog posts for my Jekyll-driven blog. Reading <a href="http://orgmode.org/worg/org-tutorials/org-jekyll.html" rel="nofollow">Using org to Blog with Jekyll</a>, what is normally done is to put your front matter in an <code>#+BEGIN_HTML</code> / <code>#+END_HTML</code> block which passes the front matter through untouched.</p>
  
  <p>However, using <code>org-edit-special</code> (<code>C-c '</code>), you end up with <code>html-mode</code> in the special edit buffer. Switching to <code>yaml-mode</code> doesn't work, because you can't go back from the special edit mode.</p>
  
  <p>Is there some way to be able to edit this front matter in <code>yaml-mode</code> without resorting to things like changing the whole buffer to <code>yaml-mode</code> then back to <code>org-mode</code> ?</p>