diff options
| author | rr- <rr-@sakuya.pl> | 2017-06-25 17:47:33 +0200 |
|---|---|---|
| committer | rr- <rr-@sakuya.pl> | 2017-06-25 17:47:40 +0200 |
| commit | 043b182b5e07e522fb2769ebd7214529ac971459 (patch) | |
| tree | d1357531fcba29c8746f8eac8f4e6769f67faed7 /client/html/post_main.tpl | |
| parent | 3c138685ea1b521daa872c5eb3474f8dbc5d8a1e (diff) | |
client/paging: add cues for qutebrowser
Diffstat (limited to 'client/html/post_main.tpl')
| -rw-r--r-- | client/html/post_main.tpl | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/client/html/post_main.tpl b/client/html/post_main.tpl index 07ade0b..54c5733 100644 --- a/client/html/post_main.tpl +++ b/client/html/post_main.tpl @@ -4,12 +4,12 @@ <article class='previous-post'> <% if (ctx.prevPostId) { %> <% if (ctx.editMode) { %> - <a href='<%= ctx.getPostEditUrl(ctx.prevPostId, ctx.parameters) %>'> + <a rel='prev' href='<%= ctx.getPostEditUrl(ctx.prevPostId, ctx.parameters) %>'> <% } else { %> - <a href='<%= ctx.getPostUrl(ctx.prevPostId, ctx.parameters) %>'> + <a rel='prev' href='<%= ctx.getPostUrl(ctx.prevPostId, ctx.parameters) %>'> <% } %> <% } else { %> - <a class='inactive'> + <a rel='prev' class='inactive'> <% } %> <i class='fa fa-chevron-left'></i> <span class='vim-nav-hint'>< Previous post</span> @@ -18,12 +18,12 @@ <article class='next-post'> <% if (ctx.nextPostId) { %> <% if (ctx.editMode) { %> - <a href='<%= ctx.getPostEditUrl(ctx.nextPostId, ctx.parameters) %>'> + <a rel='next' href='<%= ctx.getPostEditUrl(ctx.nextPostId, ctx.parameters) %>'> <% } else { %> - <a href='<%= ctx.getPostUrl(ctx.nextPostId, ctx.parameters) %>'> + <a rel='next' href='<%= ctx.getPostUrl(ctx.nextPostId, ctx.parameters) %>'> <% } %> <% } else { %> - <a class='inactive'> + <a rel='next' class='inactive'> <% } %> <i class='fa fa-chevron-right'></i> <span class='vim-nav-hint'>Next post ></span> |