Skip to content
This repository has been archived by the owner. It is now read-only.
Bookmark is a plugin that allow the users save their reading progress.
JavaScript
Branch: master
Clone or download
Latest commit f8efc68 Jun 25, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github Create stale.yml Dec 15, 2018
.eslintignore fix a type issue. Feb 13, 2018
.eslintrc.js fix a type issue. Feb 13, 2018
.gitignore cancel the .min.js ignore in development branch. Jan 23, 2018
LICENSE Initial commit Jan 20, 2018
README.md Update README.md Feb 2, 2018
bookmark.min.js fix a type issue. Feb 13, 2018
index.js fix a type issue. Feb 13, 2018
package.json fix a type issue. Feb 13, 2018
renovate.json Add renovate.json Mar 27, 2019

README.md

Bookmark for NexT

Introduce

Bookmark is a plugin that allow the users save their reading position.

The users could just click the bookmark icon (like 🔖) in left-top of the page to save the position.

And when they visit your blog in the next time, they can continue the last reading position by clicking the bookmark icon from the home page.

Installation

If you want to use the CDN instead of clone this repo, please jump to the Step 3.

Step 1 → Go to NexT dir

Change dir to NexT directory. There must be layout, source, languages and other directories:

$ cd themes/next
$ ls
bower.json  _config.yml  docs  gulpfile.coffee  languages  layout  LICENSE.md  package.json  README.md  scripts  source  test

Step 2 → Get module

Install module to source/lib directory:

$ git clone https://github.com/theme-next/theme-next-bookmark.git source/lib/bookmark

Step 3 → Set it up

Enable module in NexT _config.yml file:

bookmark: true

And, if you wants to use the CDN, then need to set:

vendors:
  ...
  bookmark: https://cdn.jsdelivr.net/gh/theme-next/theme-next-bookmark@latest/bookmark.min.js

Update

$ cd themes/next/source/lib/bookmark
$ git pull
You can’t perform that action at this time.