hero-tag-link-card
Embed a link card on your Hexo article.
Installation
npm install hexo-tag-link-card --save
Usage
Use tags:
{% linkCard url title desc %}
Example:
{% linkCard https://blog.mayuko.cn Title Desc %}
Then, it generates HTML:
Title Desc
Notice: Make sure there are no SPACES in Title or Desc.
Options
- className: You can customize the class name. (Default:
link-card & link-card__content
)
By modifying the _config.yml
file under the Hexo root directory.
linkCard: className: link-card
Style
You can customize the style by modifying the class name.
Example:
License
MIT