[perf] add export both header-arg in dailies

This commit is contained in:
SouthFox 2023-05-25 14:57:56 +08:00
parent a57da7bfe1
commit 507a1692c8
2 changed files with 8 additions and 4 deletions

View file

@ -106,7 +106,9 @@
'(("d" "default" entry
"* %?"
:target (file+head "%<%Y-%m-%d>.org"
"#+title: %<%Y-%m-%d>\n#+date: %T\n#+hugo_auto_set_lastmod: t\n"))))
":PROPERTIES:
:header-args: :exports both\n:END:
#+title: %<%Y-%m-%d>\n#+date: %T\n#+hugo_auto_set_lastmod: t\n"))))
(use-package! websocket
:after org-roam)
@ -250,7 +252,7 @@
(setq bibtex-completion-bibliography '("~/Nextcloud/Ebook/catalog.bib"))
(setq citar-bibliography '("~/Nextcloud/Ebook/catalog.bib"))
(setq calibredb-root-dir "~/Nextcloud/Ebook")
(setq calibredb-root-dir "~/Documents/Ebook")
(setq calibredb-db-dir (expand-file-name "metadata.db" calibredb-root-dir))
(setq calibredb-ref-default-bibliography (concat (file-name-as-directory calibredb-root-dir) "catalog.bib"))
(setq calibredb-format-all-the-icons t)

View file

@ -145,7 +145,9 @@
'(("d" "default" entry
"* %?"
:target (file+head "%<%Y-%m-%d>.org"
"#+title: %<%Y-%m-%d>\n#+date: %T\n#+hugo_auto_set_lastmod: t\n"))))
":PROPERTIES:
:header-args: :exports both\n:END:
#+title: %<%Y-%m-%d>\n#+date: %T\n#+hugo_auto_set_lastmod: t\n"))))
#+end_src
** org-roam-ui
@ -350,7 +352,7 @@
** Calibre
#+begin_src emacs-lisp
(setq calibredb-root-dir "~/Nextcloud/Ebook")
(setq calibredb-root-dir "~/Documents/Ebook")
(setq calibredb-db-dir (expand-file-name "metadata.db" calibredb-root-dir))
(setq calibredb-ref-default-bibliography (concat (file-name-as-directory calibredb-root-dir) "catalog.bib"))
(setq calibredb-format-all-the-icons t)