- Home and Blog pages with different layouts
- Responsive
- Google Analytics
- Pagination
- Pages
- Categories Support
- About page
- Stylus CSS preprocessor
You install the theme by using:
$ git clone https://github.com/carlos-algms/hexo-theme-materialize.git themes/materialize
Then update your blog's main _config.yml
to set the theme to materialize
:
i.e:
# Extensions
## Plugins: http://hexo.io/plugins/
## Themes: http://hexo.io/themes/
theme: materialize
Each post supports the standard title
, date
, categories
, tags
.
Example:
title: Welcome to Materialize
tags: ["ThisIsATag", "Intro", "Welcome"]
---
The theme's global configuration is done in /themes/materialize/_config.yml
.
The menu is configured in the theme's _config.yml
.
# Header
menu:
Home: /
Blog: /blog
The object key is the label and the value is the path.
The Google Analytics Tracking ID is configured in the theme's _config.yml
.
# Google Analytics Tracking ID
google_analytics: UA-XXXXXX-Y
This theme was created by Carlos A. Gomes, check out my github and blog.
If you have a question, feature request or a bug you need me to fix, please click here to file an issue.
MIT
Enjoy :)