From b957e6564e38dc9019edb5e5cecd750e4fd45021 Mon Sep 17 00:00:00 2001 From: Gergely Polonkai Date: Wed, 19 Oct 2016 15:59:31 +0200 Subject: [PATCH] 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. --- init.el | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/init.el b/init.el index 78c9a96..6ef61c0 100644 --- a/init.el +++ b/init.el @@ -372,7 +372,14 @@ org-mobile-inbox-for-pull (concat user-documents-directory (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 :init