From 0a4eafbf61a59df8740b06458e9959db8d843e27 Mon Sep 17 00:00:00 2001 From: SouthFox Date: Mon, 14 Oct 2024 23:56:33 +0800 Subject: [PATCH] [feat] use id build anchors --- config.org | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/config.org b/config.org index e99e5a6..98bdb7a 100644 --- a/config.org +++ b/config.org @@ -114,6 +114,11 @@ "* %?" :target (file+head "%<%Y-%m-%d>.org" "#+title: %<%Y-%m-%d>\n#+date: %T\n#+hugo_auto_set_lastmod: t\n#+hugo_section: daily\n")))) + +(with-eval-after-load 'ox-hugo + (setq org-hugo-anchor-functions '(org-hugo-get-id + org-hugo-get-heading-slug + org-hugo-get-md5))) #+end_src *** Garden