1.0.2 • Published 5 months ago
hexo-tag-pcloud v1.0.2
hexo-tag-pcloud
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.