Skip to content

NKjoep/hexo-blog-theme-starter

master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Hexo blank-boilerplate

This theme demostrates how to bootstrap a new Hexo theme.

It is based on the Hexo Theme Unit Test and shows the bare minimum needed to start building a new theme.





Hexo Theme Unit Test

This is a dummy Hexo site for theme unit test. You should test your theme before release.

This test doesn't contain the default theme. You have to install the theme you want to test before starting.

Usage

  1. Clone this repository

    $ git clone https://github.com/hexojs/hexo-theme-unit-test.git
  2. Install your own theme and modify theme setting in _config.yml.

  3. Run server and start testing. Make sure all styles are displayed properly.

  4. Once test is done, you can submit your theme!

Checklist

<head>

  • Use the proper DOCTYPE. If you don't know which doctype you should use, <!DOCTYPE html> is recommended.

  • UTF8 charset

    <meta charset="utf-8">
  • Proper titles for different pages

  • RSS support

    <link rel="alternate" href="path/of/rss" type="application/atom+xml">
  • Favicon support

    <link rel="icon" href="path/of/favicon">

Index

  • Only display excerpts. (Better with a "Read More" link)
  • Pagination

Post

  • Display post categories and tags.
  • Disqus comment support.
  • Display the post date.
  • Support photo and link layout.
  • Posts without title should be accessible.

Performance

Optional

  • Responsive design
  • i18n
  • Post share
  • SEO

Resources

About

A blank theme for Hexo to start building your own theme. A simple Hexo Theme boilerplate.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published