[fix] [website] next-item
This commit is contained in:
parent
fdcbdabe58
commit
ab0c4e82d5
1 changed files with 2 additions and 2 deletions
|
|
@ -130,10 +130,10 @@ def add_index(out, context):
|
|||
if context.relative_links:
|
||||
next_item.name = next_item.page_name or ""
|
||||
else:
|
||||
if next_item and next_item.name[0]!="/":
|
||||
if next_item and next_item.name and next_item.name[0]!="/":
|
||||
next_item.name = "/" + next_item.name
|
||||
|
||||
if next_item:
|
||||
if next_item and next_item.name:
|
||||
if not next_item.title:
|
||||
next_item.title = ""
|
||||
html = ('<p class="btn-next-wrapper"><a class="btn-next" href="{name}{extn}">'\
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue