On Thu, 21 Jan 2021 at 11:24, Don Oxley <
dono...@gmail.com> wrote:
>
> I have a working website on localhost that I'm trying to run on PythonAnywhere (PA). Everything seems to work fine, except that the (Bootstrap4) navbar is missing a trailing '/' on links below the top level. I submitted a query to the PA forum: forum entry
> that has an example with screen shots.
The screenshots don't seem to work.
> My conf.py navigation links are of the form: ("/pages/activities-index/index.html", "Activities"), though I have also tried without the 'index.html'. I presume I'm missing a setting somewhere, but I'm not sure where.
>
> Can you point me to where in the code the links are constructed
You should specify "/pages/activities-index/" in conf.py. Also, if
your hosting provider doesn’t work with "/pages/activities-index",
find a better one. (PythonAnywhere might not be the best choice/might
be overkill for hosting a static site.)
--
Chris Warrick <
https://chriswarrick.com/>
PGP: 5EAAEA16