/polymer

Polymer Material Design Theme for Hugo

Primary LanguageHTMLMIT LicenseMIT

Polymer

Polymer is a web components material design theme for Hugo.

Features

  • 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

Installation

$ mkdir themes
$ cd themes
$ git clone https://github.com/pdevty/polymer

Usage

$ hugo server -t polymer -w -D

Configuration

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
  twitter = "Your Twitter Name" # optional
  github = "Your Github Name" # optional
  facebook = "Your facebook Name" # optional
  gplus = "Your Google+ Name" # optional
  linkedin = "Your linkedin Name" # optional
  googleAnalyticsUserID = "Your Analytics User Id" # optional

[permalinks]
  post = "/:year/:month/:day/:filename/" # optional

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request