Skip to content
This repository has been archived by the owner on Aug 17, 2019. It is now read-only.

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

License

Notifications You must be signed in to change notification settings

theme-next/theme-next-bookmark

Repository files navigation

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

About

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

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •