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 year 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 (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2025-03-07T22:10:18.000Z (about 1 year ago)
- Last Synced: 2025-03-07T23:19:57.756Z (about 1 year ago)
- Topics: plugin, theme-next
- Language: CSS
- Homepage:
- Size: 18.6 KB
- Stars: 0
- Watchers: 6
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Hexo NexT Tag


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 %}
```