[feat] use id build anchors

This commit is contained in:
SouthFox 2024-10-14 23:56:33 +08:00
parent cb97bddb12
commit 0a4eafbf61

View file

@ -114,6 +114,11 @@
"* %?" "* %?"
:target (file+head "%<%Y-%m-%d>.org" :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")))) "#+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 #+end_src
*** Garden *** Garden