extrapage can now point to joomla, drupal, ...
This commit is contained in:
parent
3096c2b09a
commit
03d0baa2bf
@ -1530,7 +1530,10 @@ class BasePage: # pylint: disable=C1001
|
|||||||
while cols <= num_cols and index < number_items:
|
while cols <= num_cols and index < number_items:
|
||||||
url_fname, nav_text = menu_items[index]
|
url_fname, nav_text = menu_items[index]
|
||||||
|
|
||||||
hyper = self.get_nav_menu_hyperlink(url_fname, nav_text)
|
if url_fname.startswith('http'):
|
||||||
|
hyper = Html("a", nav_text, href=url_fname, title=nav_text, inline=True)
|
||||||
|
else:
|
||||||
|
hyper = self.get_nav_menu_hyperlink(url_fname, nav_text)
|
||||||
|
|
||||||
# Define 'currentsection' to correctly set navlink item
|
# Define 'currentsection' to correctly set navlink item
|
||||||
# CSS id 'CurrentSection' for Navigation styling.
|
# CSS id 'CurrentSection' for Navigation styling.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user