Switch branches/tags
Nothing to show
Clone or download
artchen Merge pull request #7 from geekrainy/feature/valine
Valine comment system support
Latest commit 92e4d7f Sep 21, 2018
Failed to load latest commit information.
layout disqus downward compatibility Sep 18, 2018
source Fix Hexo local search error Sep 5, 2018
.gitignore Initial commit Dec 19, 2017
LICENSE Initial commit Dec 19, 2017
README.md Import theme files Dec 25, 2017
_config.yml Valine comment system support Sep 12, 2018


Hexo Theme Element

Element is another minimal theme for Hexo.


This theme depends on the following Hexo plugins:

  • hexo-generator-tag
  • hexo-generator-feed
  • hexo-renderer-ejs
  • hexo-renderer-less
  • hexo-renderer-marked
  • hexo-pagination
  • hexo-all-minifier
  • hexo-autoprefixer
  • hexo-front-matter

For local search, you also need hexo-generator-json-content and add configuration to your global _config.yml if needed, refer to hexo-generator-json-content github repository.


Element is customizable via the _config.yml in the theme directory.

Element also depends on the global _config.yml. For example:

  • Set disqus_shortname field to your disqus short name.
  • Set theme field to hexo-theme-element.
  • Set title, url, author and description.

In addition to these settings, you may also want to edit/replace the following files:

  • Replace the author avatar: source/img/avatar.png.
  • The font used on Artifact.me is Futura PT. I include it via Adobe Typekit. You need to use your own web font service, or go with the default Lato via Google Font. Details in layout/_partial/head.ejs.

This theme currently supports 4 search services:

  • Google custom search
  • Hexo Local search (hexo-json-content)
  • Algolia search
  • Microsoft Azure search

Setup guide for searching is availble here: universal-search.




Public resources used in this theme:

Copyright © Art Chen

Please do not remove the "Theme by Art Chen" text and links.