All Projects → tcrowe → Generator Hexo Theme

tcrowe / Generator Hexo Theme

Generate a hexo theme: ejs, pug, swig, nunjucks | Moved to https://tcrowe.commons.host/contact

Projects that are alternatives of or similar to Generator Hexo Theme

Hexo Theme Anisina
🎨 A simple responsive , support qiniu image cdn theme for hexo https://haojen.github.io/
Stars: ✭ 746 (+526.89%)
Mutual labels:  hexo, hexo-theme, ejs
Hexo Theme Vexo
🍟 Vexo is a Hexo theme inspired by Vue's official website.
Stars: ✭ 546 (+358.82%)
Mutual labels:  hexo, hexo-theme, ejs
Theme Bmw
✋ Smart Voice: Voice for yourself | 微声: 请为自己发声
Stars: ✭ 373 (+213.45%)
Mutual labels:  hexo, hexo-theme, ejs
Hexo Theme Volantis
A Wonderful Theme for Hexo https://volantis.js.org
Stars: ✭ 1,050 (+782.35%)
Mutual labels:  hexo, hexo-theme, ejs
Hexo Theme Argon
Argon-Theme 的 Hexo 移植版
Stars: ✭ 64 (-46.22%)
Mutual labels:  hexo, hexo-theme
Hexo Theme Hueman
A redesign of Alx's wordpress theme Hueman, ported to Hexo.
Stars: ✭ 1,119 (+840.34%)
Mutual labels:  hexo, hexo-theme
Hexo Theme Aloha
A hexo theme, use semantic ui.
Stars: ✭ 68 (-42.86%)
Mutual labels:  hexo, hexo-theme
Hexo Theme Primer
The github style (primer) for Hexo theme.
Stars: ✭ 117 (-1.68%)
Mutual labels:  hexo, hexo-theme
Fexo
A minimalist design theme for hexo.
Stars: ✭ 1,089 (+815.13%)
Mutual labels:  hexo, hexo-theme
Hexo Theme Archer
🏹 A smart and modern theme for Hexo.
Stars: ✭ 1,163 (+877.31%)
Mutual labels:  hexo, hexo-theme
Hexo Theme Spectre
A modern, simple & elegant theme for Hexo
Stars: ✭ 109 (-8.4%)
Mutual labels:  hexo, hexo-theme
Font
用于个人博客所用的中文字体
Stars: ✭ 61 (-48.74%)
Mutual labels:  hexo, hexo-theme
Hexo Theme Yilia
一个简洁优雅的hexo主题 A simple and elegant theme for hexo.
Stars: ✭ 8,183 (+6776.47%)
Mutual labels:  hexo, hexo-theme
Hexo Theme Doku
📜 Doku, a Hexo theme designed for writing documents.
Stars: ✭ 101 (-15.13%)
Mutual labels:  hexo, hexo-theme
Oishi
A Hexo theme
Stars: ✭ 57 (-52.1%)
Mutual labels:  hexo, hexo-theme
Template.js
A javascript template engine, simple, easy & extras, support webpack, rollup, parcel, browserify, fis and gulp
Stars: ✭ 1,201 (+909.24%)
Mutual labels:  ejs, jade
Hexo Theme Believe
A simple theme for hexo Sample:
Stars: ✭ 86 (-27.73%)
Mutual labels:  hexo, hexo-theme
Hexo Theme Webstack
A hexo theme based on webstack. | 一个基于webstack的hexo主题。
Stars: ✭ 86 (-27.73%)
Mutual labels:  hexo, hexo-theme
Hexo Theme Melody
🎹A simple & beautiful & fast theme for Hexo.
Stars: ✭ 1,306 (+997.48%)
Mutual labels:  hexo, hexo-theme
Clexy
Theme for Hexo ( Node.js Based Blog Framework )
Stars: ✭ 48 (-59.66%)
Mutual labels:  hexo, hexo-theme

generator-hexo-theme

Generate a hexo theme

Template choices:

  • ejs
  • nunjucks
  • pug
  • swig

Style choices:

  • stylus
  • sass
  • scss
  • less
  • css

Other:

  • hexo scripts directory
  • .editorconfig file
  • package.json

Install

npm install --global yo
npm install --global generator-hexo-theme

Use

If you don't have a site yet create one with hexo init hexo-cli.

mkdir my-site
cd my-site
hexo init

Navigate to the directory you want to place the theme project in (most likely themes/).

# from the site root
cd themes

# make a new theme directory
mkdir my-theme
cd my-theme

# generate
yo hexo-theme
  1. Check _config.yml in your main blog directory
  • Set theme property to your theme name, activating this theme
  1. Check _config.yml in your theme directory
  • Change menu items if needed
  • Change stylesheet and scripts list if needed
  1. Navigate back to your main blog directory
  2. hexo server --debug

Hexo renderers

It might be necessary to goto the blog root and install a specific renderer for the template language you have chosen. Swig is built into Hexo at the current version.

# templates
npm install hexo-renderer-ejs
npm install hexo-renderer-njks
npm install hexo-render-pug

# styles
npm install hexo-renderer-stylus
npm install hexo-renderer-less
npm install hexo-renderer-sass

Thank you

Resources -- What is all this for?

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].