diff options
author | Niklas Fasching <niklas.fasching@gmail.com> | 2021-04-11 21:59:26 +0200 |
---|---|---|
committer | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2021-04-12 08:08:53 +0200 |
commit | fa432b17b349ed7e914af3625187e2c1dc2e243b (patch) | |
tree | b50642d17cc2df894551da39482f1a92e64a1499 /go.sum | |
parent | 0cd55c66d370559b66eea220626c4842efaf7039 (diff) |
org: Disable broken pretty relative links feature
go-org PrettyRelativeLinks rewrites relative org links by
- adding `../` in front
- removing any `.org` suffix
This was meant to play well with hugo pretty urls (which pretty much renders
posts in a subdirectory without the file suffix) and allow use of normal org
file links to reference other posts.
There's a lot of edge cases I didn't consider and multiple bug reports in
go-org [1] later I don't think the complexity of handling those edge cases is
worth it - so let's disable it.
[1]
- https://github.com/niklasfasching/go-org/issues/53
- https://github.com/niklasfasching/go-org/commit/5dadf8c4c2924cbb3b93be45f96e1147596ca6f2 (comment)
- https://github.com/niklasfasching/go-org/issues/51
Diffstat (limited to 'go.sum')
0 files changed, 0 insertions, 0 deletions