You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When pages are configured to show up in the navigation bar with a non default SAVE_PAGE_AS, selecting a page in the navbar does not set the corresponding page title style as active on the menu.
When pages are configured to show up in the navigation bar with a non default
SAVE_PAGE_AS
, selecting a page in the navbar does not set the corresponding page title style as active on the menu.Configuration Example:
The resulting code for mypage, located in mypage/index.html would be something like:
But should be:
In base.html the comparison is made between
output_file
andpage_url
. In the example above, output_file isindex.html
and page_url ismypage
.Here is a possible fix, mostly taken from the simple template in pelican:
I tested it successfully with the default configuration for the page output and with the configuration mentioned above.
The text was updated successfully, but these errors were encountered: