hexo-asset-oss

0.1.2 • Public • Published

hexo-asset-oss

About

This is a Hexo tag plugin for push all assets to aliyun OSS.

Installation

npm install --save hexo-asset-oss

Usage

Configuration

You can configure the type, autoplay and size in your main _config.yml:

Example configuration:

# OSS Images Config
asset_oss:
    enable: true
    oss_url: https://assets.example.com
    oss_root: /static/ # optional default '/'
    oss_acid: <AccessID>
    oss_ackey: <AccessKey>
    oss_region: oss-cn-shenzhen
    oss_bucket: assets-example-com
    oss_internal: false # optional is internal default false

License

Copyright (c) 2020, Stanley Chen. Licensed under the MIT license.

Readme

Keywords

Package Sidebar

Install

npm i hexo-asset-oss

Weekly Downloads

1

Version

0.1.2

License

MIT

Unpacked Size

7.49 kB

Total Files

8

Last publish

Collaborators

  • chenxuefei