Authentication-Results: mail-b.sr.ht; dkim=fail header.d=dvn.me header.i=@dvn.me Received: from q.meshwith.me (q.meshwith.me [91.121.161.13]) by mail-b.sr.ht (Postfix) with ESMTPS id 27B1611EF1D for <~sircmpwn/sr.ht-discuss@lists.sr.ht>; Mon, 8 Mar 2021 13:13:07 +0000 (UTC) Date: Mon, 8 Mar 2021 13:13:04 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=dvn.me; s=q; t=1615209185; bh=ltJGSr6FQQoFJ3kcsdXT2PvwqsQdLTOTJboFsEf6ENo=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=DSzOHTjsl5QGwD8NeumASvUgUpJjVA44w0CqhvIsdbdTMxdaLMrE6kayWb2fUokse ffZsku6blH/HMTth5ks61KcAx3yXhvDvffxcdMk3h+Q0nwV18U1S9tig2sKMLzUV6S +CYG+Lpp1F9pofVQ+D5ll3eKepcbbJAKnitweAZYYErUx05SOVFfSsHx/HvJJVaNlq YewagaLjBisofS5wBd2jqxO4GKz+jAK1i12OoMi07QSRoSOM1urW6xBcMAVhQqfGbo Q2Hgixf2FWMmMLGVqQgRjI+1/Aw6EjtUFjVIiiy0Ry5en8yYpphRPDgBWPgtXif3l2 jGiJplnznn3uW2zVKe7HRr4jZf1JsjaCQeQfgmMR1MJpavxT6dVuBGop7We72eV/tI VSyEEZGhkXAb4Pm4xKrsBMXhOweEUSg9Fe2zf+mkoXfGjJr2m3txCtx9uGbHLmX2ts ZkAc8Q7zcCT2kPn8Xm43RGui6hrbda9foOaiUQKGjGtlvAtZVV70KQ/mhydvSsnM5K LxEqkaMto5PF/HevFuzZeCYrrbdDfmjjtQ2QMWLUlV9i/JF945oKirBr1SbY2u9bk/ /iR6OrRIWyzWCU0+vKzwqXq2bDuOMSccTht9d6oUioki1tMYS4COJSltVMAmiKxfvR YhIkMxdn/lbhBJtN8KFpfc1U= From: dvn To: Drew DeVault Cc: ~sircmpwn/sr.ht-discuss@lists.sr.ht Subject: Re: [pages] Behaviour of Links Message-ID: <20210308131304.osj3v5jjfhikueiy@iyo> References: <20210307092859.epjy2rpc6svzblxa@arch> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: Drew DeVault transcribed 0.1K bytes: > Yeah, the issue isn't pages, it's your markup. Your HTML needs to be > fixed. Right, so instead of saying the markup is wrong, why not just confirm that pages does not support this kind of relative path? Even w3schools says that putting "picture.jpg" is for when "The "picture.jpg" file is located in the same folder as the current page"[0] I looked at the server.go for pages, and you could check for a relative path (r.URL.IsAbs() == false) in the request, and then concatenate accordingly... Having relative paths like this is useful because it allows you to resuse your html pages on multiple sites, hosts, etc, without needing to regenerate or edit your markup.