From 7ce22353511cee4970207d6f89f7a7ccef5c022e Mon Sep 17 00:00:00 2001 From: Christopher James Hayward Date: Tue, 9 Feb 2021 11:08:35 -0500 Subject: [PATCH] Add course capture template --- README.org | 11 ++++++++++- modules/writing.el | 11 ++++++++++- 2 files changed, 20 insertions(+), 2 deletions(-) diff --git a/README.org b/README.org index ca2343f..56432f7 100644 --- a/README.org +++ b/README.org @@ -863,7 +863,16 @@ Download and install [[https://orgroam.com][org-roam]], a plain text knowledge m ,#+HUGO_SECTION: notes ,#+HUGO_DRAFT: true ") - + ("c" "Course" plain (function org-roam-capture--get-point) + "%?" + :file-name "docs/courses/${slug}" + :unnarrowed t + :head +" +,#+TITLE: ${title} +,#+SUBTITLE: +,#+AUTHOR: Christopher James Hayward +") ("s" "Slides" plain (function org-roam-capture--get-point) "%?" :file-name "docs/slides/${slug}" diff --git a/modules/writing.el b/modules/writing.el index 67eaa6f..f5b2196 100644 --- a/modules/writing.el +++ b/modules/writing.el @@ -49,7 +49,16 @@ #+HUGO_SECTION: notes #+HUGO_DRAFT: true ") - + ("c" "Course" plain (function org-roam-capture--get-point) + "%?" + :file-name "docs/courses/${slug}" + :unnarrowed t + :head +" +#+TITLE: ${title} +#+SUBTITLE: +#+AUTHOR: Christopher James Hayward +") ("s" "Slides" plain (function org-roam-capture--get-point) "%?" :file-name "docs/slides/${slug}"