From d95fd4dff04156a241012e4825ba35507afcc574 Mon Sep 17 00:00:00 2001 From: Christopher James Hayward Date: Wed, 3 Feb 2021 23:48:40 -0500 Subject: [PATCH] Update capture template --- README.org | 4 ++++ modules/writing.el | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/README.org b/README.org index 96c0e45..635e95b 100644 --- a/README.org +++ b/README.org @@ -677,11 +677,13 @@ Organize the capture templates, this allows me to quickly dictate where each new ,#+AUTHOR: Christopher James Hayward ,#+DATE: %<%Y-%m-%d> +,#+EXPORT_FILE_NAME: ${slug} ,#+ROAM_KEY: https://chrishayward.xyz/posts/${slug}/ ,#+HUGO_BASE_DIR: ../../website/ ,#+HUGO_AUTO_SET_LASTMOD: t ,#+HUGO_SECTION: posts +,#+HUGO_DRAFT: true ") ("n" "Notes" plain (function org-roam-capture--get-point) "%?" @@ -692,11 +694,13 @@ Organize the capture templates, this allows me to quickly dictate where each new ,#+TITLE: ${title} ,#+AUTHOR: Christopher James Hayward +,#+EXPORT_FILE_NAME: ${slug} ,#+ROAM_KEY: https://chrishayward.xyz/notes/${slug}/ ,#+HUGO_BASE_DIR: ../../website ,#+HUGO_AUTO_SET_LASTMOD: t ,#+HUGO_SECTION: notes +,#+HUGO_DRAFT: true ") ("s" "Slides" plain (function org-roam-capture--get-point) "%?" diff --git a/modules/writing.el b/modules/writing.el index fea22cc..b4a61fd 100644 --- a/modules/writing.el +++ b/modules/writing.el @@ -38,11 +38,13 @@ #+AUTHOR: Christopher James Hayward #+DATE: %<%Y-%m-%d> +#+EXPORT_FILE_NAME: ${slug} #+ROAM_KEY: https://chrishayward.xyz/posts/${slug}/ #+HUGO_BASE_DIR: ../../website/ #+HUGO_AUTO_SET_LASTMOD: t #+HUGO_SECTION: posts +#+HUGO_DRAFT: true ") ("n" "Notes" plain (function org-roam-capture--get-point) "%?" @@ -53,11 +55,13 @@ #+TITLE: ${title} #+AUTHOR: Christopher James Hayward +#+EXPORT_FILE_NAME: ${slug} #+ROAM_KEY: https://chrishayward.xyz/notes/${slug}/ #+HUGO_BASE_DIR: ../../website #+HUGO_AUTO_SET_LASTMOD: t #+HUGO_SECTION: notes +#+HUGO_DRAFT: true ") ("s" "Slides" plain (function org-roam-capture--get-point) "%?"