Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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.

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