This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2022-01-17
Channels
- # announcements (24)
- # babashka (22)
- # beginners (49)
- # cider (16)
- # clj-kondo (8)
- # cljsrn (4)
- # clojure (87)
- # clojure-australia (7)
- # clojure-europe (44)
- # clojure-nl (4)
- # clojure-sweden (7)
- # clojure-uk (24)
- # clojurescript (5)
- # core-async (7)
- # cryogen (8)
- # cursive (22)
- # data-oriented-programming (2)
- # datomic (1)
- # emacs (6)
- # events (4)
- # fulcro (11)
- # google-cloud (1)
- # introduce-yourself (1)
- # java (8)
- # jobs (3)
- # lsp (10)
- # observability (1)
- # off-topic (12)
- # polylith (12)
- # re-frame (6)
- # reitit (36)
- # remote-jobs (1)
- # ring (4)
- # ring-swagger (1)
- # rum (4)
- # schema (1)
- # shadow-cljs (18)
- # sql (56)
- # tools-deps (33)
I have some trouble with AsciiDoc syntax in Cryogen and relative links. How can I render them properly? I'm trying something like:
link:/posts/my-summary-post[Summary]
Which gets rendered simply as
So it skips the hostname.Hmm, weird - it doesn't seem to work with relative urls starting with /
(the root)
If I use ..
it works:
link:../posts/my-summary-post[Summary]
For the context, I'm using this link on in one of the "pages" so it's not in the 'posts' folder.I have the same problem with images - have to use ..
// I need to use this
image::../img/my.png[]
// instead of preferred:
image::/img/my.png[]
I'm quite sure it works for me in https://github.com/holyjak/blog.jakubholy.net
see https://blog.jakubholy.net/2020/best-team-ever/ and there the link labeled "troubleshooting-friendly responses" with source here: https://github.com/holyjak/blog.jakubholy.net/blob/master/content/asc/posts/2020/best-team-ever.asc#L80 The code there is:
link:/2020/troubleshooting-friendly-responses/[troubleshooting-friendly responses]
and it works just fineInteresing but this simply doesn't work for me. I tried it several times and it produces invalid links.
Perhaps this can be a matter of proper configuration in config.edn
?
I found the problem!
It was :blog-prefix "/"
-> it should just be an empty string.
Thanks @U0522TWDA for making me check the config.
Happy to hear that