We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent abb2dba commit c3132d4Copy full SHA for c3132d4
1 file changed
livemark/plugins/signs/plugin.py
@@ -30,8 +30,10 @@ def items(self):
30
if current_number:
31
if current_number > 1:
32
document = documents[current_number - 2]
33
- path = helpers.get_url_relpath(document.path, self.current)
34
- prev = {"name": document.name, "path": path}
+ # TODO: have a concept of public/hidden page?
+ if document.path != "404":
35
+ path = helpers.get_url_relpath(document.path, self.current)
36
+ prev = {"name": document.name, "path": path}
37
if current_number < len(documents):
38
document = documents[current_number]
39
# TODO: have a concept of public/hidden page?
0 commit comments