Skip to content

Commit

Permalink
Add test for #500
Browse files Browse the repository at this point in the history
  • Loading branch information
kaushalmodi committed Jan 4, 2022
1 parent 87024bd commit 5e70890
Show file tree
Hide file tree
Showing 4 changed files with 38 additions and 0 deletions.
15 changes: 15 additions & 0 deletions test/site/content-org/org-roam-file-A.org
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
:PROPERTIES:
:ID: 1e8ccec9-735d-41d0-b0cf-143d9c3e965d
:END:
#+hugo_base_dir: ../
#+hugo_section: org-roam
#+author:
#+title: A

https://github.com/kaushalmodi/ox-hugo/issues/500

[[id:01579e8c-a90b-4c53-af58-e18ff7877d00][B]]

#+begin_src emacs-lisp :eval never-export :exports none
(setq org-id-extra-files (directory-files-recursively default-directory "\.org$"))
#+end_src
9 changes: 9 additions & 0 deletions test/site/content-org/org-roam-file-B.org
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
:PROPERTIES:
:ID: 01579e8c-a90b-4c53-af58-e18ff7877d00
:END:
#+hugo_base_dir: ../
#+hugo_section: org-roam
#+author:
#+title: B

https://github.com/kaushalmodi/ox-hugo/issues/500
8 changes: 8 additions & 0 deletions test/site/content/org-roam/org-roam-file-A.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
+++
title = "A"
draft = false
+++

<https://github.com/kaushalmodi/ox-hugo/issues/500>

[B]({{<relref "org-roam-file-B.md#" >}})
6 changes: 6 additions & 0 deletions test/site/content/org-roam/org-roam-file-B.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
+++
title = "B"
draft = false
+++

<https://github.com/kaushalmodi/ox-hugo/issues/500>

0 comments on commit 5e70890

Please sign in to comment.