On Thu, 21 Jan 2021 at 11:24, Don Oxley <[email protected]> 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
--
You received this message because you are subscribed to the Google Groups
"nikola-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/nikola-discuss/CAMw%2Bj7LpowRHh_pWYkB1vozOcB%3D0w2tKggcPkeqWxT4Pff8DzQ%40mail.gmail.com.