0.2.5 • Published 1 year ago

hexo-tag-common-new v0.2.5

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

hexo-tag-common

npm jsdelivr CDN

Common tags for hexo.

自定义修改版,css需要手动插入,方便调整性能优化

Demo: tag-common | yun

Install

You need to make sure your hexo is v5.2.0 or above.

npm install hexo-tag-common
# yarn add hexo-tag-common

Config

Set it in hexo _config.yml.

tag_common:
  cdn: https://fastly.jsdelivr.net/npm/ # enable CDN, default is https://fastly.jsdelivr.net/npm/ 
  # which layout to use
  # more info see https://hexo.io/api/injector.html#to-lt-string-gt
  layout:
    - post
    - page
    # - home

Feature

  • Tabs
    • iconify

Tabs

You can use icon like this by @ri:home-4-line.

Use with icon

You should have imported iconify, more info see Docs | Iconify.
You can refer layout/_third-party/iconify.pug | hexo-theme-yun.

{% tabs First unique name %}

<!-- tab First unique name 1 @ri:home-4-line -->

**This is Tab 1.**

<!-- endtab -->

<!-- tab Icon Test @ri:cloud-line -->

**This is Tab 2.**

<!-- endtab -->

<!-- tab -->

**This is Tab 3.**

<!-- endtab -->

{% endtabs %}

Reference

Sponsors

0.2.5

1 year ago

0.2.4

2 years ago

0.2.3

2 years ago

0.2.2

2 years ago

0.2.1

2 years ago