Skip to content

Latest commit

 

History

History
43 lines (28 loc) · 994 Bytes

README.md

File metadata and controls

43 lines (28 loc) · 994 Bytes

Hexo NexT Tag

Theme Version Package Version

Tag plugins for NexT.

Install

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:

Any <strong>raw content</strong> may be included with this tag.

Then in any post we can use this content with include_raw tag:

{% include_raw '_data/path/to/include-raw.html' %}

Link Grid

Example

{% linkgrid %}
网站1名称 | http://yoursite.com | 网站1描述 | http://yoursite.com/favicon.jpg
网站2名称 | http://example.com | 网站2描述 | http://example.com/favicon.jpg
{% endlinkgrid %}