Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

hexo-tag-pcloud

p1slave39MIT1.0.2

A Hexo tag for inserting pcloud public links

hexo, pcloud, tag

readme

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

name Description Required Type Default
enable Enable pcloud link for image assets or not No boolean false
host Pcloud host name either in the US or EU No string https://filedn.com
public_folder The name of public folder Yes string Undefined
asset_path Relative asset folder path inside public folder Yes string Undefined

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.