Skip to content

theme-next/hexo-next-tag

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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