Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
monero-project
monero-site
Commits
141a8d8a
Commit
141a8d8a
authored
Oct 05, 2016
by
Oyvind Kvanes
Browse files
Fix blog pagination
parent
970f767a
Changes
1
Hide whitespace changes
Inline
Side-by-side
blog/index.html
View file @
141a8d8a
...
...
@@ -33,9 +33,9 @@ title: All Blog Posts
{% if page == paginator.page %}
<em>
{{ page }}
</em>
{% elsif page == 1 %}
<a
href=
"{{ '/
index.html
' | prepend: site.baseurl | replace: '//', '/' }}"
>
{{ page }}
</a>
<a
href=
"{{ '/
blog
' | prepend: site.baseurl | replace: '//', '/' }}"
>
{{ page }}
</a>
{% else %}
<a
href=
"{{ site.paginate_path | prepend:
site.baseurl
| replace: '//', '/' | replace: ':num', page }}"
>
{{ page }}
</a>
<a
href=
"{{ site.paginate_path | prepend:
'/'
| replace: '//', '/' | replace: ':num', page }}"
>
{{ page }}
</a>
{% endif %}
{% endfor %}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment