Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

REF_NOT_FOUND when using page links with namespaces #27

Merged
merged 1 commit into from Aug 25, 2022

Conversation

dom8509
Copy link
Contributor

@dom8509 dom8509 commented Aug 25, 2022

Problem:
Data in Logseq:
test 1/page 1 -> has link to page 2 [[test 2/page 2]]
test 2/page 2 -> has link to page 1 [[test 1/page 1]]

Export with the plugin to Markdown:
content/pages/test 1/page 1.md -> link to {{< ref "test 2/page 2" >}} -> not working!
content/pages/test 2/page 2.md -> link to {{< ref "test 1/page 1" >}} -> not working!

Solution:
Add /page/ before each page link;
{{< ref "/page/test 2/page 2" >}

@dom8509 dom8509 changed the title fixed path for hugo page links REF_NOT_FOUND when using page links with namespaces Aug 25, 2022
@sawhney17
Copy link
Owner

Awesome. Thanks for the PR! Merging

@sawhney17 sawhney17 merged commit c2d2553 into sawhney17:main Aug 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants