All Projects → hexojs → Hexo Generator Index

hexojs / Hexo Generator Index

Licence: mit
Index generator plugin for Hexo.

Programming Languages

javascript
184084 projects - #8 most used programming language

Labels

Projects that are alternatives of or similar to Hexo Generator Index

Hexo Tag Aplayer
Embed aplayer in Hexo posts/pages
Stars: ✭ 552 (+1944.44%)
Mutual labels:  hexo
Hexo Theme Spfk
Hexo双栏博客主题仓库 Another simple and elegant theme for Hexo.
Stars: ✭ 698 (+2485.19%)
Mutual labels:  hexo
Hexo Theme Ayer
a clean and elegant theme for Hexo. 🐋
Stars: ✭ 888 (+3188.89%)
Mutual labels:  hexo
Site
The website for Hexo.
Stars: ✭ 572 (+2018.52%)
Mutual labels:  hexo
Hexo Theme Huxblog
🚙 Ported Theme of Hux Blog
Stars: ✭ 652 (+2314.81%)
Mutual labels:  hexo
Hexo Theme Pure
Hexo theme pure. It's a pure theme for Hexo.
Stars: ✭ 751 (+2681.48%)
Mutual labels:  hexo
Hexo Theme Vexo
🍟 Vexo is a Hexo theme inspired by Vue's official website.
Stars: ✭ 546 (+1922.22%)
Mutual labels:  hexo
Hexo Theme Next
🎉 Elegant and powerful theme for Hexo.
Stars: ✭ 835 (+2992.59%)
Mutual labels:  hexo
Hexo Client
hexo-client: A cross-platform hexo client, build on electron.
Stars: ✭ 672 (+2388.89%)
Mutual labels:  hexo
Hexo Theme Next
Elegant and powerful theme for Hexo.
Stars: ✭ 7,379 (+27229.63%)
Mutual labels:  hexo
Tkl
Hexo Theme
Stars: ✭ 574 (+2025.93%)
Mutual labels:  hexo
Hexo Theme Minos
A simple and retro styled Hexo theme, concentrated more on your ideas.
Stars: ✭ 642 (+2277.78%)
Mutual labels:  hexo
Hexo Theme Nexmoe
🔥 一个比较特别的 Hexo 主题
Stars: ✭ 789 (+2822.22%)
Mutual labels:  hexo
Hexo Theme Anatole
A white and simple Hexo theme, originated from a Farbox theme
Stars: ✭ 562 (+1981.48%)
Mutual labels:  hexo
Hexo Theme Kunkka
A Hexo theme ported from Wordpress
Stars: ✭ 22 (-18.52%)
Mutual labels:  hexo
Hexo Theme Wikitten
A theme of Hexo for personal wiki which seems like Wikitten style.
Stars: ✭ 548 (+1929.63%)
Mutual labels:  hexo
Hexo Theme Anisina
🎨 A simple responsive , support qiniu image cdn theme for hexo https://haojen.github.io/
Stars: ✭ 746 (+2662.96%)
Mutual labels:  hexo
Hexo
A fast, simple & powerful blog framework, powered by Node.js.
Stars: ✭ 33,885 (+125400%)
Mutual labels:  hexo
Hexo Tag Twitter
Embed twitter tweet tag plugin for Hexo.
Stars: ✭ 23 (-14.81%)
Mutual labels:  hexo
0x5e.github.io
A peosonal blog
Stars: ✭ 5 (-81.48%)
Mutual labels:  hexo

hexo-generator-index

Build Status NPM version Coverage Status

Index generator for Hexo.

It generates an archive of posts on your homepage, according to the index or archive layout of your theme.

Installation

$ npm install hexo-generator-index --save

Options

Add or modify the following section to your root _config.yml file

index_generator:
  path: ''
  per_page: 10
  order_by: -date
  pagination_dir: page
  • path: Root path for your blog's index page.
    • default: ""
  • per_page: Posts displayed per page.
    • default: config.per_page as specified in the official Hexo docs (if present), otherwise 10
    • 0 disables pagination
  • order_by: Posts order.
    • default: date descending
  • pagination_dir: URL format.
    • default: 'page'
    • awesome-page makes the URL ends with 'awesome-page/' for second page and beyond.

Usage

The sticky parameter in the post Front-matter will be used to pin the post to the top of the index page. Higher sticky means that it will be ranked first.

---
title: Hello World
date: 2013/7/13 20:46:25
sticky: 100
---

Note

If your theme define a non-archive index layout (e.g. About Me page), this plugin would follow that layout instead and not generate an archive. In that case, use hexo-generator-archive to generate an archive according to the archive layout.

License

MIT

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].