#+name: org-capture-templates #+begin_src org :session vicarious :exports both :results output (setq org-capture-templates `(("i" "TODO" entry (file+headline "capture.org" "Tasks") ,(concat "* TODO %? %^g\n\n" "%(let ((link (plist-get org-store-link-plist :annotation)))" " (if (string-empty-p link) " " link " " (concat \"Here: \" link))) ") :kill-buffer t))) #+end_src