Welcome to Anodyne
This theme was designed and coded by myself for my own blog @ http://www.codeblocq.com/. It is clean and bright, hopefully you will like it to !
It only has a dependency on tachyons and Font Awesome which makes it really fast and lightweight. No jQuery, no other JS libraries.
Features Overview
- Responsive
- Disqus comments
- Google Analytics
- Tags Support
- Responsive Images
- Responsive YouTube and Vimeo videos
- Social Accounts configuration
- Pagination
- Pages
- Categories Support (widget)
- About widget
- Recent posts widget
- Stylus CSS preprocessor
- ejs HTML templates
Note: No Image Gallery. Useless and too heavyweight. Feel free to develop one and send me a PR if you feel like this is a must.
External libraries used
Installation
Install the theme
Install the theme by using:
1 |
$ git clone https://github.com/klugjo/hexo-theme-anodyne themes/anodyne |
Then update your blog’s main _config.yml
to set the
theme to anodyne
:
i.e:
1 |
# Extensions |
Post Configuration
Each post supports the standard title
,
date
, categories
, tags
.
Post Icon
On top of that, you can specify a custom font-Awesome icon in the front matter:
Example:
1 |
title: Welcome to Anodyne |
Theme Configuration
The theme’s global configuration is done in
/themes/hexo-theme-anodyne/_config.yml
.
Menu
The menu is configured in the theme’s _config.yml
.
1 |
# Header |
The object key is the label and the value is the path.
Blog’s Logo Image Source
The blog’s logo is configured in the theme’s
_config.yml
.
It should be an image or svg
1 |
# Logo |
Footer About Section Text
The About section’s text in the footer is configured in the
theme’s _config.yml
. HTML allowed.
1 |
# Footer about |
Default post title
The default post title (used when no title is specified) is
configured in the theme’s _config.yml
.
1 |
default_post_title: Untitled |
Default post icon
The default post icon (used when no icon is specified) is
configured in the theme’s _config.yml
.
1 |
default_post_icon: fa-file-text-o |
Home page configuration
Likewise, you can configure the home page’s title, subtitle and
icon in the _config.yml
1 |
# Index Page |
Archive Date Format
You can change the date format for the archive page if you so desire
1 |
# Archive Date Format |
Disqus Comments
The disqus shortname is specified in the theme’s
_config.yml
.
1 |
# Comments. |
Google Analytics
The Google Analytics Tracking ID is configured in the theme’s
_config.yml
.
1 |
# Google Analytics Tracking ID |
Social Account
Setup the links to your social pages in the theme’s
_config.yml
as an array of objects. Links are in
the footer.
Example:
1 |
# Social Accounts |
Creator
This theme was created by Jonathan Klughertz, check out my github and blog.
Bugs
If you have a question, feature request or a bug you need me to fix, please click here to file an issue.
License
MIT
Enjoy :)