Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/yunyoujun/hexo-tag-common
🏷️ Common tags for hexo.
https://github.com/yunyoujun/hexo-tag-common
hexo hexo-tag plugin
Last synced: 2 months ago
JSON representation
🏷️ Common tags for hexo.
- Host: GitHub
- URL: https://github.com/yunyoujun/hexo-tag-common
- Owner: YunYouJun
- License: mit
- Created: 2020-10-04T13:46:57.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2022-06-06T20:53:38.000Z (over 2 years ago)
- Last Synced: 2024-05-19T09:39:22.873Z (8 months ago)
- Topics: hexo, hexo-tag, plugin
- Language: JavaScript
- Homepage: https://hexo-theme-yun.yunyoujun.cn/posts/tag-common/
- Size: 61.5 KB
- Stars: 6
- Watchers: 3
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# hexo-tag-common
[![npm](https://img.shields.io/npm/v/hexo-tag-common)](https://www.npmjs.com/package/hexo-tag-common)
[![jsdelivr CDN](https://data.jsdelivr.com/v1/package/npm/hexo-tag-common/badge)](https://www.jsdelivr.com/package/npm/hexo-tag-common)Common tags for hexo.
> Demo: [tag-common | yun](https://www.yunyoujun.cn/yun/tag-common.html)
## Install
> You need to make sure your hexo is `v5.2.0` or above.
```sh
npm install hexo-tag-common
# yarn add hexo-tag-common
```## Config
Set it in hexo `_config.yml`.
```yaml
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
- [x] Tabs
- iconify### Tabs
You can use icon like this by `@ri:home-4-line`.
![Use with icon](https://user-images.githubusercontent.com/25154432/172246743-2c84d6df-927b-4678-89b4-052d2664109f.png)
> You should have imported iconify, more info see [Docs | Iconify](https://docs.iconify.design/).
> You can refer [layout/_third-party/iconify.pug | hexo-theme-yun](https://github.com/YunYouJun/hexo-theme-yun/blob/dev/packages/hexo-theme-yun/layout/_third-party/iconify.pug).```md
{% tabs First unique name %}**This is Tab 1.**
**This is Tab 2.**
**This is Tab 3.**
{% endtabs %}
```## Reference
- [tag-plugins | next](https://theme-next.js.org/docs/tag-plugins/)
## [Sponsors](https://sponsors.yunyoujun.cn)