[feat] use id build anchors
This commit is contained in:
parent
cb97bddb12
commit
0a4eafbf61
1 changed files with 5 additions and 0 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue