Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/cromarmot/hexo-bin-pagination

hexo binary pagination (Use 1,2,4,8,16... instead of 1,2,3,4,5...)
https://github.com/cromarmot/hexo-bin-pagination

hexo pagination

Last synced: about 4 hours ago
JSON representation

hexo binary pagination (Use 1,2,4,8,16... instead of 1,2,3,4,5...)

Awesome Lists containing this project

README

        

# hexo-bin-pagination

[![Build Status](https://travis-ci.org/cromarmot/hexo-bin-pagination.svg?branch=master)](https://travis-ci.org/cromarmot/hexo-bin-pagination)
[![NPM version](https://badge.fury.io/js/hexo-bin-pagination.svg)](https://www.npmjs.com/package/hexo-bin-pagination)
[![Coverage Status](https://img.shields.io/coveralls/CroMarmot/hexo-bin-pagination.svg)](https://coveralls.io/r/CroMarmot/hexo-bin-pagination?branch=master)

Binary Pagination utilities for [Hexo] generator plugins.

Based on [official pagination](https://github.com/hexojs/hexo/blob/2acded631448f36fafa9ac8d80bb9fcb73f74bb1/lib/plugins/helper/paginator.js)

This plugin will replace the default `helper.paginator`.

## Installation

``` bash
$ npm install hexo-bin-pagination --save
```
## ref

Inspired by [atcoder.jp](https://atcoder.jp) and [pornhub.com](https://pornhub.com) 's pagination.

### atcoder.jp

![atcoder.jp pagination](./img/atcoder.png)

### pornhub.com

![pornhub.com pagination](./img/pornhub.jpg)

## License

MIT

[Hexo]: http://hexo.io/