├── README.md ├── scaffolds ├── draft.md ├── page.md └── post.md ├── themes └── landscape │ ├── layout │ ├── page.ejs │ ├── tag.ejs │ ├── index.ejs │ ├── post.ejs │ ├── category.ejs │ ├── archive.ejs │ ├── _partial │ │ ├── post │ │ │ ├── tag.ejs │ │ │ ├── date.ejs │ │ │ ├── category.ejs │ │ │ ├── gallery.ejs │ │ │ ├── title.ejs │ │ │ └── nav.ejs │ │ ├── mobile-nav.ejs │ │ ├── archive-post.ejs │ │ ├── footer.ejs │ │ ├── sidebar.ejs │ │ ├── google-analytics.ejs │ │ ├── after-footer.ejs │ │ ├── archive.ejs │ │ ├── header.ejs │ │ ├── head.ejs │ │ └── article.ejs │ ├── _widget │ │ ├── tag.ejs │ │ ├── archive.ejs │ │ ├── tagcloud.ejs │ │ ├── category.ejs │ │ └── recent_posts.ejs │ └── layout.ejs │ ├── source │ ├── favicon.ico │ ├── fancybox │ │ ├── blank.gif │ │ ├── fancybox_loading.gif │ │ ├── fancybox_overlay.png │ │ ├── fancybox_sprite.png │ │ ├── fancybox_loading@2x.gif │ │ ├── fancybox_sprite@2x.png │ │ ├── helpers │ │ │ ├── fancybox_buttons.png │ │ │ ├── jquery.fancybox-thumbs.css │ │ │ ├── jquery.fancybox-buttons.css │ │ │ ├── jquery.fancybox-buttons.js │ │ │ ├── jquery.fancybox-thumbs.js │ │ │ └── jquery.fancybox-media.js │ │ └── jquery.fancybox.css │ ├── css │ │ ├── images │ │ │ └── banner.jpg │ │ ├── fonts │ │ │ ├── FontAwesome.otf │ │ │ ├── fontawesome-webfont.eot │ │ │ ├── fontawesome-webfont.ttf │ │ │ └── fontawesome-webfont.woff │ │ ├── _partial │ │ │ ├── comment.styl │ │ │ ├── footer.styl │ │ │ ├── sidebar-bottom.styl │ │ │ ├── mobile.styl │ │ │ ├── sidebar-aside.styl │ │ │ ├── sidebar.styl │ │ │ ├── archive.styl │ │ │ ├── header.styl │ │ │ ├── highlight.styl │ │ │ └── article.styl │ │ ├── _util │ │ │ ├── mixin.styl │ │ │ └── grid.styl │ │ ├── _extend.styl │ │ ├── _variables.styl │ │ └── style.styl │ └── js │ │ └── script.js │ ├── package.json │ ├── _config.yml │ ├── scripts │ └── fancybox.js │ ├── LICENSE │ ├── Gruntfile.js │ └── README.md ├── .gitignore ├── source └── _posts │ ├── 20150403_sum.md │ ├── 20160403-sum.md │ ├── 20140520_sum.md │ ├── 20140518_sum.md │ ├── 20140921_sum.md │ ├── 20150607_summary.md │ ├── 20151017-sum.md │ ├── 20150625_graduate.md │ ├── 20141009_browser.md │ ├── 20140716_metaviewport.md │ ├── 20141123_sum.md │ ├── 20140210_extend.md │ ├── 20150103_sum.md │ ├── 20140713_sum.md │ ├── 20150403_summary.md │ ├── 20150609_sum.md │ ├── 20140817_blockinline.md │ ├── 20140916_middle.md │ ├── 20140713_summarize.md │ ├── 20140210_block.md │ ├── 20141010_interview.md │ ├── 20150227_sum.md │ ├── 20140124_proto.md │ ├── 20160609-packagejson-md.md │ ├── 20140519_bootstrap.md │ ├── 20140210_this.md │ ├── 20140621_bfc.md │ ├── 20140914_performance.md │ ├── 20140528_cors.md │ ├── 20150203_viewport.md │ ├── 20140826_summary.md │ ├── 20140524_timeoutandinterval.md │ └── 20150713-performance.md ├── package.json └── _config.yml /README.md: -------------------------------------------------------------------------------- 1 | # tankptBlog 2 | hexo blog inital 3 | -------------------------------------------------------------------------------- /scaffolds/draft.md: -------------------------------------------------------------------------------- 1 | title: {{ title }} 2 | tags: 3 | --- 4 | -------------------------------------------------------------------------------- /scaffolds/page.md: -------------------------------------------------------------------------------- 1 | title: {{ title }} 2 | date: {{ date }} 3 | --- 4 | -------------------------------------------------------------------------------- /scaffolds/post.md: -------------------------------------------------------------------------------- 1 | title: {{ title }} 2 | date: {{ date }} 3 | tags: 4 | --- 5 | -------------------------------------------------------------------------------- /themes/landscape/layout/page.ejs: -------------------------------------------------------------------------------- 1 | <%- partial('_partial/article', {post: page, index: false}) %> -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | .DS_Store 2 | Thumbs.db 3 | db.json 4 | *.log 5 | node_modules/ 6 | public/ 7 | .deploy*/ -------------------------------------------------------------------------------- /themes/landscape/layout/tag.ejs: -------------------------------------------------------------------------------- 1 | <%- partial('_partial/archive', {pagination: config.tag, index: true}) %> -------------------------------------------------------------------------------- /themes/landscape/layout/index.ejs: -------------------------------------------------------------------------------- 1 | <%- partial('_partial/archive', {pagination: 2, index: true, hasShare:false}) %> -------------------------------------------------------------------------------- /themes/landscape/layout/post.ejs: -------------------------------------------------------------------------------- 1 | <%- partial('_partial/article', {post: page, index: false, hasShare: true}) %> -------------------------------------------------------------------------------- /themes/landscape/layout/category.ejs: -------------------------------------------------------------------------------- 1 | <%- partial('_partial/archive', {pagination: config.category, index: true}) %> -------------------------------------------------------------------------------- /themes/landscape/layout/archive.ejs: -------------------------------------------------------------------------------- 1 | <%- partial('_partial/archive', {pagination: config.archive, index: true,hasShare:false}) %> -------------------------------------------------------------------------------- /themes/landscape/source/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tankpt/tankptBlog/master/themes/landscape/source/favicon.ico -------------------------------------------------------------------------------- /themes/landscape/source/fancybox/blank.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tankpt/tankptBlog/master/themes/landscape/source/fancybox/blank.gif -------------------------------------------------------------------------------- /themes/landscape/source/css/images/banner.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tankpt/tankptBlog/master/themes/landscape/source/css/images/banner.jpg -------------------------------------------------------------------------------- /themes/landscape/source/css/fonts/FontAwesome.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tankpt/tankptBlog/master/themes/landscape/source/css/fonts/FontAwesome.otf -------------------------------------------------------------------------------- /themes/landscape/source/fancybox/fancybox_loading.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tankpt/tankptBlog/master/themes/landscape/source/fancybox/fancybox_loading.gif -------------------------------------------------------------------------------- /themes/landscape/source/fancybox/fancybox_overlay.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tankpt/tankptBlog/master/themes/landscape/source/fancybox/fancybox_overlay.png -------------------------------------------------------------------------------- /themes/landscape/source/fancybox/fancybox_sprite.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tankpt/tankptBlog/master/themes/landscape/source/fancybox/fancybox_sprite.png -------------------------------------------------------------------------------- /themes/landscape/source/fancybox/fancybox_loading@2x.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tankpt/tankptBlog/master/themes/landscape/source/fancybox/fancybox_loading@2x.gif -------------------------------------------------------------------------------- /themes/landscape/source/fancybox/fancybox_sprite@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tankpt/tankptBlog/master/themes/landscape/source/fancybox/fancybox_sprite@2x.png -------------------------------------------------------------------------------- /themes/landscape/source/css/fonts/fontawesome-webfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tankpt/tankptBlog/master/themes/landscape/source/css/fonts/fontawesome-webfont.eot -------------------------------------------------------------------------------- /themes/landscape/source/css/fonts/fontawesome-webfont.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tankpt/tankptBlog/master/themes/landscape/source/css/fonts/fontawesome-webfont.ttf -------------------------------------------------------------------------------- /themes/landscape/source/css/fonts/fontawesome-webfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tankpt/tankptBlog/master/themes/landscape/source/css/fonts/fontawesome-webfont.woff -------------------------------------------------------------------------------- /themes/landscape/source/fancybox/helpers/fancybox_buttons.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tankpt/tankptBlog/master/themes/landscape/source/fancybox/helpers/fancybox_buttons.png -------------------------------------------------------------------------------- /themes/landscape/layout/_partial/post/tag.ejs: -------------------------------------------------------------------------------- 1 | <% if (post.tags && post.tags.length){ %> 2 | <%- list_tags(post.tags, { 3 | show_count: false, 4 | class: 'article-tag' 5 | }) %> 6 | <% } %> -------------------------------------------------------------------------------- /themes/landscape/layout/_partial/mobile-nav.ejs: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /themes/landscape/layout/_widget/tag.ejs: -------------------------------------------------------------------------------- 1 | <% if (site.tags.length){ %> 2 |
8 | <% } %> -------------------------------------------------------------------------------- /themes/landscape/layout/_partial/post/date.ejs: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /themes/landscape/layout/_widget/archive.ejs: -------------------------------------------------------------------------------- 1 | <% if (site.posts.length){ %> 2 | 8 | <% } %> -------------------------------------------------------------------------------- /themes/landscape/layout/_widget/tagcloud.ejs: -------------------------------------------------------------------------------- 1 | <% if (site.tags.length){ %> 2 | 8 | <% } %> -------------------------------------------------------------------------------- /themes/landscape/layout/_widget/category.ejs: -------------------------------------------------------------------------------- 1 | <% if (site.categories.length){ %> 2 | 8 | <% } %> -------------------------------------------------------------------------------- /themes/landscape/source/css/_partial/comment.styl: -------------------------------------------------------------------------------- 1 | #comments 2 | background: #fff 3 | box-shadow: 1px 2px 3px #ddd 4 | padding: article-padding 5 | border: 1px solid color-border 6 | border-radius: 3px 7 | margin: block-margin 0 8 | a 9 | color: color-link -------------------------------------------------------------------------------- /themes/landscape/layout/_partial/post/category.ejs: -------------------------------------------------------------------------------- 1 | <% if (post.categories && post.categories.length){ %> 2 |