commit d38fd66b8e18e748dd7cfe3b7028d292faffbfb3
parent 5b55738519293abc06a6e47c52fa8768893a00d9
Author: Alex Balgavy <alex@balgavy.eu>
Date: Sat, 27 Aug 2022 13:16:22 +0200
emacs: fix org-publish zola front matter export
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/emacs/config.org b/emacs/config.org
@@ -1672,7 +1672,7 @@ Fix column alignment in agenda.
#+end_src
*** Priorities: how important something is
-I usually have a lot of 'next' actions, so I prefer 4 priority levels instead of the default 3: A (urgent, ASAP), B (important), C (not super important), D (do in free time):
+I usually have a lot of 'next' actions, so I prefer 4 priority levels instead of the default 3: A (urgent, ASAP), B (important), C (if you have nothing else, do this), D (do in free time):
#+begin_src emacs-lisp
(setq org-priority-highest ?A
@@ -1774,7 +1774,7 @@ And here's the custom publish function that adds/removes the necessary advice:
(defun za/org-gfm-publish-to-gfm-zola (plist filename pub-dir)
"Run `org-gfm-publish-to-gfm`, advising the necessary
functions to generate Zola-compatible markdown."
- (let ((advice '((org-md-template :override za/org-md-template-zola)
+ (let ((advice '((org-gfm-template :override za/org-md-template-zola)
(org-md-link :filter-return za/org-md-link-zola)
(org-gfm-table :override org-md--convert-to-html)))) ; Zola uses CommonMark, so doesn't support Markdown tables