mirror of
https://github.com/zhigang1992/probot.github.io.git
synced 2026-04-23 11:57:35 +08:00
Remove breaks that were _breaking_ prev/next links
This commit is contained in:
@@ -42,12 +42,10 @@ layout: default
|
||||
{% for doc in site.pages %}
|
||||
{% if page.next == doc.path %}
|
||||
{% assign next = doc %}
|
||||
{% break %}
|
||||
{% endif %}
|
||||
|
||||
{% if doc.next == page.path %}
|
||||
{% assign previous = doc %}
|
||||
{% break %}
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user