1.0.2 • Published 5 months ago

hexo-tag-pcloud v1.0.2

Weekly downloads
-
License
MIT
Repository
github
Last release
5 months ago

hexo-tag-pcloud

npm version license

Display asset links of images uploaded to pcloud in your Hexo blog. This tag plugin also provides the option in _config.yml to turn off this feature and switch back to default asset folder in Hexo.

Install

In your blog folder, add this npm dependency to your project

$ npm i hexo-tag-pcloud --save

Usage

{% pcloudimg path/to/image.jpg %}

Options

nameDescriptionRequiredTypeDefault
enableEnable pcloud link for image assets or notNobooleanfalse
hostPcloud host name either in the US or EUNostringhttps://filedn.com
public_folderThe name of public folderYesstringUndefined
asset_pathRelative asset folder path inside public folderYesstringUndefined

Configuration

You can configure default settings for displaying your Trello cards in _config.yml

pcloud:
  enable: false
  host: https://filedn.com
  public_folder: XXXXXXXXXXXXXXX
  asset_path: path/to/asset_folder

License

© Licensed under the MIT License.

1.0.2

5 months ago

1.0.1

2 years ago

1.0.0

2 years ago