hexojs / Hexo Generator Index
Licence: mit
Index generator plugin for Hexo.
Stars: ✭ 27
Programming Languages
javascript
184084 projects - #8 most used programming language
Labels
Projects that are alternatives of or similar to Hexo Generator Index
Hexo Theme Spfk
Hexo双栏博客主题仓库 Another simple and elegant theme for Hexo.
Stars: ✭ 698 (+2485.19%)
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 Client
hexo-client: A cross-platform hexo client, build on electron.
Stars: ✭ 672 (+2388.89%)
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 Anatole
A white and simple Hexo theme, originated from a Farbox theme
Stars: ✭ 562 (+1981.48%)
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-generator-index
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), otherwise10
-
0
disables pagination
- default:
-
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].