hexo-tag-config

A hexo tag for insert configuration values (_config.yml) to your post/page

Usage no npm install needed!

<script type="module">
  import hexoTagConfig from 'https://cdn.skypack.dev/hexo-tag-config';
</script>

README

hexo-tag-config

NPM version CI Coverage Status

A hexo plugin for insert hexo configuration values (_config.yml) to your post/page.

Installation

npm install hexo-tag-config --save

Usaga

Specify _config.yml key.

{% config _config.yml_keys %}

Example

// Plugin get url key values in _config.yml
{% config url %}

// Also you can specify nested key
{% config highlight.line_number %}

Development