Skip to content
This repository has been archived by the owner on Jun 1, 2020. It is now read-only.

Commit

Permalink
Agregado org-roam-capture "ref" (para páginas web)
Browse files Browse the repository at this point in the history
  • Loading branch information
nanounanue committed Apr 24, 2020
1 parent 33f6585 commit d6fa27b
Showing 1 changed file with 10 additions and 8 deletions.
18 changes: 10 additions & 8 deletions emacs/emacs-org-mode.org
Original file line number Diff line number Diff line change
Expand Up @@ -1436,24 +1436,26 @@ In a later step it should be possible to create truly interleaved PDFs of your n
,#+HUGO_SECTION: zettels
,#+HUGO_SLUG: ${slug}
,#+STARTUP: latexpreview
,#+TITLE: ${title}\n"
,#+TITLE: ${title}

- tags :: "
:unnarrowed t)
("p" "private" plain (function org-roam-capture--get-point)
"%?"
:file-name "private-${slug}"
:head "#+TITLE: ${title}\n"
:unnarrowed t)))
(setq org-roam-ref-capture-templates
'(("r" "ref" plain (function org-roam-capture--get-point)
("r" "ref" plain (function org-roam-capture--get-point)
"%?"
:file-name "websites/${slug}"
:head "#+SETUPFILE:./hugo.setup
,#+HUGO_SECTION: websites
,#+ROAM_KEY: ${ref}
,#+HUGO_SLUG: ${slug}
,#+STARTUP: latexpreview
,#+TITLE: ${title}

- source :: ${ref}"
:unnarrowed t)
("p" "private" plain (function org-roam-capture--get-point)
"%?"
:file-name "private-${slug}"
:head "#+TITLE: ${title}\n"
:unnarrowed t))))
#+end_src

Expand Down

0 comments on commit d6fa27b

Please sign in to comment.