├── LICENSE.md ├── README.md ├── archetypes └── default.md ├── images ├── screenshot.png └── tn.png ├── layouts ├── _default │ ├── list.html │ ├── single.html │ └── terms.html ├── index.html └── partials │ ├── content.html │ ├── disqus.html │ ├── footer.html │ ├── header.html │ └── pagination.html ├── static ├── bower.json ├── bower_components │ ├── font-roboto │ │ ├── .bower.json │ │ ├── README.md │ │ ├── bower.json │ │ └── roboto.html │ ├── iron-a11y-keys-behavior │ │ ├── .bower.json │ │ ├── .gitignore │ │ ├── README.md │ │ ├── bower.json │ │ ├── demo │ │ │ ├── index.html │ │ │ └── x-key-aware.html │ │ ├── index.html │ │ ├── iron-a11y-keys-behavior.html │ │ └── test │ │ │ ├── basic-test.html │ │ │ └── index.html │ ├── iron-behaviors │ │ ├── .bower.json │ │ ├── .gitignore │ │ ├── README.md │ │ ├── bower.json │ │ ├── demo │ │ │ ├── index.html │ │ │ └── simple-button.html │ │ ├── index.html │ │ ├── iron-button-state.html │ │ ├── iron-control-state.html │ │ └── test │ │ │ ├── active-state.html │ │ │ ├── disabled-state.html │ │ │ ├── focused-state.html │ │ │ ├── index.html │ │ │ └── test-elements.html │ ├── iron-flex-layout │ │ ├── .bower.json │ │ ├── .gitignore │ │ ├── README.md │ │ ├── bower.json │ │ ├── classes │ │ │ ├── iron-flex-layout.html │ │ │ └── iron-shadow-flex-layout.html │ │ ├── demo │ │ │ ├── index.html │ │ │ └── x-app.html │ │ └── iron-flex-layout.html │ ├── iron-icon │ │ ├── .bower.json │ │ ├── .gitignore │ │ ├── README.md │ │ ├── bower.json │ │ ├── demo │ │ │ ├── index.html │ │ │ └── location.png │ │ ├── hero.svg │ │ ├── index.html │ │ ├── iron-icon.html │ │ └── test │ │ │ ├── index.html │ │ │ └── iron-icon.html │ ├── iron-icons │ │ ├── .bower.json │ │ ├── .gitignore │ │ ├── README.md │ │ ├── av-icons.html │ │ ├── bower.json │ │ ├── communication-icons.html │ │ ├── demo │ │ │ └── index.html │ │ ├── device-icons.html │ │ ├── editor-icons.html │ │ ├── hardware-icons.html │ │ ├── hero.svg │ │ ├── image-icons.html │ │ ├── index.html │ │ ├── iron-icons.html │ │ ├── maps-icons.html │ │ ├── notification-icons.html │ │ └── social-icons.html │ ├── iron-iconset-svg │ │ ├── .bower.json │ │ ├── .gitignore │ │ ├── README.md │ │ ├── bower.json │ │ ├── demo │ │ │ ├── index.html │ │ │ └── svg-sample-icons.html │ │ ├── index.html │ │ ├── iron-iconset-svg.html │ │ └── test │ │ │ ├── index.html │ │ │ └── iron-iconset-svg.html │ ├── iron-image │ │ ├── .bower.json │ │ ├── .gitignore │ │ ├── README.md │ │ ├── bower.json │ │ ├── demo │ │ │ ├── index.html │ │ │ └── polymer.svg │ │ ├── index.html │ │ ├── iron-image.html │ │ └── test │ │ │ ├── index.html │ │ │ └── iron-image.html │ ├── iron-media-query │ │ ├── .bower.json │ │ ├── .gitignore │ │ ├── README.md │ │ ├── bower.json │ │ ├── demo │ │ │ └── index.html │ │ ├── hero.svg │ │ ├── index.html │ │ ├── iron-media-query.html │ │ └── test │ │ │ ├── basic.html │ │ │ └── index.html │ ├── iron-menu-behavior │ │ ├── .bower.json │ │ ├── .gitignore │ │ ├── README.md │ │ ├── bower.json │ │ ├── demo │ │ │ ├── index.html │ │ │ ├── simple-menu.html │ │ │ └── simple-menubar.html │ │ ├── index.html │ │ ├── iron-menu-behavior.html │ │ ├── iron-menubar-behavior.html │ │ └── test │ │ │ ├── index.html │ │ │ ├── iron-menu-behavior.html │ │ │ ├── iron-menubar-behavior.html │ │ │ ├── test-menu.html │ │ │ └── test-menubar.html │ ├── iron-meta │ │ ├── .bower.json │ │ ├── .gitignore │ │ ├── README.md │ │ ├── bower.json │ │ ├── demo │ │ │ └── index.html │ │ ├── hero.svg │ │ ├── index.html │ │ ├── iron-meta.html │ │ └── test │ │ │ ├── basic.html │ │ │ ├── index.html │ │ │ └── iron-meta.html │ ├── iron-resizable-behavior │ │ ├── .bower.json │ │ ├── .gitignore │ │ ├── README.md │ │ ├── bower.json │ │ ├── demo │ │ │ ├── index.html │ │ │ └── src │ │ │ │ └── x-app.html │ │ ├── index.html │ │ ├── iron-resizable-behavior.html │ │ └── test │ │ │ ├── basic.html │ │ │ ├── index.html │ │ │ ├── iron-resizable-behavior.html │ │ │ └── test-elements.html │ ├── iron-selector │ │ ├── .bower.json │ │ ├── .gitignore │ │ ├── README.md │ │ ├── bower.json │ │ ├── demo │ │ │ └── index.html │ │ ├── index.html │ │ ├── iron-multi-selectable.html │ │ ├── iron-selectable.html │ │ ├── iron-selection.html │ │ ├── iron-selector.html │ │ └── test │ │ │ ├── activate-event.html │ │ │ ├── basic.html │ │ │ ├── content-element.html │ │ │ ├── content.html │ │ │ ├── index.html │ │ │ ├── multi.html │ │ │ ├── next-previous.html │ │ │ ├── selected-attribute.html │ │ │ └── template-repeat.html │ ├── paper-behaviors │ │ ├── .bower.json │ │ ├── .gitignore │ │ ├── README.md │ │ ├── bower.json │ │ ├── demo │ │ │ ├── index.html │ │ │ ├── paper-button.html │ │ │ └── paper-radio-button.html │ │ ├── index.html │ │ ├── paper-button-behavior.html │ │ ├── paper-inky-focus-behavior.html │ │ └── test │ │ │ ├── index.html │ │ │ ├── paper-button-behavior.html │ │ │ ├── paper-radio-button-behavior.html │ │ │ ├── test-button.html │ │ │ └── test-radio-button.html │ ├── paper-drawer-panel │ │ ├── .bower.json │ │ ├── .gitignore │ │ ├── README.md │ │ ├── bower.json │ │ ├── demo │ │ │ └── index.html │ │ ├── hero.svg │ │ ├── index.html │ │ ├── paper-drawer-panel.css │ │ └── paper-drawer-panel.html │ ├── paper-fab │ │ ├── .bower.json │ │ ├── .gitignore │ │ ├── README.md │ │ ├── bower.json │ │ ├── demo │ │ │ └── index.html │ │ ├── index.html │ │ ├── paper-fab.html │ │ └── test │ │ │ ├── a11y.html │ │ │ ├── basic.html │ │ │ └── index.html │ ├── paper-icon-button │ │ ├── .bower.json │ │ ├── .gitignore │ │ ├── README.md │ │ ├── bower.json │ │ ├── demo │ │ │ └── index.html │ │ ├── index.html │ │ ├── paper-icon-button.html │ │ └── test │ │ │ ├── a11y.html │ │ │ ├── basic.html │ │ │ └── index.html │ ├── paper-item │ │ ├── .bower.json │ │ ├── .gitignore │ │ ├── README.md │ │ ├── all-imports.html │ │ ├── bower.json │ │ ├── demo │ │ │ └── index.html │ │ ├── index.html │ │ ├── paper-icon-item.html │ │ ├── paper-item-body.html │ │ ├── paper-item-shared.css │ │ ├── paper-item.html │ │ └── test │ │ │ ├── index.html │ │ │ └── paper-item.html │ ├── paper-material │ │ ├── .bower.json │ │ ├── .gitignore │ │ ├── README.md │ │ ├── bower.json │ │ ├── demo │ │ │ └── index.html │ │ ├── index.html │ │ ├── paper-material.html │ │ └── test │ │ │ ├── index.html │ │ │ └── paper-material.html │ ├── paper-menu │ │ ├── .bower.json │ │ ├── .gitignore │ │ ├── README.md │ │ ├── bower.json │ │ ├── demo │ │ │ └── index.html │ │ ├── hero.svg │ │ ├── index.html │ │ ├── paper-menu.html │ │ └── test │ │ │ ├── index.html │ │ │ └── paper-menu.html │ ├── paper-ripple │ │ ├── .bower.json │ │ ├── .gitignore │ │ ├── README.md │ │ ├── bower.json │ │ ├── demo │ │ │ └── index.html │ │ ├── hero.svg │ │ ├── index.html │ │ ├── paper-ripple.html │ │ └── test │ │ │ ├── index.html │ │ │ └── paper-ripple.html │ ├── paper-scroll-header-panel │ │ ├── .bower.json │ │ ├── .gitignore │ │ ├── README.md │ │ ├── bower.json │ │ ├── demo │ │ │ ├── demo1.html │ │ │ ├── demo2.html │ │ │ ├── demo3.html │ │ │ ├── demo4.html │ │ │ ├── demo5.html │ │ │ ├── demo6.html │ │ │ ├── demo7.html │ │ │ ├── demo8.html │ │ │ ├── demo9.html │ │ │ ├── images │ │ │ │ ├── bg2.jpg │ │ │ │ ├── bg3.jpg │ │ │ │ ├── bg5.jpg │ │ │ │ ├── bg6.jpg │ │ │ │ └── bg9.jpg │ │ │ ├── index.html │ │ │ ├── lorem-ipsum.html │ │ │ └── sample-content.html │ │ ├── hero.svg │ │ ├── index.html │ │ ├── paper-scroll-header-panel.html │ │ └── test │ │ │ ├── basic.html │ │ │ └── index.html │ ├── paper-styles │ │ ├── .bower.json │ │ ├── README.md │ │ ├── bower.json │ │ ├── classes │ │ │ ├── global.html │ │ │ ├── shadow-layout.html │ │ │ ├── shadow.html │ │ │ └── typography.html │ │ ├── color.html │ │ ├── default-theme.html │ │ ├── demo-pages.html │ │ ├── demo.css │ │ ├── demo │ │ │ └── index.html │ │ ├── paper-styles-classes.html │ │ ├── paper-styles.html │ │ ├── shadow.html │ │ └── typography.html │ ├── paper-toolbar │ │ ├── .bower.json │ │ ├── .gitignore │ │ ├── README.md │ │ ├── bower.json │ │ ├── demo │ │ │ └── index.html │ │ ├── index.html │ │ ├── paper-toolbar.html │ │ └── test │ │ │ ├── index.html │ │ │ └── paper-toolbar.html │ ├── polymer │ │ ├── .bower.json │ │ ├── LICENSE.txt │ │ ├── bower.json │ │ ├── build.log │ │ ├── polymer-micro.html │ │ ├── polymer-mini.html │ │ └── polymer.html │ └── webcomponentsjs │ │ ├── .bower.json │ │ ├── CustomElements.js │ │ ├── CustomElements.min.js │ │ ├── HTMLImports.js │ │ ├── HTMLImports.min.js │ │ ├── MutationObserver.js │ │ ├── MutationObserver.min.js │ │ ├── README.md │ │ ├── ShadowDOM.js │ │ ├── ShadowDOM.min.js │ │ ├── bower.json │ │ ├── build.log │ │ ├── package.json │ │ ├── webcomponents-lite.js │ │ ├── webcomponents-lite.min.js │ │ ├── webcomponents.js │ │ └── webcomponents.min.js └── images │ ├── cover.png │ ├── facebook-dreamstale25.png │ ├── feed-dreamstale27.png │ ├── github2-dreamstale35.png │ ├── google+-dreamstale37.png │ ├── linkedin-dreamstale45.png │ ├── photo.png │ ├── profile.png │ └── twitter-dreamstale71.png └── theme.toml /LICENSE.md: -------------------------------------------------------------------------------- 1 | The MIT License (MIT) 2 | 3 | Copyright (c) 2015 pdevty 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy of 6 | this software and associated documentation files (the "Software"), to deal in 7 | the Software without restriction, including without limitation the rights to 8 | use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of 9 | the Software, and to permit persons to whom the Software is furnished to do so, 10 | subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS 17 | FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR 18 | COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER 19 | IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN 20 | CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 21 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Polymer 2 | 3 | Polymer is a web components material design theme for [Hugo](http://gohugo.io/). 4 | 5 |  6 | 7 | ## Features 8 | 9 | - Material Design by [polymer](https://www.polymer-project.org/1.0/) 10 | - Google Analytics (optional) 11 | - Pagination 12 | - Disqus (optional) 13 | - Twitter, Facebook, GitHub, Google+, LinkedIn links (optional) 14 | - Tags 15 | - Categories 16 | - Cover, Photo, Profile image (optional) 17 | - Highlighting source code 18 | 19 | ## Installation 20 | 21 | ```shell 22 | $ mkdir themes 23 | $ cd themes 24 | $ git clone https://github.com/pdevty/polymer 25 | ``` 26 | 27 | ## Usage 28 | 29 | ```shell 30 | $ hugo server -t polymer -w -D 31 | ``` 32 | 33 | ## Configuration 34 | 35 | config.toml 36 | 37 | ```toml 38 | theme="polymer" 39 | baseurl = "Your Site URL" 40 | languageCode = "en-us" 41 | title = "Your Site Title" 42 | MetaDataFormat = "toml" 43 | paginate = 10 # optional 44 | disqusShortname = "Your Disqus Name" # optional 45 | copyright = "© 2015 Copyright Text" 46 | 47 | [params] 48 | author = "Your Name" 49 | photo = "images/photo.png" # optional 50 | profile = "images/profile.png" # optional 51 | cover = "images/cover.png" # optional 52 | twitter = "Your Twitter Name" # optional 53 | github = "Your Github Name" # optional 54 | facebook = "Your facebook Name" # optional 55 | gplus = "Your Google+ Name" # optional 56 | linkedin = "Your linkedin Name" # optional 57 | googleAnalyticsUserID = "Your Analytics User Id" # optional 58 | 59 | [permalinks] 60 | post = "/:year/:month/:day/:filename/" # optional 61 | ``` 62 | 63 | ## Contributing 64 | 65 | 1. Fork it 66 | 2. Create your feature branch (`git checkout -b my-new-feature`) 67 | 3. Commit your changes (`git commit -am 'Add some feature'`) 68 | 4. Push to the branch (`git push origin my-new-feature`) 69 | 5. Create new Pull Request -------------------------------------------------------------------------------- /archetypes/default.md: -------------------------------------------------------------------------------- 1 | +++ 2 | Tags = [] 3 | Categories = [] 4 | +++ -------------------------------------------------------------------------------- /images/screenshot.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pdevty/polymer/d8be0028b80dcf7026489598f4f8905ecc291611/images/screenshot.png -------------------------------------------------------------------------------- /images/tn.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pdevty/polymer/d8be0028b80dcf7026489598f4f8905ecc291611/images/tn.png -------------------------------------------------------------------------------- /layouts/_default/list.html: -------------------------------------------------------------------------------- 1 | {{ partial "header.html" . }} 2 | 3 | {{ partial "content.html" . }} 4 | 5 | {{ partial "pagination.html" .Paginator }} 6 | 7 | {{ partial "footer.html" . }} 8 | -------------------------------------------------------------------------------- /layouts/_default/single.html: -------------------------------------------------------------------------------- 1 | {{ partial "header.html" . }} 2 | 3 | {{ $baseurl := .Site.BaseURL }} 4 |