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.
-
Clone this repository
$ git clone https://github.com/hexojs/hexo-theme-unit-test.git
-
Install your own theme and modify
theme
setting in_config.yml
. -
Run server and start testing. Make sure all styles are displayed properly.
-
Once test is done, you can submit your theme!
-
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">
- Only display excerpts. (Better with a "Read More" link)
- Pagination (broken link)
- Display post categories and tags.
- Disqus comment support.
- Display the post date.
- Support
photo
andlink
layout. - Posts without title should be accessible.
- Use fragment_cache
It caches render result across post/pages, see #1769 for the impact
- Responsive design
- i18n
- Post share
- SEO