hexo-generator-atom-markdown-writer-meta

hexo-generator-atom-markdown-writer-meta ========================================

Usage no npm install needed!

<script type="module">
  import hexoGeneratorAtomMarkdownWriterMeta from 'https://cdn.skypack.dev/hexo-generator-atom-markdown-writer-meta';
</script>

README

hexo-generator-atom-markdown-writer-meta NPM version Dependency Status

A Hexo generator that produces meta json files required by the Atom Markdown-Writer It generates posts.json, categories.json and tags.json under the root site.

Install

Install using npm.

$ npm install hexo-generator-atom-markdown-writer-meta --save

Markdown-Writer Configuration for Hexo

Field Sample Value
File Extension .md
Site Draft Dir source/_drafts
Site Local Dir /Users/timnew/Workspace/blogs/timnew
Site Posts Dir source/_posts
Url for Categories http://timnew.github.io/categories.json
Url for Posts http://timnew.github.io/posts.json
Url for Tags http://timnew.github.io/tags.json

Files

  • posts.json: Json file contains name, url and last update time for each post
  • tags.json: Json file contains the tags that used in the blog, sorted by occurrence
  • cateogories.json: Json file contains the categories that used in the blog, sorted by occurrence

Related Tools

License

MIT

NPM downloads