Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/theme-next/hexo-next-tag
Tag plugins for NexT.
https://github.com/theme-next/hexo-next-tag
plugin theme-next
Last synced: about 1 month ago
JSON representation
Tag plugins for NexT.
- Host: GitHub
- URL: https://github.com/theme-next/hexo-next-tag
- Owner: theme-next
- License: mit
- Created: 2019-07-21T11:00:26.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2024-07-26T22:59:37.000Z (about 1 month ago)
- Last Synced: 2024-07-27T06:36:42.768Z (about 1 month ago)
- Topics: plugin, theme-next
- Language: CSS
- Homepage:
- Size: 18.6 KB
- Stars: 0
- Watchers: 7
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Hexo NexT Tag
![Theme Version](https://img.shields.io/badge/NexT-v7.3.0+-blue.svg?style=flat-square)
![Package Version](https://img.shields.io/github/package-json/v/theme-next/hexo-next-tag?style=flat-square)Tag plugins for NexT.
## Install
```bash
npm install theme-next/hexo-next-tag
```## Usage
### Include Raw
This tag include any raw content into your posts. Path is relative to your site source directory.
#### Example
Let's create `include-raw.html` file in `_data` directory under site root directory with following content:
```html
Any raw content may be included with this tag.
```Then in any post we can use this content with `include_raw` tag:
```md
{% include_raw '_data/path/to/include-raw.html' %}
```### Link Grid
#### Example
```md
{% linkgrid %}
网站1名称 | http://yoursite.com | 网站1描述 | http://yoursite.com/favicon.jpg
网站2名称 | http://example.com | 网站2描述 | http://example.com/favicon.jpg
{% endlinkgrid %}
```