Add Org capture template for blog posts

org-jekyll and/or hyde still has to be properly configured for this to
work as I want. But at least I can capture my ideas.
This commit is contained in:
Gergely Polonkai 2016-10-19 15:59:31 +02:00
parent 175a795998
commit b957e6564e

View File

@ -372,7 +372,14 @@
org-mobile-inbox-for-pull (concat org-mobile-inbox-for-pull (concat
user-documents-directory user-documents-directory
(convert-standard-filename (convert-standard-filename
"/orgmode/from-mobile.org")))) "/orgmode/from-mobile.org")))
:config
(unless (boundp 'org-capture-templates)
(setq org-capture-templates nil))
(add-to-list 'org-capture-templates
'("p" "Blog post"
entry (file+datetree (concat org-directory "blog.org"))
"* %^{Title} :blog:\n :PROPERTIES:\n :on: %T\n :END:\n %i%?")))
(use-package org-bullets (use-package org-bullets
:init :init