Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/artchen/hexo-theme-element
A minimal Hexo theme.
https://github.com/artchen/hexo-theme-element
Last synced: 3 months ago
JSON representation
A minimal Hexo theme.
- Host: GitHub
- URL: https://github.com/artchen/hexo-theme-element
- Owner: artchen
- License: mit
- Created: 2017-12-19T07:29:58.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2020-05-21T15:41:57.000Z (over 4 years ago)
- Last Synced: 2024-05-20T09:20:20.046Z (8 months ago)
- Language: HTML
- Homepage: https://artifact.me/hexo-theme-element/
- Size: 237 KB
- Stars: 122
- Watchers: 4
- Forks: 25
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-hexo-themes - artchen/hexo-theme-element
- awesome - artchen/hexo-theme-element - A minimal Hexo theme. (HTML)
- awesome-starred - artchen/hexo-theme-element - A minimal Hexo theme. (others)
README
# Hexo Theme Element
Element is another minimal theme for [Hexo](http://hexo.io).
## Dependencies
This theme depends on the following Hexo plugins:
* hexo-generator-tag
* hexo-generator-feed
* hexo-renderer-ejs
* hexo-renderer-scss
* hexo-renderer-marked
* hexo-pagination
* hexo-all-minifier
* hexo-autoprefixer
* hexo-front-matter## Customization
First of all change the site logo in `header.ejs`.
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`.
This theme currently supports 3 search services:
* Google custom search (does not require plugin)
* Algolia search (requires plugin https://github.com/LouisBarranqueiro/hexo-algoliasearch)
* Microsoft Azure search (requires plugin https://github.com/artchen/hexo-azuresearch)Find search configuration in theme's `_config.yaml`:
```yaml
search:
enable: true
service: azure # google/algolia/azure
google_api_key:
google_engine_id:
# algolia
algolia_app_id:
algolia_api_key:
algolia_index_name:
# azure
azure_service_name:
azure_index_name:
azure_query_key:
```## Demo
[Artifact.me](https://artifact.me)
## Copyright
Public resources used in this theme:
* [icomoon](https://icomoon.io/)
* [normalize.css](https://necolas.github.io/normalize.css/)
* [Google Fonts - Oswald](https://fonts.google.com/specimen/Oswald)
* [Google Fonts - Inconsolata](https://fonts.google.com/specimen/Inconsolata)
* [Google Fonts - Crimson Text](https://fonts.google.com/specimen/Crimson+Text)Copyright © Art Chen
Please do not remove the "Theme by Art Chen" text and links.
请不要删除页面底部的作者信息和链接。