diff options
author | Niklas Fasching <niklas.fasching@gmail.com> | 2021-01-02 22:52:37 +0300 |
---|---|---|
committer | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2021-01-03 00:29:06 +0300 |
commit | 212e5e554284bc9368e52a512ed09be5a0224d3e (patch) | |
tree | e7fc0df35c57f144eda5258150de620d095f44d7 /go.mod | |
parent | 4fdec67b1155ae1cdf051582d9ab387286b71a07 (diff) |
deps: Update go-org to v1.4.0
- Add support for pretty urls [1]. Rewrite file links:
1. replace the `.org` extension with `/` (`/foo.org` -> `/foo/`)
2. prefix unrooted links with `../` as relative links start in the fake
subdirectory `/foo/` rather than `/`
- Fix case-sensitivity of org drawer `:end:`
[1] https://gohugo.io/content-management/urls/#pretty-urls
Diffstat (limited to 'go.mod')
-rw-r--r-- | go.mod | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -40,7 +40,7 @@ require ( github.com/muesli/smartcrop v0.3.0 github.com/nfnt/resize v0.0.0-20180221191011-83c6a9932646 // indirect github.com/nicksnyder/go-i18n/v2 v2.1.1 - github.com/niklasfasching/go-org v1.3.2 + github.com/niklasfasching/go-org v1.4.0 github.com/olekukonko/tablewriter v0.0.4 github.com/pelletier/go-toml v1.8.1 github.com/pkg/errors v0.9.1 @@ -60,7 +60,7 @@ require ( github.com/yuin/goldmark-highlighting v0.0.0-20200307114337-60d527fdb691 gocloud.dev v0.20.0 golang.org/x/image v0.0.0-20191214001246-9130b4cfad52 - golang.org/x/net v0.0.0-20200602114024-627f9648deb9 + golang.org/x/net v0.0.0-20201224014010-6772e930b67b golang.org/x/sync v0.0.0-20200317015054-43a5402ce75a golang.org/x/text v0.3.4 google.golang.org/api v0.26.0 |