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

Org-mode link abbreviations don't work #8921

Closed
tsoutsman opened this issue Aug 24, 2021 · 5 comments · Fixed by #9326
Closed

Org-mode link abbreviations don't work #8921

tsoutsman opened this issue Aug 24, 2021 · 5 comments · Fixed by #9326
Labels
Milestone

Comments

@tsoutsman
Copy link

tsoutsman commented Aug 24, 2021

What version of Hugo are you using (hugo version)?

$ hugo version
hugo v0.87.0+extended linux/amd64 BuildDate=unknown

Does this issue reproduce with the latest release?

Yes

The issue

Org-mode allows for link abbreviations as follows:

#+TITLE: Example
#+LINK: foo https://google.com

[[foo]]

but Hugo does not understand these and sends you to the /foo subpage as if the link abbreviation didn't exist.

This issue is not present in the equivalent Markdown:

---
title: Example
---

[foo]

[foo]: https://google.com

Hugo seems to be using go-org as its Org parser. According to this issue go-org should support link abbreviations. I don't know Go and how dependencies work, but could Hugo potentially be using an outdated version of go-org?

@bep
Copy link
Member

bep commented Aug 24, 2021

We use github.com/niklasfasching/go-org@v1.5.0 -- the latest release.

@bep bep added the Upstream label Aug 24, 2021
@bep bep added this to the v0.88 milestone Aug 24, 2021
@bep bep modified the milestones: v0.88, v0.89 Sep 2, 2021
@jmooring
Copy link
Member

@tsoutsman The initial implementation was incomplete. See niklasfasching/go-org#64.

@tsoutsman
Copy link
Author

@jmooring Thanks for looking into it. Should this issue be closed if it's definitely an upstream issue?

@jmooring
Copy link
Member

Should this issue be closed if it's definitely an upstream issue?

No.

@github-actions
Copy link

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jan 13, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants