From 476ab85aec46577a0839a9a6d7d91f11301e0c22 Mon Sep 17 00:00:00 2001 From: J S Date: Mon, 1 Jan 2024 16:23:52 -0500 Subject: [PATCH] feat[website] Added cap template for website --- config.org | 35 +++++++++++++++-------------------- cookies.txt | Bin 52472 -> 51865 bytes 2 files changed, 15 insertions(+), 20 deletions(-) diff --git a/config.org b/config.org index 6d8417e..cab4b4f 100644 --- a/config.org +++ b/config.org @@ -339,19 +339,9 @@ In order for editorconfig to do its thing, indentation by the lsp must be disabl * Website ** Capture template #+begin_src emacs-lisp -;(setq templates/post-capture-props "#+date: [%<%Y-%m-%d %a>]\n#+lastmod:\n#+categories[]:\n#+tags[]:\n#+images[]: ") -;(setq templates/post-capture-title "#+TITLE: ${title}\n") -;(setq templates/post-capture-template (concat templates/post-capture-title templates/post-capture-props)) -#+end_src - - -#+begin_src emacs-lisp -(after! org-roam -(add-to-list 'org-roam-capture-templates - '("m" "Markdown" plain "" :target - (file+head "training-resources/content/${title}.md" -"---\ntitle: ${title}\nid: %<%Y-%m-%dT%H%M%S>\ncategory: \n---\n") - :unnarrowed t))) +(setq templates/post-capture-props "#+date: [%<%Y-%m-%d %a>]\n#+lastmod:\n#+categories[]:\n#+tags[]:\n#+images[]: ") +(setq templates/post-capture-title "#+TITLE: ${title}\n") +(setq templates/post-capture-template (concat templates/post-capture-title templates/post-capture-props)) #+end_src @@ -864,11 +854,10 @@ Adding up values for one key is supported." *** ox-extra for ":ignore:" tags I want to be able to ignore headings on export. #+begin_src emacs-lisp -(after! org (use-package! ox-extra + :after (org) :config - (ox-extras-activate '(latex-header-blocks ignore-headlines) - ))) + (ox-extras-activate '(latex-header-blocks ignore-headlines))) #+end_src *** Resume template #+begin_src emacs-lisp @@ -992,10 +981,16 @@ We need to bring in the correct SSH agent values, so that Emacs is aware of wher ** COMMENT Capture template for documentation #+begin_src emacs-lisp (add-to-list 'org-roam-capture-templates - '("m" "Markdown" plain "" :target - (file+head "training-resources/content/${title}.md" -"---\ntitle: ${title}\nid: %<%Y-%m-%dT%H%M%S>\ncategory: \n---\n") - :unnarrowed t)) + '("m" "Markdown" plain "" + :target + (file+head "training-resources/content/${title}.md" + "---\ntitle: ${title}\nid: %<%Y-%m-%dT%H%M%S>\ncategory: \n---\n") + :unnarrowed t) + '("w" "Website" plain "%?" + :target + (file+head "website/src/posts/%<%Y%m%d-%H%M%S>.org" + "#+TITLE: ${title}\n#+DRAFT: true\n") + :unnarrowed t)) #+end_src * Funny Stuff diff --git a/cookies.txt b/cookies.txt index 5e3b56ab1d1765708f22fe282977560d96e2fc4e..d2a475096053e60b31a12a854bd4668f44f58b99 100644 GIT binary patch delta 42 zcmV+_0M-BanFE=X1F$>`vwsWzFq6PMaI=>^6ce-TP)kv>prQ>Vv+BmN1d}Gr(w;XH A^#A|> delta 630 zcmXYvy^hmB6onDHRhEv9hGS7|lSLpTL=h=+;z?o=+rf4ckZ30H1drC4iDt(6*=8SN zwZ)bz(IO$Gq@beU6?hRSnX$IL=gxQUxo7TfPyXGVeD9of6~jT+(1uqPGV*cikH??j z_w#T@xSB+j$ryR*lyyCvN+D>7{4jwu+4kw4BcNt0k| zNl6STK<$8>kk}s*HwgVCB0)$p&%1fsG1M`{xxs=lfi+c%vjSW|ZY@#sJr0a2-NvFe z*fEr}fM)xeR#?hfXjXCYr3GfY4=CsXD<#)Rl+{zYV9My@*Uq!2uc&)sx#A5QtXf4lFuKm+1{<}0lBS@?Bb9s%twTbvxj1#_-12Qa6&&B z3<&X@LN6KCtmRG;aUqzNhBg)o>CBR-=clQkWwy!l9<_3N;3$j(aNVph;a67_ljHOI zzc1dnlC3|u=E5*#tt)L4WTtDw3N^TCqpZue18~zlKKb?I^ct9#)IgWAu8M}sgyA;% zvbG0+qDzJ#afH4Ux?VF-toX{5t;WqLocWo}edv$d(3c$XG$1JCP9Vx(g3L%tvb+sy a@7MeUiXE?tR+I9akkj`h4sL$_{_`J+>(5mH