Bug#924172: extra "/english" added to path of CSS and other files in /devel/website/stats
On Wed, 2020-08-19 at 13:02 +0200, Laura Arjona Reina wrote: > Hi all > > The issue with sitemaps was fixed with commit > > https://salsa.debian.org/webmaster-team/webwml/-/commit/83f7cae0178074e5e4f913168b4b42c7be90af13 > > as explained before :-) > > However, a similar issue has been discovered in the > > https://www.debian.org/devel/website/stats/ pages (all languages): > > the paths linking to CSS and other places (header and navbar) include > an extra /english/ that breaks the link (and thus, for example, CSS > is not loaded). I think this got fixed at some point - at least, https://www.debian.org/devel/website/stats/index.de.html seems to work. Regards, Adam
Bug#924172: extra "/english" added to path of CSS and other files in /devel/website/stats
Hi all The issue with sitemaps was fixed with commit https://salsa.debian.org/webmaster-team/webwml/-/commit/83f7cae0178074e5e4f913168b4b42c7be90af13 as explained before :-) However, a similar issue has been discovered in the https://www.debian.org/devel/website/stats/ pages (all languages): the paths linking to CSS and other places (header and navbar) include an extra /english/ that breaks the link (and thus, for example, CSS is not loaded). I guess this is due to the way the files are called in the Makefile: https://salsa.debian.org/webmaster-team/webwml/blob/master/english/devel/website/stats/Makefile But I have no idea about how to solve it. The only thing that comes to mind is to make a substitution in the *.html files to remove the string "/english" (or "english/"), prior to copy the files to the www folder. Even in this case, I'm not sure I can provide a patch... Kind regards, -- Laura Arjona Reina https://wiki.debian.org/LauraArjona