Polymer is a web components material design theme for Hugo.
- Material Design by polymer
- Google Analytics (optional)
- Pagination
- Disqus (optional)
- Twitter, Facebook, GitHub, Google+, LinkedIn links (optional)
- Tags
- Categories
- Cover, Photo, Profile image (optional)
- Highlighting source code
$ mkdir themes
$ cd themes
$ git clone https://github.com/pdevty/polymer
$ hugo server -t polymer -w -D
config.toml
theme="polymer"
baseurl = "Your Site URL"
languageCode = "en-us"
title = "Your Site Title"
MetaDataFormat = "toml"
paginate = 10 # optional
disqusShortname = "Your Disqus Name" # optional
copyright = "© 2015 Copyright Text"
[params]
author = "Your Name"
photo = "images/photo.png" # optional
profile = "images/profile.png" # optional
cover = "images/cover.png" # optional
[[params.logos]]
site = "weibo" # optional
username = "Your Weibo name"
[[params.logos]]
site = "twitter" # optional
username = "Your Twitter name"
[[params.logos]]
site = "facebook" # optional
username = "Your facebook name"
[[params.logos]]
site = "github" # optional
username = "Your Github name"
[[params.logos]]
site = "gplus" # optional
username = "Your Google+ name"
[[params.logos]]
site = "linkedin" # optional
username = "Your linkedin name"
googleAnalyticsUserID = "Your Analytics User Id" # optional
[permalinks]
post = "/:year/:month/:day/:filename/" # optional
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request