This repository was archived by the owner on Apr 17, 2021. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Original file line number Diff line number Diff line change 11< ul class ="pager ">
22 {% if page.has_previous %}
33 < li {% if not centered %} class ="previous "{% endif %} >
4- < a title ="{{ previous_title }} " href ="{{ previous_page_url|default: "# " }}"> {{ previous_label }}</ a >
4+ < a title ="{{ previous_title }} " href ="{{ previous_page_url|default: "# "|escape }}"> {{ previous_label }}</ a >
55 </ li >
66 {% endif %}
77 {% if page.has_next %}
88 < li {% if not centered %} class ="next "{% endif %} >
9- < a title ="{{ next_title }} " href ="{{ next_page_url|default: "# " }}"> {{ next_label }}</ a >
9+ < a title ="{{ next_title }} " href ="{{ next_page_url|default: "# "|escape }}"> {{ next_label }}</ a >
1010 </ li >
1111 {% endif %}
1212 </ ul >
Original file line number Diff line number Diff line change 22< ul class ="pagination{% if size == "small " %} pagination-sm{% endif %}{% if size == "large " %} pagination-lg{% endif %}{% block extra_classes %}{% endblock %} ">
33{% if show_first_last %}
44 < li {% if not page.has_previous %}class ="disabled "{% endif %} >
5- < a title ="First Page " href ="{{ first_page_url|default: "# " }}"> {{first_label}}</ a >
5+ < a title ="First Page " href ="{{ first_page_url|default: "# "|escape }}"> {{first_label}}</ a >
66 </ li >
77{% endif %}
88{% if show_prev_next %}
99 < li {% if not page.has_previous %}class ="disabled "{% endif %} >
10- < a title ="Previous Page " href ="{{ previous_page_url|default: "# " }}"> {{ previous_label }}</ a >
10+ < a title ="Previous Page " href ="{{ previous_page_url|default: "# "|escape }}"> {{ previous_label }}</ a >
1111 </ li >
1212{% endif %}
1313{% for pagenum, index_range, url in page_urls %}
1717 </ li >
1818 {% else %}
1919 < li >
20- < a title ="Page {{ pagenum }} of {{ page.paginator.num_pages }} " href ="{{ url }} "> {% if show_index_range %} {{ index_range }} {% else %} {{ pagenum }} {%endif %}</ a >
20+ < a title ="Page {{ pagenum }} of {{ page.paginator.num_pages }} " href ="{{ url|escape }} "> {% if show_index_range %} {{ index_range }} {% else %} {{ pagenum }} {%endif %}</ a >
2121 </ li >
2222 {% endif %}
2323{% endfor %}
2424{% if show_prev_next %}
2525 < li {% if not page.has_next %}class ="disabled "{% endif %} >
26- < a title ="Next Page " href ="{{ next_page_url|default: "# " }}"> {{ next_label }}</ a >
26+ < a title ="Next Page " href ="{{ next_page_url|default: "# "|escape }}"> {{ next_label }}</ a >
2727 </ li >
2828{% endif %}
2929{% if show_first_last %}
3030 < li {% if not page.has_next %}class ="disabled "{% endif %} >
31- < a title ="Last Page " href ="{{ last_page_url|default: "# " }}"> {{last_label}}</ a >
31+ < a title ="Last Page " href ="{{ last_page_url|default: "# "|escape }}"> {{last_label}}</ a >
3232 </ li >
3333{% endif %}
3434</ ul >
You can’t perform that action at this time.
0 commit comments