{"_id":"@davidingplus/hexo-generator-index-pin-top","name":"@davidingplus/hexo-generator-index-pin-top","dist-tags":{"latest":"0.2.2"},"versions":{"0.2.2":{"name":"@davidingplus/hexo-generator-index-pin-top","version":"0.2.2","publishConfig":{"access":"public"},"description":"Index generator for Hexo. Pin top version, but normal posts are sorted by updated time, and posts which are pinned to top are sorted in ascending order by number.","main":"index","scripts":{"eslint":"eslint .","jscs":"jscs .","test":"mocha test/index.js","test-cov":"istanbul cover --print both _mocha -- test/index.js"},"directories":{"lib":"./lib"},"engines":{"node":">= 0.10.0"},"repository":{"type":"git","url":"git+https://github.com/DavidingPlus/hexo-generator-index-pin-top.git"},"homepage":"http://hexo.io/","keywords":["hexo","generator","index","home"],"author":{"name":"DavidingPlus","email":"2065666169@qq.com","url":"https://davidingplus.github.io"},"license":"MIT","devDependencies":{"chai":"^3.4.0","eslint":"^1.8.0","eslint-config-hexo":"^1.0.2","hexo":"^3.0.0","istanbul":"^0.4.0","jscs":"^2.5.0","jscs-preset-hexo":"^1.0.1","mocha":"^2.0.1"},"dependencies":{"hexo-pagination":"0.0.2","object-assign":"^4.0.1"},"_id":"@davidingplus/hexo-generator-index-pin-top@0.2.2","gitHead":"dcb42826ee7f41f82aa07aea312aafbc2f1ce7c4","bugs":{"url":"https://github.com/DavidingPlus/hexo-generator-index-pin-top/issues"},"_nodeVersion":"22.19.0","_npmVersion":"10.9.3","dist":{"integrity":"sha512-pA+bbO4wLJVg1Jok24J+JtSP1kZyZMBDzjIdKbKL3xHWAracdNIcY9dd21IjUk5Xdn33aE2xD89Sw/kF4Pebfw==","shasum":"eb839c5a72f6899ff06e6846fce75207afa9f967","tarball":"https://registry.npmjs.org/@davidingplus/hexo-generator-index-pin-top/-/hexo-generator-index-pin-top-0.2.2.tgz","fileCount":10,"unpackedSize":6190,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIB3wfJldqBCPAkzn7pLrkG3dwosieY0fq/eG0SivBe7aAiA0a6utlTTyykPmUK5uKKNhiWEXk/OtCtIJB5JaaSE5Rg=="}]},"_npmUser":{"name":"lzx0626","email":"2065666169@qq.com"},"maintainers":[{"name":"lzx0626","email":"2065666169@qq.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/hexo-generator-index-pin-top_0.2.2_1758018736088_0.7084498186522301"},"_hasShrinkwrap":false}},"time":{"created":"2025-09-16T10:32:15.990Z","0.2.2":"2025-09-16T10:32:16.270Z","modified":"2025-09-16T10:32:16.557Z"},"maintainers":[{"name":"lzx0626","email":"2065666169@qq.com"}],"description":"Index generator for Hexo. Pin top version, but normal posts are sorted by updated time, and posts which are pinned to top are sorted in ascending order by number.","homepage":"http://hexo.io/","keywords":["hexo","generator","index","home"],"repository":{"type":"git","url":"git+https://github.com/DavidingPlus/hexo-generator-index-pin-top.git"},"author":{"name":"DavidingPlus","email":"2065666169@qq.com","url":"https://davidingplus.github.io"},"bugs":{"url":"https://github.com/DavidingPlus/hexo-generator-index-pin-top/issues"},"license":"MIT","readme":"# hexo-generator-index-pin-top\n\n[![Build Status](https://travis-ci.org/hexojs/hexo-generator-index.svg?branch=master)](https://travis-ci.org/hexojs/hexo-generator-index)  [![NPM version](https://badge.fury.io/js/hexo-generator-index.svg)](http://badge.fury.io/js/hexo-generator-index) [![Coverage Status](https://img.shields.io/coveralls/hexojs/hexo-generator-index.svg)](https://coveralls.io/r/hexojs/hexo-generator-index?branch=master)\n\nIndex generator for Hexo. Pin top version, but normal posts are sorted by updated time, and posts which are pinned to top are sorted in ascending order by number.\n\n## Installation\n\n``` bash\n$ npm uninstall hexo-generator-index --save\n$ npm install @davidingplus/hexo-generator-index-pin-top --save\n```\n\n## Feautres\nThis version supports pin-top feature, you can add the `top: True` field to post's front-matter to pin it.\n\n## Options\nAdd or modify the following section to your root _config.yml file\n\n``` yaml\nindex_generator:\n  path: ''\n  per_page: 10\n  order_by: -date\n```\n\n- **path**: Root path for your blogs index page. (default = '')\n- **per_page**: Posts displayed per page. (0 = disable pagination)\n- **order_by**: Posts order. (Order by date descending by default)\n\n## License\n\nMIT\n\n[Hexo]: http://hexo.io/\n","readmeFilename":"README.md","_rev":"1-85a9d43dd8b1c92e22b6913db113bd79"}