-- Leo's gemini proxy

-- Connecting to warmedal.se:1965...

-- Connected

-- Sending request

-- Meta line: 20 text/gemini; lang=en

Re: Links Without Scheme


Alex wrote about how he’s using schemeless URLs for his dual hosting setup.


It’s really neat. I learned about this trick some time ago, but am not using it myself. But for many others who dual host (or triple host: http, gemini, gopher) it can be useful and I figure I should boost it just for that.


I can share my own solution too, which is objectively worse! 😄


I don’t dual host all my posts. This one, for example, is only on gemini. And all my pages are static, which means the dual hosted posts exist in a gemtext version and an html version.


Luckily I built my publishing system myself, meaning I can customize as much as I want. Thus I decided to only use relative links when referring to my own posts, and use the suffix ”.BOTH” if the post in question is available in both versions. When the post is published the link suffix will be changed to either ”.gmi” or ”.html” depending on the target folder.


I suspect schemeless URL links will be useful if and when I link to dual hosted content elsewhere, of course. Maybe in conjunction with ”.BOTH”, even.


-- CC0 ew0k, 2021-07-05

-- Response ended

-- Page fetched on Sat May 4 12:36:41 2024