[GRASS-web] new website: draft version
Markus Neteler
neteler at osgeo.org
Sat Nov 16 02:52:15 PST 2019
Monthly ping
On Thu, Aug 29, 2019 at 6:37 PM nicolas bozon <nicolas.bozon at gmail.com> wrote:
>
> Hi Martin,
>
> When building the site locally, i used to declare " " as baseURL, and then run ghe hugo server command to build and publish on localhost:1313
> Then i also realized that the final web URL had to be hardcoded to make it work on the web server.
>
> However, there are these relURL (https://gohugo.io/functions/relurl/) and absURL (https://gohugo.io/functions/absurl/) that i noticed afterwards, that may help to solve this issue.
>
> Talk soon,
>
> Nick
>
>
>
>
>
> Le jeu. 29 août 2019 à 17:24, Martin Landa <landa.martin at gmail.com> a écrit :
>>
>> Hi,
>>
>> čt 29. 8. 2019 v 17:11 odesílatel Martin Landa <landa.martin at gmail.com> napsal:
>> > baseURL is hardcoded to your target [1]. Is there any option to use
>> > related URL (pointing to a current directory). Let's open web-site eg.
>> > from /opt/src/grass-website/public.
>> >
>> > In this case baseURL should point to file:///opt/src/grass-website/public.
>>
>> I just wonder whether it's even possible to use relative URLs without
>> local web server. My attempt [1] seems to work for main page, but all
>> other pages are broken.
>>
>> Ma
>>
>> [1] https://github.com/landam/grass-website/commit/045ad12e210295d7321e84452f6caa7bcb34e932
>>
>> --
>> Martin Landa
>> http://geo.fsv.cvut.cz/gwiki/Landa
>> http://gismentors.cz/mentors/landa
>
> _______________________________________________
> grass-web mailing list
> grass-web at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/grass-web
--
Markus Neteler, PhD
https://www.mundialis.de - free data with free software
https://grass.osgeo.org
https://courses.neteler.org/blog
More information about the grass-web
mailing list