From f24f2d15275961f1c0144e68fde75a60aeaaa165 Mon Sep 17 00:00:00 2001 From: Julio Capote Date: Mon, 23 Jan 2023 22:20:47 -0500 Subject: move to bear theme --- .gitignore | 17 +- .gitmodules | 3 + archetypes/blog.md | 13 + archetypes/default.md | 26 +- config.toml | 186 +--- content/about.md | 10 +- ...0-11-tabbing-through-fields-vertically.markdown | 27 + ...2-arrow-key-navigation-for-text-fields.markdown | 77 ++ ...10-28-so-you-want-to-click-that-button.markdown | 58 + ...ht-link-based-on-current-page-in-rails.markdown | 30 + ...08-9-30-why-mootools-or-why-not-jquery.markdown | 34 + .../2009-1-1-useful-rails-routing-tips.markdown | 74 ++ ...ck-applications-inside-gwt-hosted-mode.markdown | 116 ++ .../2010-12-31-what-i-released-in-2010.markdown | 39 + ...rite-migrations-right-from-the-command.markdown | 67 ++ ...nder-image-links-directly-inside-adium.markdown | 23 + ...2-1-25-finagle-with-scala-bootstrapper.markdown | 132 +++ ...extension-for-creating-wunderlist-task.markdown | 25 + ...dded-key-value-store-for-shell-scripts.markdown | 76 ++ content/blog/2012-10-11-riak-at-posterous.markdown | 13 + ...2-11-01-base-a-scala-project-generator.markdown | 40 + .../2012-11-07-announcing-finatra-1-0-0.markdown | 73 ++ ...-11-13-automatic-high-quality-releases.markdown | 117 ++ .../2013-07-28-playing-with-groupcache.markdown | 85 ++ ...-07-golang-http-handlers-as-middleware.markdown | 57 + .../blog/2014-02-24-tmux-session-coloring.markdown | 38 + ...0-11-tabbing-through-fields-vertically.markdown | 27 - ...2-arrow-key-navigation-for-text-fields.markdown | 77 -- ...10-28-so-you-want-to-click-that-button.markdown | 58 - ...ht-link-based-on-current-page-in-rails.markdown | 30 - ...08-9-30-why-mootools-or-why-not-jquery.markdown | 34 - .../2009-1-1-useful-rails-routing-tips.markdown | 74 -- ...ck-applications-inside-gwt-hosted-mode.markdown | 116 -- .../2010-12-31-what-i-released-in-2010.markdown | 39 - ...rite-migrations-right-from-the-command.markdown | 67 -- ...nder-image-links-directly-inside-adium.markdown | 23 - ...2-1-25-finagle-with-scala-bootstrapper.markdown | 132 --- ...extension-for-creating-wunderlist-task.markdown | 25 - ...dded-key-value-store-for-shell-scripts.markdown | 76 -- content/post/2012-10-11-riak-at-posterous.markdown | 13 - ...2-11-01-base-a-scala-project-generator.markdown | 40 - .../2012-11-07-announcing-finatra-1-0-0.markdown | 73 -- ...-11-13-automatic-high-quality-releases.markdown | 117 -- .../2013-07-28-playing-with-groupcache.markdown | 85 -- ...-07-golang-http-handlers-as-middleware.markdown | 57 - .../post/2014-02-24-tmux-session-coloring.markdown | 38 - content/projects.md | 8 +- layouts/index.html | 37 + layouts/partials/nav.html | 4 + themes/even/.gitignore | 2 - themes/even/CHANGELOG.md | 74 -- themes/even/LICENSE.md | 20 - themes/even/README-zh.md | 90 -- themes/even/README.md | 90 -- themes/even/archetypes/default.md | 43 - themes/even/exampleSite/config.toml | 176 --- themes/even/exampleSite/content/about.md | 21 - .../exampleSite/content/post/chinese-preview.md | 84 -- .../exampleSite/content/post/english-preview.md | 1150 -------------------- .../even/exampleSite/content/post/even-preview.md | 165 --- .../even/exampleSite/content/post/hidden-post.md | 15 - .../exampleSite/content/post/japanese-preview.md | 38 - .../content/post/js-flowchart-diagrams.md | 131 --- .../content/post/js-sequence-diagrams.md | 95 -- themes/even/exampleSite/content/post/shortcodes.md | 136 --- .../content/post/syntax-highlighting.md | 100 -- themes/even/i18n/en.yaml | 102 -- themes/even/i18n/es.yaml | 102 -- themes/even/i18n/fr.yaml | 102 -- themes/even/i18n/zh-CN.yaml | 102 -- themes/even/images/screenshot.png | Bin 47266 -> 0 bytes themes/even/images/showcase.png | Bin 208792 -> 0 bytes themes/even/images/tn.png | Bin 41999 -> 0 bytes themes/even/layouts/404.html | 18 - themes/even/layouts/_default/baseof.html | 46 - themes/even/layouts/_default/section.html | 50 - themes/even/layouts/_default/single.html | 7 - themes/even/layouts/_default/single.md | 1 - themes/even/layouts/_default/taxonomy.html | 46 - themes/even/layouts/_default/terms.html | 44 - themes/even/layouts/index.html | 24 - themes/even/layouts/partials/comments.html | 109 -- themes/even/layouts/partials/footer.html | 23 - themes/even/layouts/partials/head.html | 79 -- themes/even/layouts/partials/header.html | 19 - themes/even/layouts/partials/post/copyright.html | 32 - .../partials/post/outdated-info-warning.html | 28 - themes/even/layouts/partials/post/reward.html | 21 - themes/even/layouts/partials/post/toc.html | 9 - themes/even/layouts/partials/scripts.html | 115 -- themes/even/layouts/partials/slideout.html | 25 - themes/even/layouts/post/single.html | 73 -- themes/even/layouts/post/summary.html | 28 - themes/even/layouts/robots.txt | 2 - themes/even/layouts/shortcodes/center.html | 3 - themes/even/layouts/shortcodes/left.html | 3 - themes/even/layouts/shortcodes/music.html | 62 -- themes/even/layouts/shortcodes/right.html | 3 - themes/even/layouts/sitemap.xml | 11 - themes/even/src/.babelrc | 10 - themes/even/src/css/_base.scss | 110 -- themes/even/src/css/_common/_animation.scss | 156 --- themes/even/src/css/_common/_normalize.scss | 427 -------- themes/even/src/css/_common/_utils.scss | 23 - themes/even/src/css/_custom/_custom.scss | 4 - themes/even/src/css/_iconfont.scss | 110 -- themes/even/src/css/_partial/_404.scss | 25 - themes/even/src/css/_partial/_archive.scss | 100 -- themes/even/src/css/_partial/_back-to-top.scss | 24 - themes/even/src/css/_partial/_categories.scss | 43 - themes/even/src/css/_partial/_footer.scss | 10 - .../even/src/css/_partial/_footer/_copyright.scss | 23 - themes/even/src/css/_partial/_footer/_social.scss | 19 - themes/even/src/css/_partial/_header.scss | 19 - themes/even/src/css/_partial/_header/_logo.scss | 18 - themes/even/src/css/_partial/_header/_menu.scss | 35 - themes/even/src/css/_partial/_mobile.scss | 77 -- themes/even/src/css/_partial/_pagination.scss | 36 - themes/even/src/css/_partial/_post.scss | 24 - themes/even/src/css/_partial/_post/_code.scss | 140 --- themes/even/src/css/_partial/_post/_content.scss | 143 --- themes/even/src/css/_partial/_post/_copyright.scss | 29 - themes/even/src/css/_partial/_post/_footer.scss | 87 -- themes/even/src/css/_partial/_post/_header.scss | 46 - themes/even/src/css/_partial/_post/_outdated.scss | 25 - themes/even/src/css/_partial/_post/_reward.scss | 54 - themes/even/src/css/_partial/_post/_toc.scss | 55 - themes/even/src/css/_partial/_slideout.scss | 33 - themes/even/src/css/_partial/_tags.scss | 46 - themes/even/src/css/_variables.scss | 320 ------ themes/even/src/css/style.scss | 19 - themes/even/src/fonts/iconfont/iconfont.eot | Bin 5928 -> 0 bytes themes/even/src/fonts/iconfont/iconfont.svg | 93 -- themes/even/src/fonts/iconfont/iconfont.ttf | Bin 5760 -> 0 bytes themes/even/src/fonts/iconfont/iconfont.woff | Bin 4160 -> 0 bytes themes/even/src/js/even.js | 246 ----- themes/even/src/js/main.js | 16 - themes/even/src/package.json | 31 - themes/even/src/postcss.config.js | 7 - themes/even/src/webpack.config.js | 50 - themes/even/static/android-chrome-192x192.png | Bin 4930 -> 0 bytes themes/even/static/android-chrome-512x512.png | Bin 5498 -> 0 bytes themes/even/static/apple-touch-icon.png | Bin 2530 -> 0 bytes themes/even/static/browserconfig.xml | 9 - themes/even/static/dist/even.min.css | 2 - themes/even/static/dist/even.min.css.map | 1 - themes/even/static/dist/even.min.js | 2 - themes/even/static/dist/even.min.js.map | 1 - .../dist/fonts/chancery/apple-chancery-webfont.eot | Bin 26058 -> 0 bytes .../dist/fonts/chancery/apple-chancery-webfont.svg | 228 ---- .../dist/fonts/chancery/apple-chancery-webfont.ttf | Bin 60780 -> 0 bytes .../fonts/chancery/apple-chancery-webfont.woff | Bin 30256 -> 0 bytes .../fonts/chancery/apple-chancery-webfont.woff2 | Bin 23532 -> 0 bytes .../even/static/dist/fonts/iconfont/iconfont.eot | Bin 5928 -> 0 bytes .../even/static/dist/fonts/iconfont/iconfont.svg | 93 -- .../even/static/dist/fonts/iconfont/iconfont.ttf | Bin 5760 -> 0 bytes .../even/static/dist/fonts/iconfont/iconfont.woff | Bin 4160 -> 0 bytes themes/even/static/favicon-16x16.png | Bin 737 -> 0 bytes themes/even/static/favicon-32x32.png | Bin 1019 -> 0 bytes themes/even/static/favicon.ico | Bin 15086 -> 0 bytes themes/even/static/img/reward/alipay.png | Bin 103603 -> 0 bytes themes/even/static/img/reward/wechat.png | Bin 54031 -> 0 bytes themes/even/static/img/spinner.svg | 49 - .../lib/fancybox/jquery.fancybox-3.1.20.min.css | 1 - .../lib/fancybox/jquery.fancybox-3.1.20.min.js | 12 - themes/even/static/lib/gitalk/gitalk-1.2.2.min.css | 7 - themes/even/static/lib/gitalk/gitalk-1.2.2.min.js | 19 - .../even/static/lib/gitment/gitment-0.0.3.min.css | 1 - .../even/static/lib/gitment/gitment-0.0.3.min.js | 1 - themes/even/static/lib/highlight/highlight.pack.js | 2 - themes/even/static/lib/jquery/jquery-3.2.1.min.js | 4 - .../even/static/lib/slideout/slideout-1.0.1.min.js | 1 - .../even/static/lib/timeago/timeago-3.0.2.min.js | 1 - .../lib/timeago/timeago.locales-3.0.2.min.js | 1 - themes/even/static/manifest.json | 18 - themes/even/static/mstile-150x150.png | Bin 2556 -> 0 bytes themes/even/static/safari-pinned-tab.svg | 25 - themes/even/static/sitemap.xsl | 115 -- themes/even/theme.toml | 21 - themes/hugo-bearblog | 1 + 180 files changed, 1352 insertions(+), 8421 deletions(-) create mode 100644 .gitmodules create mode 100644 archetypes/blog.md create mode 100644 content/blog/2008-10-11-tabbing-through-fields-vertically.markdown create mode 100644 content/blog/2008-10-12-arrow-key-navigation-for-text-fields.markdown create mode 100644 content/blog/2008-10-28-so-you-want-to-click-that-button.markdown create mode 100644 content/blog/2008-9-27-highlight-link-based-on-current-page-in-rails.markdown create mode 100644 content/blog/2008-9-30-why-mootools-or-why-not-jquery.markdown create mode 100644 content/blog/2009-1-1-useful-rails-routing-tips.markdown create mode 100644 content/blog/2009-7-19-using-rack-applications-inside-gwt-hosted-mode.markdown create mode 100644 content/blog/2010-12-31-what-i-released-in-2010.markdown create mode 100644 content/blog/2011-1-3-migrationfor-write-migrations-right-from-the-command.markdown create mode 100644 content/blog/2011-9-13-render-image-links-directly-inside-adium.markdown create mode 100644 content/blog/2012-1-25-finagle-with-scala-bootstrapper.markdown create mode 100644 content/blog/2012-1-9-alfred-extension-for-creating-wunderlist-task.markdown create mode 100644 content/blog/2012-10-07-an-embedded-key-value-store-for-shell-scripts.markdown create mode 100644 content/blog/2012-10-11-riak-at-posterous.markdown create mode 100644 content/blog/2012-11-01-base-a-scala-project-generator.markdown create mode 100644 content/blog/2012-11-07-announcing-finatra-1-0-0.markdown create mode 100644 content/blog/2012-11-13-automatic-high-quality-releases.markdown create mode 100644 content/blog/2013-07-28-playing-with-groupcache.markdown create mode 100644 content/blog/2013-10-07-golang-http-handlers-as-middleware.markdown create mode 100644 content/blog/2014-02-24-tmux-session-coloring.markdown delete mode 100644 content/post/2008-10-11-tabbing-through-fields-vertically.markdown delete mode 100644 content/post/2008-10-12-arrow-key-navigation-for-text-fields.markdown delete mode 100644 content/post/2008-10-28-so-you-want-to-click-that-button.markdown delete mode 100644 content/post/2008-9-27-highlight-link-based-on-current-page-in-rails.markdown delete mode 100644 content/post/2008-9-30-why-mootools-or-why-not-jquery.markdown delete mode 100644 content/post/2009-1-1-useful-rails-routing-tips.markdown delete mode 100644 content/post/2009-7-19-using-rack-applications-inside-gwt-hosted-mode.markdown delete mode 100644 content/post/2010-12-31-what-i-released-in-2010.markdown delete mode 100644 content/post/2011-1-3-migrationfor-write-migrations-right-from-the-command.markdown delete mode 100644 content/post/2011-9-13-render-image-links-directly-inside-adium.markdown delete mode 100644 content/post/2012-1-25-finagle-with-scala-bootstrapper.markdown delete mode 100644 content/post/2012-1-9-alfred-extension-for-creating-wunderlist-task.markdown delete mode 100644 content/post/2012-10-07-an-embedded-key-value-store-for-shell-scripts.markdown delete mode 100644 content/post/2012-10-11-riak-at-posterous.markdown delete mode 100644 content/post/2012-11-01-base-a-scala-project-generator.markdown delete mode 100644 content/post/2012-11-07-announcing-finatra-1-0-0.markdown delete mode 100644 content/post/2012-11-13-automatic-high-quality-releases.markdown delete mode 100644 content/post/2013-07-28-playing-with-groupcache.markdown delete mode 100644 content/post/2013-10-07-golang-http-handlers-as-middleware.markdown delete mode 100644 content/post/2014-02-24-tmux-session-coloring.markdown create mode 100644 layouts/index.html create mode 100644 layouts/partials/nav.html delete mode 100644 themes/even/.gitignore delete mode 100644 themes/even/CHANGELOG.md delete mode 100644 themes/even/LICENSE.md delete mode 100644 themes/even/README-zh.md delete mode 100644 themes/even/README.md delete mode 100644 themes/even/archetypes/default.md delete mode 100644 themes/even/exampleSite/config.toml delete mode 100644 themes/even/exampleSite/content/about.md delete mode 100644 themes/even/exampleSite/content/post/chinese-preview.md delete mode 100644 themes/even/exampleSite/content/post/english-preview.md delete mode 100644 themes/even/exampleSite/content/post/even-preview.md delete mode 100644 themes/even/exampleSite/content/post/hidden-post.md delete mode 100644 themes/even/exampleSite/content/post/japanese-preview.md delete mode 100644 themes/even/exampleSite/content/post/js-flowchart-diagrams.md delete mode 100644 themes/even/exampleSite/content/post/js-sequence-diagrams.md delete mode 100644 themes/even/exampleSite/content/post/shortcodes.md delete mode 100644 themes/even/exampleSite/content/post/syntax-highlighting.md delete mode 100644 themes/even/i18n/en.yaml delete mode 100644 themes/even/i18n/es.yaml delete mode 100644 themes/even/i18n/fr.yaml delete mode 100644 themes/even/i18n/zh-CN.yaml delete mode 100644 themes/even/images/screenshot.png delete mode 100644 themes/even/images/showcase.png delete mode 100644 themes/even/images/tn.png delete mode 100644 themes/even/layouts/404.html delete mode 100644 themes/even/layouts/_default/baseof.html delete mode 100644 themes/even/layouts/_default/section.html delete mode 100644 themes/even/layouts/_default/single.html delete mode 100644 themes/even/layouts/_default/single.md delete mode 100644 themes/even/layouts/_default/taxonomy.html delete mode 100644 themes/even/layouts/_default/terms.html delete mode 100644 themes/even/layouts/index.html delete mode 100644 themes/even/layouts/partials/comments.html delete mode 100644 themes/even/layouts/partials/footer.html delete mode 100644 themes/even/layouts/partials/head.html delete mode 100644 themes/even/layouts/partials/header.html delete mode 100644 themes/even/layouts/partials/post/copyright.html delete mode 100644 themes/even/layouts/partials/post/outdated-info-warning.html delete mode 100644 themes/even/layouts/partials/post/reward.html delete mode 100644 themes/even/layouts/partials/post/toc.html delete mode 100644 themes/even/layouts/partials/scripts.html delete mode 100644 themes/even/layouts/partials/slideout.html delete mode 100644 themes/even/layouts/post/single.html delete mode 100644 themes/even/layouts/post/summary.html delete mode 100644 themes/even/layouts/robots.txt delete mode 100644 themes/even/layouts/shortcodes/center.html delete mode 100644 themes/even/layouts/shortcodes/left.html delete mode 100644 themes/even/layouts/shortcodes/music.html delete mode 100644 themes/even/layouts/shortcodes/right.html delete mode 100644 themes/even/layouts/sitemap.xml delete mode 100644 themes/even/src/.babelrc delete mode 100644 themes/even/src/css/_base.scss delete mode 100644 themes/even/src/css/_common/_animation.scss delete mode 100644 themes/even/src/css/_common/_normalize.scss delete mode 100644 themes/even/src/css/_common/_utils.scss delete mode 100644 themes/even/src/css/_custom/_custom.scss delete mode 100644 themes/even/src/css/_iconfont.scss delete mode 100644 themes/even/src/css/_partial/_404.scss delete mode 100644 themes/even/src/css/_partial/_archive.scss delete mode 100644 themes/even/src/css/_partial/_back-to-top.scss delete mode 100644 themes/even/src/css/_partial/_categories.scss delete mode 100644 themes/even/src/css/_partial/_footer.scss delete mode 100644 themes/even/src/css/_partial/_footer/_copyright.scss delete mode 100644 themes/even/src/css/_partial/_footer/_social.scss delete mode 100644 themes/even/src/css/_partial/_header.scss delete mode 100644 themes/even/src/css/_partial/_header/_logo.scss delete mode 100644 themes/even/src/css/_partial/_header/_menu.scss delete mode 100644 themes/even/src/css/_partial/_mobile.scss delete mode 100644 themes/even/src/css/_partial/_pagination.scss delete mode 100644 themes/even/src/css/_partial/_post.scss delete mode 100644 themes/even/src/css/_partial/_post/_code.scss delete mode 100644 themes/even/src/css/_partial/_post/_content.scss delete mode 100644 themes/even/src/css/_partial/_post/_copyright.scss delete mode 100644 themes/even/src/css/_partial/_post/_footer.scss delete mode 100644 themes/even/src/css/_partial/_post/_header.scss delete mode 100644 themes/even/src/css/_partial/_post/_outdated.scss delete mode 100644 themes/even/src/css/_partial/_post/_reward.scss delete mode 100644 themes/even/src/css/_partial/_post/_toc.scss delete mode 100644 themes/even/src/css/_partial/_slideout.scss delete mode 100644 themes/even/src/css/_partial/_tags.scss delete mode 100644 themes/even/src/css/_variables.scss delete mode 100644 themes/even/src/css/style.scss delete mode 100644 themes/even/src/fonts/iconfont/iconfont.eot delete mode 100644 themes/even/src/fonts/iconfont/iconfont.svg delete mode 100644 themes/even/src/fonts/iconfont/iconfont.ttf delete mode 100644 themes/even/src/fonts/iconfont/iconfont.woff delete mode 100644 themes/even/src/js/even.js delete mode 100644 themes/even/src/js/main.js delete mode 100644 themes/even/src/package.json delete mode 100644 themes/even/src/postcss.config.js delete mode 100644 themes/even/src/webpack.config.js delete mode 100644 themes/even/static/android-chrome-192x192.png delete mode 100644 themes/even/static/android-chrome-512x512.png delete mode 100644 themes/even/static/apple-touch-icon.png delete mode 100644 themes/even/static/browserconfig.xml delete mode 100644 themes/even/static/dist/even.min.css delete mode 100644 themes/even/static/dist/even.min.css.map delete mode 100644 themes/even/static/dist/even.min.js delete mode 100644 themes/even/static/dist/even.min.js.map delete mode 100644 themes/even/static/dist/fonts/chancery/apple-chancery-webfont.eot delete mode 100644 themes/even/static/dist/fonts/chancery/apple-chancery-webfont.svg delete mode 100644 themes/even/static/dist/fonts/chancery/apple-chancery-webfont.ttf delete mode 100644 themes/even/static/dist/fonts/chancery/apple-chancery-webfont.woff delete mode 100644 themes/even/static/dist/fonts/chancery/apple-chancery-webfont.woff2 delete mode 100644 themes/even/static/dist/fonts/iconfont/iconfont.eot delete mode 100644 themes/even/static/dist/fonts/iconfont/iconfont.svg delete mode 100644 themes/even/static/dist/fonts/iconfont/iconfont.ttf delete mode 100644 themes/even/static/dist/fonts/iconfont/iconfont.woff delete mode 100644 themes/even/static/favicon-16x16.png delete mode 100644 themes/even/static/favicon-32x32.png delete mode 100644 themes/even/static/favicon.ico delete mode 100644 themes/even/static/img/reward/alipay.png delete mode 100644 themes/even/static/img/reward/wechat.png delete mode 100644 themes/even/static/img/spinner.svg delete mode 100644 themes/even/static/lib/fancybox/jquery.fancybox-3.1.20.min.css delete mode 100644 themes/even/static/lib/fancybox/jquery.fancybox-3.1.20.min.js delete mode 100644 themes/even/static/lib/gitalk/gitalk-1.2.2.min.css delete mode 100644 themes/even/static/lib/gitalk/gitalk-1.2.2.min.js delete mode 100644 themes/even/static/lib/gitment/gitment-0.0.3.min.css delete mode 100644 themes/even/static/lib/gitment/gitment-0.0.3.min.js delete mode 100644 themes/even/static/lib/highlight/highlight.pack.js delete mode 100644 themes/even/static/lib/jquery/jquery-3.2.1.min.js delete mode 100644 themes/even/static/lib/slideout/slideout-1.0.1.min.js delete mode 100644 themes/even/static/lib/timeago/timeago-3.0.2.min.js delete mode 100644 themes/even/static/lib/timeago/timeago.locales-3.0.2.min.js delete mode 100644 themes/even/static/manifest.json delete mode 100644 themes/even/static/mstile-150x150.png delete mode 100644 themes/even/static/safari-pinned-tab.svg delete mode 100644 themes/even/static/sitemap.xsl delete mode 100644 themes/even/theme.toml create mode 160000 themes/hugo-bearblog diff --git a/.gitignore b/.gitignore index c75eecc..9c27e76 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,16 @@ -/public +# Generated files by hugo +/public/ +/resources/_gen/ +/assets/jsconfig.json +hugo_stats.json + +# Executable may be added to repository +hugo.exe +hugo.darwin +hugo.linux + +# Temporary lock file while building +/.hugo_build.lock + +*/.DS_Store +.DS_Store diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 0000000..c53b474 --- /dev/null +++ b/.gitmodules @@ -0,0 +1,3 @@ +[submodule "themes/hugo-bearblog"] + path = themes/hugo-bearblog + url = https://github.com/janraasch/hugo-bearblog.git diff --git a/archetypes/blog.md b/archetypes/blog.md new file mode 100644 index 0000000..e4594c6 --- /dev/null +++ b/archetypes/blog.md @@ -0,0 +1,13 @@ ++++ +title = "{{ replace .Name "-" " " | title }}" +date = "{{ .Date }}" + +# +# description is optional +# +# description = "An optional description for SEO. If not provided, an automatically created summary will be used." + +tags = [{{ range $plural, $terms := .Site.Taxonomies }}{{ range $term, $val := $terms }}"{{ printf "%s" $term }}",{{ end }}{{ end }}] ++++ + +This is a page about »{{ replace .Name "-" " " | title }}«. diff --git a/archetypes/default.md b/archetypes/default.md index 00e77bd..e8406b3 100644 --- a/archetypes/default.md +++ b/archetypes/default.md @@ -1,6 +1,22 @@ ---- -title: "{{ replace .Name "-" " " | title }}" -date: {{ .Date }} -draft: true ---- ++++ +title = "{{ replace .Name "-" " " | title }}" +date = "{{ .Date }}" +# +# Set menu to "main" to add this page to +# the main menu on top of the page +# +menu = "main" + +# +# description is optional +# +# description = "An optional description for SEO. If not provided, an automatically created summary will be used." + +# +# tags are optional +# +# tags = [{{ range $plural, $terms := .Site.Taxonomies }}{{ range $term, $val := $terms }}"{{ printf "%s" $term }}",{{ end }}{{ end }}] ++++ + +This is a page about »{{ replace .Name "-" " " | title }}«. diff --git a/config.toml b/config.toml index 8c0b813..bfc08c0 100644 --- a/config.toml +++ b/config.toml @@ -1,18 +1,25 @@ +# Base URL used when generating links to your pages +# Set to the URL for your site baseURL = "https://capotej.com/" -languageCode = "en" -defaultContentLanguage = "en" # en / zh-cn / ... (This field determines which i18n file to use) -title = "capotej.com" -enableRobotsTXT = true -enableEmoji = true -theme = "even" -preserveTaxonomyNames = true -hasCJKLanguage = false # has chinese/japanese/korean ? # 自动检测是否包含 中文\日文\韩文 -paginate = 9 # 首页每页显示的文章数 -disqusShortname = "" # disqus_shortname -googleAnalytics = "" # UA-XXXXXXXX-X -copyright = "" # default: author.name ↓ # 默认为下面配置的author.name ↓ +# The name of this wonderful theme ;-). +theme = 'hugo-bearblog' + +# Basic metadata configuration for your blog. +title = "@capotej" +author = "Julio Capote" +copyright = "Copyright © 2023, Julio Capote." +languageCode = "en-US" +# Generate a nice robots.txt for SEO +enableRobotsTXT = true + +# Generate "Bearblog"-like URLs !only!, see https://bearblog.dev/. +disableKinds = ["taxonomy"] +ignoreErrors = ["error-disable-taxonomy"] +[permalinks] + posts = "/blog/:year/:month/:day/:title/" + tags = "/blog/:slug" [mediaTypes] [mediaTypes."application/atom"] @@ -23,131 +30,32 @@ copyright = "" # default: author.name ↓ # 默认为下面配 baseName = "atom" isPlainText = false -[author] # essential # 必需 - name = "Julio Capote" - -[permalinks] - post = "/blog/:year/:month/:day/:title/" - -[sitemap] # essential # 必需 - changefreq = "weekly" - priority = 0.5 - filename = "sitemap.xml" - -[[menu.main]] # config your menu # 配置目录 - name = "Home" - weight = 10 - identifier = "home" - url = "/" -[[menu.main]] - name = "About" - weight = 20 - identifier = "about" - url = "/about/" -[[menu.main]] - name = "Projects" - weight = 30 - identifier = "projects" - url = "/projects/" -[[menu.main]] - name = "Archives" - weight = 40 - identifier = "archives" - url = "/post/" - [params] - version = "3.x" # Used to give a friendly message when you have an incompatible update - debug = false # If true, load `eruda.min.js`. See https://github.com/liriliri/eruda - - since = "2008" # Site creation time # 站点建立时间 - - # site info (optional) # 站点信息(可选,不需要的可以直接注释掉) - logoTitle = "@capotej" # default: the title value # 默认值: 上面设置的title值 - keywords = ["capotej"] - description = "Personal Blog of Julio Capote" - - # paginate of archives, tags and categories # 归档、标签、分类每页显示的文章数目,建议修改为一个较大的值 - archivePaginate = 25 - - # show 'xx Posts In Total' in archive page ? # 是否在归档页显示文章的总数 - showArchiveCount = false - - # The date format to use; for a list of valid formats, see https://gohugo.io/functions/format/ - dateFormatToUse = "01-02-2006" - - # show word count and read time ? # 是否显示字数统计与阅读时间 - moreMeta = false - - # 一些全局开关,你也可以在每一篇内容的 front matter 中针对单篇内容关闭或开启某些功能,在 archetypes/default.md 查看更多信息。 - # Some global options, you can also close or open something in front matter for a single post, see more information from `archetypes/default.md`. - toc = true # 是否开启目录 - autoCollapseToc = false # Auto expand and collapse toc # 目录自动展开/折叠 - fancybox = false # see https://github.com/fancyapps/fancybox # 是否启用fancybox(图片可点击) - mathjax = false # see https://www.mathjax.org/ # 是否使用mathjax(数学公式) - mathjaxEnableSingleDollar = false # 是否使用 $...$ 即可進行inline latex渲染 - mathjaxEnableAutoNumber = false # 是否使用公式自动编号 - - postMetaInFooter = false # contain author, lastMod, markdown link, license # 包含作者,上次修改时间,markdown链接,许可信息 - linkToMarkDown = false # Only effective when hugo will output .md files. # 链接到markdown原始文件(仅当允许hugo生成markdown文件时有效) - contentCopyright = '' # e.g. 'CC BY-NC-ND 4.0' - - changyanAppid = "" # Changyan app id # 畅言 - changyanAppkey = "" # Changyan app key - livereUID = "" # LiveRe UID # 来必力 - baidu_push = false # baidu push # 百度 - baidu_analytics = "" # Baidu Analytics - baidu_verification = "" # Baidu Verification - google_verification = "" # Google_Verification # 谷歌 - - # Link custom CSS and JS assets - # (relative to /static/css and /static/js respectively) - customCSS = ["logo.css"] - customJS = [] - - [params.publicCDN] # load these files from public cdn # 启用公共CDN,需自行定义 - enable = false - jquery = '' - slideout = '' - fancyboxJs = '' - fancyboxCss = '' - gitmentJS = '' - gitmentCSS = '' - gitalkJS = '' - gitalkCSS = '' - timeagoJS = '' - timeagoLocalesJS = '' - - # Display a message at the beginning of an article to warn the readers that it's content may be outdated. - # 在文章开头显示提示信息,提醒读者文章内容可能过时。 - [params.outdatedInfoWarning] - enable = false - hint = 30 # Display hint if the last modified time is more than these days ago. # 如果文章最后更新于这天数之前,显示提醒 - warn = 180 # Display warning if the last modified time is more than these days ago. # 如果文章最后更新于这天数之前,显示警告 - - [params.gitment] # Gitment is a comment system based on GitHub issues. see https://github.com/imsun/gitment - owner = "" # Your GitHub ID - repo = "" # The repo to store comments - clientId = "" # Your client ID - clientSecret = "" # Your client secret - - [params.gitalk] # Gitalk is a comment system based on GitHub issues. see https://github.com/gitalk/gitalk - owner = "" # Your GitHub ID - repo = "" # The repo to store comments - clientId = "" # Your client ID - clientSecret = "" # Your client secret - - [params.flowchartDiagrams]# see https://blog.olowolo.com/example-site/post/js-flowchart-diagrams/ - enable = false - options = "" - - [params.sequenceDiagrams] # see https://blog.olowolo.com/example-site/post/js-sequence-diagrams/ - enable = false - options = "" # default: "{theme: 'simple'}" - - [params.reward] # 文章打赏 - enable = false - wechat = "/path/to/your/wechat-qr-code.png" # 微信二维码 - alipay = "/path/to/your/alipay-qr-code.png" # 支付宝二维码 - -[outputs] - home = [ "HTML", "Atom" ] + # The "description" of your website. This is used in the meta data of your generated html. + description = "Personal Web Site of Julio Capote" + + # The path to your "favicon". This should be a square (at least 32px x 32px) png-file. + # Hint: It's good practise to also put a "favicon.ico"-file into your "static"-folder. + favicon = "images/favicon.png" + + # These "images" are used for the structured data templates. This will show up, when + # services like Twitter or Slack want to generate a preview of a link to your site. + # See https://gohugo.io/templates/internal#twitter-cards and + # https://gohugo.io/templates/internal#open-graph. + images = ["images/share.png"] + + # Another "title" :-). This one is used as the site_name on the Hugo's internal + # opengraph structured data template. + # See https://ogp.me/ and https://gohugo.io/templates/internal#open-graph. + title = "capotej.com" + + # This theme will, by default, inject a made-with-line at the bottom of the page. + # You can turn it off, but we would really appreciate if you don’t :-). + hideMadeWithLine = true + + # By default, this theme displays dates with a format like "02 Jan, 2006", but + # you can customize it by setting the `dateFormat` param in your site's config + # file. See [Hugo's Format function docs](https://gohugo.io/functions/format/) + # for details. An example TOML config that uses [ISO + # 8601](https://en.wikipedia.org/wiki/ISO_8601) format: + # dateFormat = "2006-01-02" diff --git a/content/about.md b/content/about.md index e05d8c9..c271660 100644 --- a/content/about.md +++ b/content/about.md @@ -1,11 +1,11 @@ ---- -type: page -title: "About" ---- ++++ +title = "About" +menu = "main" ++++ # About - +![](/img/avatar.jpeg) My name is Julio Capote and I love computers. diff --git a/content/blog/2008-10-11-tabbing-through-fields-vertically.markdown b/content/blog/2008-10-11-tabbing-through-fields-vertically.markdown new file mode 100644 index 0000000..c27c10b --- /dev/null +++ b/content/blog/2008-10-11-tabbing-through-fields-vertically.markdown @@ -0,0 +1,27 @@ +--- +title: "Tabbing through fields vertically" +date: 2008-10-11T01:54:00Z +comments: false +url: /post/54058512/tabbing-through-fields-vertically +tags: +--- + + + +Sometimes it’s useful to switch the browser’s default tabbing behavior (left to right) to the opposite (top to bottom) when your input fields are in a grid layout instead the of the usual single column layout. Having to do this manually is a real pain, especially for large grids; So here is a solution in javascript, using mootools: + + + +```javascript +window.addEvent('domready', function(){ + var trs = $$('#mytable tr') + var accum = 0 + trs.each(function(tr, trindex){ + accum = trindex + 1 + tr.getChildren().each(function(td, tdindex){ + td.getChildren('input')[0].tabIndex = accum + accum = accum + trs.length + }) + }) +}) +``` diff --git a/content/blog/2008-10-12-arrow-key-navigation-for-text-fields.markdown b/content/blog/2008-10-12-arrow-key-navigation-for-text-fields.markdown new file mode 100644 index 0000000..0f2df9e --- /dev/null +++ b/content/blog/2008-10-12-arrow-key-navigation-for-text-fields.markdown @@ -0,0 +1,77 @@ +--- +title: "Arrow key navigation for text fields" +date: 2008-10-12T17:41:00Z +comments: false +url: /post/54266325/arrow-key-navigation-for-text-fields +tags: +--- + + + +Here is a class for enabling the use of arrow keys to navigate through a grid of input fields: (using mootools) + + + + +```javascript +var FocusMover = new Class({ + + initialize: function(sel, col_num){ + + this.sel = sel + this.col_num = col_num + this.inputs = $$(this.sel) + this.current_focus = 0 + + var self = this + + this.inputs.each(function(item, index){ + item.addEvent('keydown',function(key){ + $try(function(){ + self[key.key]() + }) + }) + item.addEvent('focus',function(e){ + self.refresh(e) + }) + + item.set('myid', index) + }) + + this.inputs[0].focus() + + }, + + + refresh: function(e){ + this.current_focus = e.target.get('myid') + }, + + down: function(){ + i = parseInt(this.current_focus) + parseInt(this.col_num) + this.inputs[i].focus() + }, + + up: function(){ + i = parseInt(this.current_focus) - parseInt(this.col_num) + this.inputs[i].focus() + }, + + left: function(){ + i = parseInt(this.current_focus) - 1 + this.inputs[i].focus() + }, + + right: function(){ + i = parseInt(this.current_focus) + 1 + this.inputs[i].focus() + } + +}) +``` + +As you can see, the constructor takes two arguments: a selector (which should return a list of all your input fields), and the number of input field columns. So for a 4x2 table, you would set it up like this: + +```javascript +var FM = new FocusMover('#mytable input', 4) +``` diff --git a/content/blog/2008-10-28-so-you-want-to-click-that-button.markdown b/content/blog/2008-10-28-so-you-want-to-click-that-button.markdown new file mode 100644 index 0000000..ce810f9 --- /dev/null +++ b/content/blog/2008-10-28-so-you-want-to-click-that-button.markdown @@ -0,0 +1,58 @@ +--- +title: "So you want to click that button?" +date: 2008-10-28T21:05:00Z +comments: false +url: /post/56866975/so-you-want-to-click-that-button +tags: +--- + + + +I stumbled upon[http://clickthatbutton.com](http://clickthatbutton.com) during my routine lurking of[hacker news](http://news.ycombinator.com) . After being amused for about 10 seconds,  I decided to take it to the next level; I wanted to click on it really, really fast. After going through a few solutions (simple js while loop in firebug, then curl/wget) and failing, the idea of using selenium popped into my head. So I went off to their[site](http://selenium-ide.openqa.org/download.jsp) and installed the extension. I figured a simple recording of the mouse event, then wrapping it around a loop in selenium would do the trick, but I quickly found that selenium doesn’t support loops. Not to be stopped, I searched google and ended up with[this](http://51elliot.blogspot.com/2008/02/selenium-ide-goto.html) . After installing the plugin for selenium (a plugin for a plugin!?) and restarting firefox, I tried it again and to my surprise it worked! The click counter was going up steadily on its own (18k clicks and counting). Here is my selenium test case for those of you following along: + +```html + + + + + + +haha + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
haha
open/
storex1
whilestoredVars['x'] == storedVars['x']
clicksubmit
endWhile
+ + +``` + +Just paste that into a file, open it with selenium ide, hit play and you should be good to go. diff --git a/content/blog/2008-9-27-highlight-link-based-on-current-page-in-rails.markdown b/content/blog/2008-9-27-highlight-link-based-on-current-page-in-rails.markdown new file mode 100644 index 0000000..701b716 --- /dev/null +++ b/content/blog/2008-9-27-highlight-link-based-on-current-page-in-rails.markdown @@ -0,0 +1,30 @@ +--- +title: "Highlight link based on current page in rails" +date: 2008-09-27T19:47:00Z +comments: false +url: /post/52081481/highlight-link-based-on-current-page-in-rails +tags: +--- + + + +This is common pattern in website navigation, where it highlights the link (usually by setting `class=”active”`) that took you to the current page while you are on that page. + +First, define a helper: + +```ruby +def is_active?(page_name) + "active" if params[:action] == page_name +end + +``` + +Then call it in your link_to’s in your layout as such: + +```ruby +link_to 'Home', '/', :class => is_active?("index") +link_to 'About', '/about', :class => is_active?("about") +link_to 'contact', '/contact', :class => is_active?("contact") +``` + +This effect is achieved due to how link_to handles being passed `nil` for its `:class`, so when `is_active?` returns `nil` (because its not the current page), `link_to` outputs nothing as its class (not `class=””` as you might expect). diff --git a/content/blog/2008-9-30-why-mootools-or-why-not-jquery.markdown b/content/blog/2008-9-30-why-mootools-or-why-not-jquery.markdown new file mode 100644 index 0000000..734f569 --- /dev/null +++ b/content/blog/2008-9-30-why-mootools-or-why-not-jquery.markdown @@ -0,0 +1,34 @@ +--- +title: "Why MooTools (or Why not JQuery)" +date: 2008-09-30T10:26:00Z +comments: false +url: /post/52467447/why-mootools-or-why-not-jquery +tags: +--- + +##UPDATE 2012: this post is dumb and angsty, dont read + +I’ve been toying around with MooTools a bit lately, and I’ve found the experience quite enjoyable and refreshing. Naturally, I [twittered](http://twitter.com/capotej/statuses/939831956) about it and went along my merry way. Moments later (and much to my surprise), I had a direct message from John Resig himself asking “Why, what’s wrong with jQuery?”. I was pretty taken aback that he would take time from his surely busy day to message a total stranger in an effort to improve his project or at least gain an insight in the everyday life of a js developer (it’s not like DHH would personally message people that are dumping rails to use merb). I figured he deserved a straight, honest answer; One that at least would be longer than [140 characters](http://twitter.com/capotej/statuses/940082809) (even though I managed to use every single one). So it begs the question, Why MooTools? + +* Class support. JQuery’s SQL-like syntax is fine for quick and dirty javascripting, but eventually you’ll want real classes to structure your UI logic. + +* It smells, feels and tastes like regular javascript. JQuery doesn’t even look like javascript, which isn’t necessarily a bad thing, since that’s kind of their goal. MooTools however, feels like just an extension of the language + +* Faster. [‘Nuff Said](http://mootools.net/slickspeed/) EDIT: This was pointed out to be false; It is only faster in certain cases (such as mine, WebKit nightly on OS X). + +* Robert Penner’s easing equations baked right in.This could just be me, but I find the animations that mootools creates are alot smoother than JQuery’s (especially the easing). + +* Creating new DOM elements is a snap.Need to create a dom element? `var el = new Element(‘a’, { ‘href’: ‘juliocapote.com’});` Done. + +* Modular. I like that I can just build and pull down a moo.js that only contains the functionality I need. + +* Better Documented.Or at least, its faster to find what you need. + +* Easier to hack on and extend. While I haven’t personally delved into the internals of either system, the consensus seems to be that jquery is an unintelligible mess when it comes to modifying how it works. + +* Prototype Approach (versus a namespaced approach) This is really just matter of preference; MooTools achieves it’s magic by just extending the prototypes of common objects (Array, String, etc); While this is obstrusive, it makes for shorter, more natural code. JQuery does its thing via a main object (which you can name, hence the namespace), that you wrap around whatever you want to make magical; This is unobstrusive, but you pay for that by having to wrap anything you want to use (which ends up being everything). It basically boils down to arr.each(fn) vs $.each(arr, fn) + +* It’s not a revolution. It feels as if JQuery is trying to take on the world (it seems like it too, since its now included with visual studio and the nokia sdk). However, I’m not; I’m just trying to write some javascript here. + + +It’s not like I’m never going to use JQuery again; It simply isn’t my default js framework any longer. diff --git a/content/blog/2009-1-1-useful-rails-routing-tips.markdown b/content/blog/2009-1-1-useful-rails-routing-tips.markdown new file mode 100644 index 0000000..5d8d624 --- /dev/null +++ b/content/blog/2009-1-1-useful-rails-routing-tips.markdown @@ -0,0 +1,74 @@ +--- +title: "Useful Rails Routing tips" +date: 2009-01-02T15:50:00Z +comments: false +url: /post/67873462/useful-rails-routing-tips +tags: +--- + + + +Even though I have been using Rails for fun and profit for about 2 years now, I felt I never really used it’s routing engine to its full potential. So I checked out new [Rails Routing from the outside in](http://guides.rubyonrails.org/routing_outside_in.html) guide and discovered bunch of useful tricks that I (and maybe you) had no idea you could do. Here they are: + +### Multiple resource definitions on a single line + +```ruby +map.resources :photos, :books, :videos +``` + +### Impose a certain format for resource identifiers + +```ruby +map.resources :photos, :requirements => { :id => /[A-Z][A-Z][0-9]+/ } +``` + +This way, `/photos/3` would not work, but `/photos/DA321` would. + +### Friendlier action names + +Say for your application ‘create’ and ‘change’ make more sense than the default ‘new’ and ‘edit’ you can do + +```ruby +map.resources :photos, :path_names => { :new => 'make', :edit => 'change' } +``` + +You can also do this site-wide also, in your environment.rb + +```ruby +config.action_controller.resources_path_names = { :new => 'make', :edit => 'change' } +``` + +### Trim the fat off resources with :only and :except + + +When you use map.resources, rails generates 7 restful routes for that resource; But what if that resource only needed to be seen and listed, never edited or created? + +```ruby +map.resources :photos, :only => [:index, :show] +``` + +If your application uses a lot of `map.resources` calls but not neccesarily all its generated routes, you can save memory this way. + +### Adding extra routes to your resources + +Instead of fighting the `map.resources` generator by placing a horror like this atop your routes.rb + +```ruby +map.connect '/photos/:id/preview', { :controller => 'photos', :action => 'preview' } +``` + +You can do this to your already mapped resource + +```ruby +map.resources :photos, :member => { :preview => :get } +``` + +This will map all GET’s to `/photos/3` to the preview action of your photos controller + +This can also be  used in collections instead of singular members, just change `:member` to `:collection` + +```ruby +map.resources :photos, :collection => { :search => :get } +``` + +This will give you `/photos/search` and hit the search action within the photos controller diff --git a/content/blog/2009-7-19-using-rack-applications-inside-gwt-hosted-mode.markdown b/content/blog/2009-7-19-using-rack-applications-inside-gwt-hosted-mode.markdown new file mode 100644 index 0000000..746e463 --- /dev/null +++ b/content/blog/2009-7-19-using-rack-applications-inside-gwt-hosted-mode.markdown @@ -0,0 +1,116 @@ +--- +title: "Using Rack applications inside GWT Hosted mode" +date: 2009-07-19T18:51:00Z +comments: false +url: /post/145035194/using-rack-applications-inside-gwt-hosted-mode +tags: +--- + + + +This guide will show you how you can use JRuby to run any Rack application inside Google Web Toolkit’s (GWT) hosted mode server so your interface and your backend are of the Same Origin. + +BackgroundGWT has two ways of interacting with a server: GWT Remote Procedure Call (RPC) and plain HTTP (XHR). GWT-RPC is a high level library designed for interacting with server-side Java code. GWT-RPC implements the GWT Remote Service interface allowing you to call those methods from the user interface. Essentially, GWT handles the dirty work for you. However, it only works on Java backends that can implement that interface. Since most of my backends are Sinatra/Rack applications, I’ll be using the plain HTTP library. + +The problemDue to the restriction of the [Same Origin](http://en.wikipedia.org/wiki/Same_origin_policy) policy, the interface served out of GWT’s development, or Hosted Mode server can only make requests back to itself. If you were using real servlets or GWT’s RemoteService this wouldn’t be an issue; but since Rack applications listen on their own port, you cannot make requests from GWT to our application without resorting to something like JSONP or server-side proxying. This leaves you having to compile our interface to HTML/JS/CSS, which is lengthy process, and serve it from the origin of the Rack application to see our changes. + +The solutionSince I wanted to develop using GWT’s development environment with a Rack backend, I devised a way to use jruby-rack to load arbitrary Rack applications alongside our interface. + +First let’s setup our environment: + +###Download and unpack the latest GWT for your platform (mine’s being linux) + +```sh +wget http://google-web-toolkit.googlecode.com/files/gwt-linux-1.7.0.tar.bz2 +tar -xvjpf gwt-linux-1.7.0.tar.bz2cd gwt-linux-1.7.0 +``` + +###Download the latest jruby-complete.jar + +```sh +wget http://repository.codehaus.org/org/jruby/jruby-complete/1.3.1/jruby-complete-1.3.1.jar +mv jruby-complete-1.3.1.jar jruby-complete.jar +``` + +###Download the latest jruby-rack.jar + +```sh +wget http://repository.codehaus.org/org/jruby/rack/jruby-rack/0.9.4/jruby-rack-0.9.4.jar +mv jruby-rack-0.9.4.jar jruby-rack.jar +``` + +###Create an app with webAppCreator +```sh +./webAppCreator -out MySinatra com.example.MySinatra +cd MySinatra +``` + + +###Package gem dependencies +In order for this to work you have to package any gem dependencies your backend needs (sinatra, in our case) as jars within your application. For Sinatra it looks like this: + +```sh +java -jar jruby-complete.jar -S gem install -i ./sinatra sinatra --no-rdoc --no-ri +jar cf sinatra.jar -C sinatra . +``` + +###Add jruby-complete.jar, jruby-rack.jar, sinatra.jar (and any other jars you’ve created) to the libs target of your build.xml + +```xml + + + + + + + + +``` + +###Add these lines right after in war/WEB-INF/web.xml +```xml + + rackup + + require 'rubygems' + require './lib/sinatra_app' + map '/api' do + run MyApp  + end + + + + RackFilter + org.jruby.rack.RackFilter + + + RackFilter + /api/* + + + org.jruby.rack.RackServletContextListener + +``` + +Note: All you’re doing here is passing the contents of a config.ru file into the `` element for the `` (make sure this is HTML encoded!). This states that any request to /api is to be handled by your Sinatra application and not GWT’s Hosted mode servlet. + +###Create your Sinatra backend and place it in war/WEB-INF/lib/sinatra_app.rb + +```ruby +require 'sinatra' +require 'open-uri' +class MyApp < Sinatra::Base + get '/showpage' do + open('http://www.yahoo.com').read + end + + get '/helloworld' do + 'hello world' + end +end +``` + +###Run your new awesome setup +`ant hosted` + +Now when navigate to [http://localhost:8888/api/helloworld](http://localhost:8888/api/helloworld) or [http://localhost:8888/api/showpage](http://localhost:8888/api/showpage) you should see the Sinatra application being served via GWT. diff --git a/content/blog/2010-12-31-what-i-released-in-2010.markdown b/content/blog/2010-12-31-what-i-released-in-2010.markdown new file mode 100644 index 0000000..97b787c --- /dev/null +++ b/content/blog/2010-12-31-what-i-released-in-2010.markdown @@ -0,0 +1,39 @@ +--- +title: "What I released in 2010" +date: 2010-12-31T13:29:00Z +comments: false +url: /post/2546786852/what-i-released-in-2010 +tags: +--- + +Here’s a recap of what I’ve worked on and released in 2010: + + + +###[Youtube Fraiche](https://github.com/capotej/youtube_fraiche) + +I couldn’t find a youtube downloader that worked on github, so I wrote my own one evening + +###[Uploadd](https://github.com/capotej/uploadd) and [paperclip_uploadd](https://github.com/capotej/paperclip_uploadd) +I wanted to upload and store images off-site (using paperclip/rails) on an server which has cheaper bandwidth rates than S3. Using rainbows, this tiny rack script has handled over a 1.5 million uploads at a peak of 10-15 uploads/sec. Also, it’s been running for about 6 months now without a single crash. Thank you Eric Wong! +There is also a plugin for the popular paperclip gem to use uploadd as a storage backend transparently. + +###[mrskinner](https://github.com/capotej/mrskinner/blob/master/mrskinner.js) + +Tiny javascript for making the site gutters clickable based on a fixed width layout + +###[existential](https://github.com/capotej/existential) + +Completely inspired by Nick Kallen’s [post](http://pivotallabs.com/users/nick/blog/articles/272-access-control-permissions-in-rails) on authorization, I wanted to extract that pattern into a rails plugin that I could use for all my projects. I use devise/existential for all my projects now. + +###[has_opengraph](https://github.com/capotej/has_opengraph) + +Easy way to participate in opengraph and draw facebook like buttons. Just annotate your models with meta data, and draw it in your view easily. + +###[chewbacca](https://github.com/capotej/chewbacca) + +I kinda feel bad that I took a cool name for such a lame script. Anyway it’s a set of rake tasks that provide a hair of abstraction above scp. Useful when you have a set of files locally that map to a different set of files remotely. + + + +I already have tons of stuff in the works for 2011! diff --git a/content/blog/2011-1-3-migrationfor-write-migrations-right-from-the-command.markdown b/content/blog/2011-1-3-migrationfor-write-migrations-right-from-the-command.markdown new file mode 100644 index 0000000..b315109 --- /dev/null +++ b/content/blog/2011-1-3-migrationfor-write-migrations-right-from-the-command.markdown @@ -0,0 +1,67 @@ +--- +title: "MigrationFor: Write migrations right from the command line!" +date: 2011-01-03T09:48:00Z +comments: false +url: /post/2583891119/migrationfor-write-migrations-right-from-the-command +tags: +--- + + + +As someone who mostly stays in the rails console, I’ve always hated forgetting a field, creating a migration, finding it among your other 500 migration files, then adding the one line you need to add, then running it. This is probably the most annoying part of the Rails experience. I’ve always wanted to write a better migration generator that could take a list of commands/fields and write the migration for you, since most of the time what you name a migration has all the info it needs (add_index_to_post_id). Thanks to the heavily refactored plugin/generator API in Rails 3, I was able to do just that. + +Let’s take a look at how it works: + +First, install it (only works for Rails 3) + +`rails plugin install git://github.com/capotej/migration_for.git` + +Then, you can create migrations like so: + +`rails g migration_for add_index:posts:posts_id` + +It would generate db/migrate/20110103182654_add_index_posts_posts_id.rb): + +```ruby +class AddIndexPostsPostsId < ActiveRecord::Migration + + def self.up + add_index 'posts','posts_id' + end + + def self.down + #waiting for reversible migrations in rails 3.1! + end + +end +``` + +Which you can then run normally with `rake db:migrate` + +Let’s look at a more complex example: + +`$ rails g migration_for create_table:posts add_column:posts:title:string add_column:posts:user_id:integer +` + +Would generate: + +```ruby +class CreateTablePostsaddColumnPostsTitleStringaddColumnPostsUserIdIntegeraddIndexPostsUserId < ActiveRecord::Migration + + def self.up + create_table 'posts' + add_column 'posts','title','string' + add_column 'posts','user_id','integer' + add_index 'posts','user_id' + end + + def self.down + #waiting for reversible migrations in rails 3.1! + end + +end +``` + +It uses a lookup table with all the [activerecord transformations](http://api.rubyonrails.org/classes/ActiveRecord/Migration.html) and will only insert an expression into a migration if the method name is valid and it has the right number of arguments, so botched commands wont mess up the migration. Hope you enjoy it as much as I have! + +Source available here: [https://github.com/capotej/migration_for](https://github.com/capotej/migration_for) diff --git a/content/blog/2011-9-13-render-image-links-directly-inside-adium.markdown b/content/blog/2011-9-13-render-image-links-directly-inside-adium.markdown new file mode 100644 index 0000000..c388e31 --- /dev/null +++ b/content/blog/2011-9-13-render-image-links-directly-inside-adium.markdown @@ -0,0 +1,23 @@ +--- +title: "Render image links directly inside Adium" +date: 2011-09-13T08:59:00Z +comments: false +url: /render-image-links-directly-inside-adium +tags: +--- + + + +Last night I delightfully discovered that Adium Message Styles are just html, css, and javascript rendered inside a webview. The next natural step was to write something in it, so I wrote a Message Style that tries to render any image link directly inline the conversation (campfire style). + +![](/images/blog/adium1.png) + +The code was written at midnight after a long day, so its not best. Basically, it's a setInterval that runs every 2.5 seconds that loops through all message elements, appending an img tag to the body of the message if an image link is detected. It also removes the processing class as to not reprocess the same messages. + +Installation is simple, just download:  + +[http://dl.dropbox.com/u/42561/Stockholm.AdiumMessageStyle.zip](http://dl.dropbox.com/u/42561/Stockholm.AdiumMessageStyle.zip) + +and extract into ~/Library/Adium 2.0/Message Styles (create if necessary). Then choose the TOP Stockholm theme (no idea why there are two entries), and close your chat window. It should be activated next time a chat window opens. + +![](/images/blog/adium2.png) diff --git a/content/blog/2012-1-25-finagle-with-scala-bootstrapper.markdown b/content/blog/2012-1-25-finagle-with-scala-bootstrapper.markdown new file mode 100644 index 0000000..7a5910d --- /dev/null +++ b/content/blog/2012-1-25-finagle-with-scala-bootstrapper.markdown @@ -0,0 +1,132 @@ +--- +title: "Finagle with scala-bootstrapper" +date: 2012-01-25T09:45:00Z +comments: false +url: /finagle-with-scala-bootstrapper +tags: ["scala"] +--- + + + +I've been fascinated by the concepts in [finagle](http://twitter.github.com/finagle/) for some time, but being a scala noob, I never knew how to bootstrap a finagle project. Turns out twitter has a gem, [scala-bootstrapper](https://github.com/twitter/scala-bootstrapper), that generates a simple thirft based key/value store for you. There's even a[tutorial](http://twitter.github.com/scala_school/searchbird.html)  on how to extend the example project into a distributed search service. + +This is a guide on setting it all up locally, it assumes you have Git, Homebrew, and OS X. + +### Install scala 2.8.1 + +```sh +$ brew versions scala +$ cd/usr/local/(or wherever you have homebrew installed) +$ git checkout -b scala281 0e16b9d(make sure the SHA matches versions output) +$ brew install scala +$ git checkout master$git branch -D scala281 +``` + +### Install sbt 0.7.4 (assumes you have a ~/bin in your $PATH) + +```sh +$ curl -O http://simple-build-tool.googlecode.com/files/sbt-launch-0.7.4.jar > ~/bin/sbt-launch.jar +$ echo 'java -Xmx1G -jar `dirname $0`/sbt-launch.jar "$@"'> ~/bin/sbt +``` + +### Install scala-bootstrapper + +```sh +$ gem install scala-bootstrapper +``` + +### Generate finagle project** + +```sh +$ mkdir newbird +$ cd newbird +$ scala-bootstrapper newbird +$ sbt update +$ sbt test +``` + +### Add a Client class + +create newbird/src/main/scala/com/twitter/newbird/Client.scala with + +```scala +package com.twitter.newbird + +import com.twitter.finagle.builder.ClientBuilder +import com.twitter.finagle.thrift.ThriftClientFramedCodec +import com.twitter.newbird.thrift._ +import org.apache.thrift.protocol.TBinaryProtocol + +import java.net.InetSocketAddress + +class Client {   + + val service = ClientBuilder().hosts(Seq(newInetSocketAddress("localhost",9999))) + .codec(ThriftClientFramedCodec())     + .hostConnectionLimit(1)     + .build()   + val client = new NewbirdServiceClientAdapter( + new thrift.NewbirdService.ServiceToClient(service,newTBinaryProtocol.Factory))   + + def get(key:String) = client.get(key)()   + def put(key:String, value:String) = client.put(key,value)() + +} + +``` + +### Running the server + +```sh +$ cd newbird +$ sbt> run -f config/development.scala + +``` + +### Playing with the client + + +```sh +$ cd newbird +$ sbt console +scala> import com.twitter.newbird.Client +scala> val client = new Client() +scala> client.put("foo","bar") +scala> client.get("foo") +``` + +### Bonus + +finagle exports a stats url you can curl: + +```sh +$ curl http://localhost:9900/stats.txt +counters:  Newbird/connects: 1   +Newbird/requests: 4   +Newbird/success: 4 +gauges:   + Newbird/connections: 0   + Newbird/pending: 0   + jvm_heap_committed: 588251136   + jvm_heap_max: 2146828288   + jvm_heap_used: 64354560   + jvm_nonheap_committed: 83267584   + jvm_nonheap_max: 318767104   + jvm_nonheap_used: 68655360   + jvm_num_cpus: 4   + jvm_start_time: 1327511164928   + jvm_thread_count: 14   + jvm_thread_daemon_count: 9   + jvm_thread_peak_count: 14   + jvm_uptime: 2626505 +labels: + metrics:   + Newbird/connection_duration: (average=2590412, count=1, maximum=2590412, minimum=2590412, p25=2590412, p50=2590412, p75=2590412, p90=2590412, p99=2590412, p999=2590412, p9999=2590412)   + Newbird/connection_received_bytes: (average=192, count=1, maximum=192, minimum=192, p25=192, p50=192, p75=192, p90=192, p99=192, p999=192, p9999=192)   + Newbird/connection_requests: (average=4, count=1, maximum=4, minimum=4, p25=4, p50=4, p75=4, p90=4, p99=4, p999=4, p9999=4)   + Newbird/connection_sent_bytes: (average=120, count=1, maximum=120, minimum=120, p25=120, p50=120, p75=120, p90=120, p99=120, p999=120, p9999=120)   + Newbird/request_latency_ms: (average=14, count=4, maximum=39, minimum=2, p25=2, p50=8, p75=10, p90=39, p99=39, p999=39, p9999=39) +``` +  + +  diff --git a/content/blog/2012-1-9-alfred-extension-for-creating-wunderlist-task.markdown b/content/blog/2012-1-9-alfred-extension-for-creating-wunderlist-task.markdown new file mode 100644 index 0000000..e9af9b3 --- /dev/null +++ b/content/blog/2012-1-9-alfred-extension-for-creating-wunderlist-task.markdown @@ -0,0 +1,25 @@ +--- +title: "Alfred Extension for creating Wunderlist tasks" +date: 2012-01-09T23:36:00Z +comments: false +url: /alfred-extension-for-creating-wunderlist-task +tags: +--- + + + +While looking for a way to add wunderlist tasks via alfred, I came upon [wunderlist-for-alfred](http://jdfwarrior.tumblr.com/post/13163220116/wunderlist-for-alfred) + +Looked cool, but I wanted to write my own that didn't depend on php. + +I used ```lsof``` to figure out the location of the db, then used ```file``` to see what kind of db it was. Luckily, it was sqlite3, so I was able to poke around and figure out the sql to create a task. + +Here's the alfred extenstion that ties it all together: + +```sh +user=`whoami` +wunderdb="/Users/$user/Library/Wunderlist/wunderlist.db" +sqlite3 $wunderdb "insert into tasks (name, list_id) values ('{query}', 1)" +``` + +Download it [here](http://dl.dropbox.com/u/42561/wunderlist-capotej.alfredextension) diff --git a/content/blog/2012-10-07-an-embedded-key-value-store-for-shell-scripts.markdown b/content/blog/2012-10-07-an-embedded-key-value-store-for-shell-scripts.markdown new file mode 100644 index 0000000..99180b3 --- /dev/null +++ b/content/blog/2012-10-07-an-embedded-key-value-store-for-shell-scripts.markdown @@ -0,0 +1,76 @@ +--- +title: "An Embedded Key/Value Store for Shell Scripts" +date: 2012-10-07T10:06:00Z +comments: true +tags: ['shell scripting', 'databases'] +--- + +UPDATE: this is now available as a [sub](http://github.com/37signals/sub) command, here: [kiev](http://github.com/capotej/kiev) + +Cooked this up last night when I needed a simple key/value store for use in a shell script: + + + +```sh db.sh +#!/bin/sh + +DBFILE=example.db + +put(){ + echo "export kv_$1=$2" >> $DBFILE +} + +del(){ + echo "unset kv_$1" >> $DBFILE +} + +get(){ + source $DBFILE + eval r=\$$(echo "kv_$1") + echo $r +} + +list(){ + source $DBFILE + for i in $(env | grep "kv_" | cut -d= -f1 ); do + eval r=\$$i; echo $(echo $i | sed -e 's/kv_//') $r; + done +} + +## cmd dispatch + +if [ ${1:-0} == "set" ]; then + put $2 $3 +elif [ ${1:-0} == "get" ] ; then + get $2 +elif [ ${1:-0} == "list" ] ; then + list +elif [ ${1:-0} == "del" ] ; then + del $2 +else + echo "unknown cmd" +fi +``` + +Use it like so: + + +`$ ./db.sh set foo bar` + +`$ ./db.sh get foo` + +`$ ./db.sh set foo baz` + +`$ ./db.sh get foo` + +`$ ./db.sh del foo` + +`$ ./db.sh list` + + +## How it works + +Every time you update/set/delete a value, it writes a shell expression to an append-only log, +exporting a shell variable (key) with that value. By sourcing the file every time we read a value, we +replay the log, bringing our environment to a consistent state. Then, reading the value is just looking +up that dynamic variable (key) in our shell environment. diff --git a/content/blog/2012-10-11-riak-at-posterous.markdown b/content/blog/2012-10-11-riak-at-posterous.markdown new file mode 100644 index 0000000..3aed29a --- /dev/null +++ b/content/blog/2012-10-11-riak-at-posterous.markdown @@ -0,0 +1,13 @@ +--- +title: "Riak at Posterous" +date: 2012-10-11T13:47:00Z +comments: true +tags: ['riak', 'posterous', 'presentation'] +--- + +A few months ago, I gave a presentation on how Posterous uses Riak for it's post cache; At [#ricon2012](http://basho.com/community/ricon2012/) +I ended up retelling this story to numerous people, so I thought I'd post the slides and video here. + + + + diff --git a/content/blog/2012-11-01-base-a-scala-project-generator.markdown b/content/blog/2012-11-01-base-a-scala-project-generator.markdown new file mode 100644 index 0000000..da4bab7 --- /dev/null +++ b/content/blog/2012-11-01-base-a-scala-project-generator.markdown @@ -0,0 +1,40 @@ +--- +title: "Base: A Scala Project Generator" +date: 2012-11-01T14:39:00Z +comments: true +tags: ["efficiency", "scala", "shell scripting"] +--- + +Finally got tired of copy pasting other projects and gutting them to make new ones, so I created [base](http://github.com/capotej/base), a shell command that creates new scala projects. + + + +Creating the project: + +```sh +$ base new com.capotej.newproj +creating project: newproj + creating App.scala + creating AppSpec.scala + creating pom.xml + creating .gitignore + creating .travis.yml + creating LICENSE + creating README.markdown +Done! run mvn scala:run to run your projec +``` + +Based on the package name, it infered that the project name is ```newproj``` and created the project under that folder. Let's build and run it: + +```sh +$ cd newproj +$ mvn compile scala:run +(... maven output ...) +hello world +``` + +This uses the new incremental compiler for maven, [zinc](http://github.com/typesafehub/zinc), which dramatically speeds up compile times (except for the first time you run it). It also sets you up with the latest scalatest maven plugin, which gives you sweet looking test output, like so: + +![](https://i.imgur.com/qyyem.png) + +See the base [README](http://github.com/capotej/base#readme) for installation instructions. diff --git a/content/blog/2012-11-07-announcing-finatra-1-0-0.markdown b/content/blog/2012-11-07-announcing-finatra-1-0-0.markdown new file mode 100644 index 0000000..296cd45 --- /dev/null +++ b/content/blog/2012-11-07-announcing-finatra-1-0-0.markdown @@ -0,0 +1,73 @@ +--- +title: "Announcing Finatra 1.0.0" +date: 2012-11-07T21:20:00Z +comments: true +tags: ["finatra", "scala"] +--- + +After months of work [Finatra](https://github.com/capotej/finatra#readme) 1.0.0 is finally available! Finatra is a scala web framework inspired by [Sinatra](https://github.com/sinatra/sinatra#readme) built on top of [Finagle](http://twitter.github.com/finagle). + + + +### The API + +The API looks like what you'd expect, here's a simple endpoint that uses route parameters: + +```scala +get("/user/:username") { request => + val username = request.routeParams.getOrElse("username", "default_user") + render.plain("hello " + username).toFuture +} +``` + +The ```toFuture``` call means that the response is actually a [Future](http://twitter.github.com/scala_school/finagle.html#Future), a powerful concurrency abstraction worth checking out. + +Testing it is just as easy: + +```scala +"GET /user/foo" should "responsd with hello foo" in { + get("/user/foo") + response.body should equal ("hello foo") +} +``` + +### A super quick demo + +```sh +$ git clone https://github.com/capotej/finatra.git +$ cd finatra +$ ./finatra new com.example.myapp /tmp +``` + +Now you have an ```/tmp/myapp``` you can use: + +```sh + +$ cd /tmp/myapp +$ mvn scala:run +``` + +A simple app should've started up locally on port 7070, verify with: + +```sh +$ curl http://locahost:7070 +hello world +``` + +You can see the rest of the endpoints at ```/tmp/myapp/src/main/scala/com/example/myapp/App.scala``` + +### Heroku integration + +The generated apps work in heroku out of the box: + +```sh +$ heroku create +$ git init +$ git add . +$ git commit -am 'stuff' +$ git push heroku master +``` + +Make sure to see the full details in the [README](https://github.com/capotej/finatra#readme) and check out the [example app](https://github.com/capotej/finatra-example). + +Props to [@twoism](http://twitter.com/twoism) and [@thisisfranklin](http://twitter.com/thisisfranklin) for their code, feedback and moral support. diff --git a/content/blog/2012-11-13-automatic-high-quality-releases.markdown b/content/blog/2012-11-13-automatic-high-quality-releases.markdown new file mode 100644 index 0000000..ed62c90 --- /dev/null +++ b/content/blog/2012-11-13-automatic-high-quality-releases.markdown @@ -0,0 +1,117 @@ +--- +title: "Automatic High Quality Releases" +date: 2012-11-13T21:31:00Z +comments: true +tags: ["shell scripting", "finatra"] +--- + +Recently, I invested some time into automating some of the work that goes into a [Finatra](http://github.com/capotej/finatra#readme) release. + + + +The work consists of updating: + +* The version in the XML fragment of the main [README.markdown](https://github.com/finatra/https://github.com/capotej/finatra/blob/master/README.markdown) + +* The version in the [pom.xml](https://github.com/capotej/finatra-example/blob/master/pom.xml) of the [example app](http://github.com/capotej/finatra-example) + +* Any API changes in the [example app](http://github.com/capotej/finatra-example) + +* The version in the template pom.xml of the app generator + +* The generated unit test of the app generator that demonstrates testing any new API features + +* Any API changes inside the app template of the app generator + +Using [sub](https://github.com/37signals/sub#readme), I was able to create a `finatra` [command](https://github.com/capotej/finatra/tree/master/script/finatra) that automated all of the above based on a single template, which also happens to be the [main unit test](https://github.com/capotej/finatra/blob/master/src/test/scala/com/twitter/finatra/ExampleSpec.scala). This ensures that the README, the example app, and the app generator never fall out of sync with the frameworks API. + + +Last week we released [1.1.0](https://github.com/capotej/finatra/commit/37c81957271dde77d4c3f6361bbae705a5142c89), and the README was [completely generated](https://github.com/capotej/finatra/commit/913d0ed5bfa18c903feb5779d4d8b9d87703b6c5), as was the [example app](https://github.com/capotej/finatra-example/commit/dbc82908360f3cb4cfc4388c28f593f17258fab2). Not to mention, all generated apps would also contain the latest templates and examples! + +![](https://i0.kym-cdn.com/photos/images/original/000/021/073/1254172884282.jpg?1254173845) + +Let's dive into how it all works: + +## The source of truth + +I annotated our main unit test with special tokens, like so: + +```scala ExampleAppSpec.scala +class ExampleSpec extends SpecHelper { + + /* ###BEGIN_APP### */ + + class ExampleApp extends Controller { + + /** + * Basic Example + * + * curl http://localhost:7070/hello => "hello world" + */ + get("/") { request => + render.plain("hello world").toFuture + } + + } + + val app = new ExampleApp + + /* ###END_APP### */ + + + /* ###BEGIN_SPEC### */ + + "GET /hello" should "respond with hello world" in { + get("/") + response.body should equal ("hello world") + } + + /* ###END_SPEC### */ +} +``` + +Using the special `/* ### */` comments, the main app and its test can be extracted from the code of our test. + +## The app generator + +Now that we have our "template", we can build our app generator to use it. I customized [base](http://capotej.com/blog/2012/11/01/base-a-scala-project-generator/) and ended up with: [script/finatra/libexec/finatra-new](https://github.com/capotej/finatra/blob/master/script/finatra/libexec/finatra-new) + +You can then run: + +```sh +$ ./finatra new com.example.myapp +``` + +and it will generate ```myapp/``` based on the tested example code from the test suite above. + +## The example app + +The [example app](https://github.com/capotej/finatra-example#readme) is just a generated app using the latest app generator: + +```sh + +#!/bin/bash +# Usage: finatra update-example +# Summary: generates the example app from the template + +set -e + +source $_FINATRA_ROOT/lib/base.sh + +tmpdir=$(mktemp -d /tmp/finatra_example.XXX) + +$_FINATRA_ROOT/bin/finatra new com.twitter.finatra_example $tmpdir + +cp -Rv $tmpdir/finatra_example/ $EXAMPLE_REPO + +rm -rf $tmpdir + +cd $EXAMPLE_REPO && mvn test + +``` + +This also tests the app generator and the generated app! + +## Updating the README + +Lastly, there's a [command](https://github.com/capotej/finatra/blob/master/script/finatra/libexec/finatra-update-readme) for updating the README with the new example and version number. diff --git a/content/blog/2013-07-28-playing-with-groupcache.markdown b/content/blog/2013-07-28-playing-with-groupcache.markdown new file mode 100644 index 0000000..6cb7102 --- /dev/null +++ b/content/blog/2013-07-28-playing-with-groupcache.markdown @@ -0,0 +1,85 @@ +--- +title: "Playing with groupcache" +date: 2013-07-28T14:49:00Z +comments: true +tags: ["go", "databases", "distributed computing"] +--- + +This week, [@bradfitz](http://twitter.com/bradfitz) (of memcached fame) released [groupcache](http://github.com/golang/groupcache) at OSCON 2013. I'm already a big fan of [memcached](http://memcached) and [camlistore](http://camlistore.org), so I couldn't wait to download it and kick the tires. + + + +By the way, I **strongly** recommend you go through the [slides](http://talks.golang.org/2013/oscon-dl.slide#1) and [README](http://github.com/golang/groupcache) before going further. + +## What groupcache is not +After downloading it (without reading the [slides](http://talks.golang.org/2013/oscon-dl.slide#1)), I instinctively searched around for how to actually start the server(s), only to find nothing. Turns out, groupcache is more of a _library_ with a server built in, rather than a traditional standalone server. Another important consideration is that theres **no support for set/update/evict operations**, all you get is GET. Really fast, consistent, distributed GET's. + +## What it is +Once you realize that groupcache is more of a **smart, distributed LRU cache**, rather than an outright memcached replacement, it all makes much more sense. Especially considering what it was built for, caching immutable file blobs for [dl.google.com](http://dl.google.com). + +## How to use it +For groupcache to work, you have to give it a closure in which: given a ```key```, fill up this ```dest``` buffer with the bytes for the value of that key, from however you store them. This could be hitting a database, a network filesystem, anything. Then you create a groupcache ```group``` object, which knows the addresses of all the other groupcache instances. This is pluggable, so you can imagine rigging that up to zookeeper or the like for automatic node discovery. Finally, you start groupcache up by using go's built in ```net/http``` and a ```ServeHTP``` provided by the previously constructed ```group``` object. + +## Running the demo +In order to really try out groupcache, I realized I needed to create a mini test infrastructure, consisting of a slow database, frontends, and a client. Visit the [Github Repo](http://github.com/capotej/groupcache-db-experiment) for more details. This is what the topology looks like: +![groupcache topology](https://raw.github.com/capotej/groupcache-db-experiment/master/topology.png) + +#### Setup +1. ```git clone git@github.com:capotej/groupcache-db-experiment.git``` +2. ```cd groupcache-db-experiment``` +3. ```sh build.sh``` + +#### Start database server +1. ```cd dbserver && ./dbserver``` + +#### Start Multiple Frontends +1. ```cd frontend``` +2. ```./frontend -port 8001``` +3. ```./frontend -port 8002``` +4. ```./frontend -port 8003``` + +#### Use the CLI to play around + +Let's set a value into the database: + + ./cli -set -key foo -value bar + +Now get it out again to make sure it's there: + + ./cli -get -key foo + +You should see ```bar``` as the response, after about a noticeable, 300ms lag. + +Let's ask for the same value, via cache this time: + + ./cli -cget -key foo + +You should see on one of the frontend's output, the key ```foo``` was requested, and in turn requested from the database. Let's get it again: + + ./cli -cget -key foo + +You should have gotten this value instantly, as it was served from groupcache. + +Here's where things get interesting; Request that same key from a different frontend: + + ./cli -port 9002 -cget -key foo + +You should still see ```bar``` come back instantly, even though this particular groupcache node did not have this value. This is because groupcache knew that 9001 had this key, went to that node to fetch it, then cached it itself. **This is groupcache's killer feature**, as it avoids the common thundering herd issue associated with losing cache nodes. + +#### Node failure +Let's simulate single node failure, find the "owner" of key ```foo``` (this is going to be the frontend that said "asking for foo from dbserver"), and kill it with Ctrl+C. Request the value again: + + ./cli -cget -key foo + +It'll most likely hit the dbserver again (unless that particular frontend happens to have it), and cache the result on one of the other remaining frontends. As more clients ask for this value, it'll spread through the caches organically. When that server comes back up, it'll start receiving other keys to share, and so on. The fan out is explained in more detail on this [slide](http://talks.golang.org/2013/oscon-dl.slide#47). + +## Conclusion / Use cases +Since there is no support (by design) for eviction or updates, groupcache is a really good fit with read heavy, immutable content. Some use cases: + + * Someone like [Github](http://github.com) using it to cache blobrefs from their file servers + * Large websites using it as a CDN (provided their assets were unique ```logo-0492830483.png```) + * Backend for [Content-addressable storage](http://en.wikipedia.org/wiki/Content-addressable_storage) + +Definitely a clever tool to have in the distributed systems toolbox. + +_Shout out to professors [@jmhodges](http://twitter.com/jmhodges) and [@mrb_bk](http://twitter.com/mrb_bk) for proof reading this project and post_ diff --git a/content/blog/2013-10-07-golang-http-handlers-as-middleware.markdown b/content/blog/2013-10-07-golang-http-handlers-as-middleware.markdown new file mode 100644 index 0000000..a42405b --- /dev/null +++ b/content/blog/2013-10-07-golang-http-handlers-as-middleware.markdown @@ -0,0 +1,57 @@ +--- +title: "Golang HTTP Handlers as Middleware" +date: 2013-10-07T08:52:00Z +comments: true +tags: ["go", "http"] +--- + +Most modern web stacks allow the "filtering" of requests via stackable/composable middleware, allowing you to cleanly separate cross-cutting concerns from your web application. This weekend I needed to hook into go's ```http.FileServer``` and was pleasantly surprised how easy it was to do. + + + +Let's start with a basic file server for ```/tmp```: + +```go main.go +func main() { + http.ListenAndServe(":8080", http.FileServer(http.Dir("/tmp"))) +} +``` + +This starts up a local file server at :8080. How can we hook into this so we can run some code before file requests are served? Let's look at the method signature for ```http.ListenAndServe```: + +```go +func ListenAndServe(addr string, handler Handler) error +``` + +So it looks like ```http.FileServer``` returns a ```Handler``` that knows how to serve files given a root directory. Now let's look at the ```Handler``` interface: + +```go +type Handler interface { + ServeHTTP(ResponseWriter, *Request) +} +``` + +Because of go's granular interfaces, any object can be a ```Handler``` so long as it implements ```ServeHTTP```. It seems all we need to do is construct our own ```Handler``` that wraps ```http.FileServer```'s handler. There's a built in helper for turning ordinary functions into handlers called ```http.HandlerFunc```: + +```go +type HandlerFunc func(ResponseWriter, *Request) +``` + +Then we just wrap ```http.FileServer``` like so: + +```go main.go +func OurLoggingHandler(h http.Handler) http.Handler { + return http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { + fmt.Println(*r.URL) + h.ServeHTTP(w, r) + }) +} + +func main() { + fileHandler := http.FileServer(http.Dir("/tmp")) + wrappedHandler := OurLoggingHandler(fileHandler) + http.ListenAndServe(":8080", wrappedHandler) +} +``` + +Go has a bunch of other builtin [handlers](http://golang.org/pkg/net/http/#Handler) like [TimeoutHandler](http://golang.org/pkg/net/http/#TimeoutHandler) and [RedirectHandler](http://golang.org/pkg/net/http/#RedirectHandler) that can be mixed and matched the same way. diff --git a/content/blog/2014-02-24-tmux-session-coloring.markdown b/content/blog/2014-02-24-tmux-session-coloring.markdown new file mode 100644 index 0000000..5509f1c --- /dev/null +++ b/content/blog/2014-02-24-tmux-session-coloring.markdown @@ -0,0 +1,38 @@ +--- +title: "Tmux Session Coloring" +date: 2014-02-24T00:00:00Z +comments: true +tags: ["shell scripting", "tmux"] +--- + +Recently, I've really gotten into tmux for managing all my terminal sessions/windows. Not so much for the panes, but more for keeping a highly contextual environment per project or task. + +As the number of sessions grew, they became difficult to tell apart. For a few days now, I've had the idea of hashing the name of the session into a unique color, so that every session had its own `status-bg` color. + +First, the `tmuxHashColor` function: + +```sh +tmuxHashColor() { + local hsh=$(echo $1 | cksum | cut -d ' ' -f 1) + local num=$(expr $hsh % 255) + echo "colour$num" +} +``` + +In our `ns` function (new session), we hash the supplied session name to a color, then use `tmux send-keys` to set its `status-bg` color to it: + +```sh +ns() { + if [ -z $1 ]; then + 1=$(basename $(pwd)) + fi + tmux new-session -d -s $1 + local color=$(tmuxHashColor $1) + tmux send-keys -t $1 "tmux set-option status-bg $color" C-m + tmux send-keys -t $1 "clear" C-m + tmux attach -t $1 +} + +``` + +Now every session has it's own distinct `status-bg` color! diff --git a/content/post/2008-10-11-tabbing-through-fields-vertically.markdown b/content/post/2008-10-11-tabbing-through-fields-vertically.markdown deleted file mode 100644 index c27c10b..0000000 --- a/content/post/2008-10-11-tabbing-through-fields-vertically.markdown +++ /dev/null @@ -1,27 +0,0 @@ ---- -title: "Tabbing through fields vertically" -date: 2008-10-11T01:54:00Z -comments: false -url: /post/54058512/tabbing-through-fields-vertically -tags: ---- - - - -Sometimes it’s useful to switch the browser’s default tabbing behavior (left to right) to the opposite (top to bottom) when your input fields are in a grid layout instead the of the usual single column layout. Having to do this manually is a real pain, especially for large grids; So here is a solution in javascript, using mootools: - - - -```javascript -window.addEvent('domready', function(){ - var trs = $$('#mytable tr') - var accum = 0 - trs.each(function(tr, trindex){ - accum = trindex + 1 - tr.getChildren().each(function(td, tdindex){ - td.getChildren('input')[0].tabIndex = accum - accum = accum + trs.length - }) - }) -}) -``` diff --git a/content/post/2008-10-12-arrow-key-navigation-for-text-fields.markdown b/content/post/2008-10-12-arrow-key-navigation-for-text-fields.markdown deleted file mode 100644 index 0f2df9e..0000000 --- a/content/post/2008-10-12-arrow-key-navigation-for-text-fields.markdown +++ /dev/null @@ -1,77 +0,0 @@ ---- -title: "Arrow key navigation for text fields" -date: 2008-10-12T17:41:00Z -comments: false -url: /post/54266325/arrow-key-navigation-for-text-fields -tags: ---- - - - -Here is a class for enabling the use of arrow keys to navigate through a grid of input fields: (using mootools) - - - - -```javascript -var FocusMover = new Class({ - - initialize: function(sel, col_num){ - - this.sel = sel - this.col_num = col_num - this.inputs = $$(this.sel) - this.current_focus = 0 - - var self = this - - this.inputs.each(function(item, index){ - item.addEvent('keydown',function(key){ - $try(function(){ - self[key.key]() - }) - }) - item.addEvent('focus',function(e){ - self.refresh(e) - }) - - item.set('myid', index) - }) - - this.inputs[0].focus() - - }, - - - refresh: function(e){ - this.current_focus = e.target.get('myid') - }, - - down: function(){ - i = parseInt(this.current_focus) + parseInt(this.col_num) - this.inputs[i].focus() - }, - - up: function(){ - i = parseInt(this.current_focus) - parseInt(this.col_num) - this.inputs[i].focus() - }, - - left: function(){ - i = parseInt(this.current_focus) - 1 - this.inputs[i].focus() - }, - - right: function(){ - i = parseInt(this.current_focus) + 1 - this.inputs[i].focus() - } - -}) -``` - -As you can see, the constructor takes two arguments: a selector (which should return a list of all your input fields), and the number of input field columns. So for a 4x2 table, you would set it up like this: - -```javascript -var FM = new FocusMover('#mytable input', 4) -``` diff --git a/content/post/2008-10-28-so-you-want-to-click-that-button.markdown b/content/post/2008-10-28-so-you-want-to-click-that-button.markdown deleted file mode 100644 index ce810f9..0000000 --- a/content/post/2008-10-28-so-you-want-to-click-that-button.markdown +++ /dev/null @@ -1,58 +0,0 @@ ---- -title: "So you want to click that button?" -date: 2008-10-28T21:05:00Z -comments: false -url: /post/56866975/so-you-want-to-click-that-button -tags: ---- - - - -I stumbled upon[http://clickthatbutton.com](http://clickthatbutton.com) during my routine lurking of[hacker news](http://news.ycombinator.com) . After being amused for about 10 seconds,  I decided to take it to the next level; I wanted to click on it really, really fast. After going through a few solutions (simple js while loop in firebug, then curl/wget) and failing, the idea of using selenium popped into my head. So I went off to their[site](http://selenium-ide.openqa.org/download.jsp) and installed the extension. I figured a simple recording of the mouse event, then wrapping it around a loop in selenium would do the trick, but I quickly found that selenium doesn’t support loops. Not to be stopped, I searched google and ended up with[this](http://51elliot.blogspot.com/2008/02/selenium-ide-goto.html) . After installing the plugin for selenium (a plugin for a plugin!?) and restarting firefox, I tried it again and to my surprise it worked! The click counter was going up steadily on its own (18k clicks and counting). Here is my selenium test case for those of you following along: - -```html - - - - - - -haha - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
haha
open/
storex1
whilestoredVars['x'] == storedVars['x']
clicksubmit
endWhile
- - -``` - -Just paste that into a file, open it with selenium ide, hit play and you should be good to go. diff --git a/content/post/2008-9-27-highlight-link-based-on-current-page-in-rails.markdown b/content/post/2008-9-27-highlight-link-based-on-current-page-in-rails.markdown deleted file mode 100644 index 701b716..0000000 --- a/content/post/2008-9-27-highlight-link-based-on-current-page-in-rails.markdown +++ /dev/null @@ -1,30 +0,0 @@ ---- -title: "Highlight link based on current page in rails" -date: 2008-09-27T19:47:00Z -comments: false -url: /post/52081481/highlight-link-based-on-current-page-in-rails -tags: ---- - - - -This is common pattern in website navigation, where it highlights the link (usually by setting `class=”active”`) that took you to the current page while you are on that page. - -First, define a helper: - -```ruby -def is_active?(page_name) - "active" if params[:action] == page_name -end - -``` - -Then call it in your link_to’s in your layout as such: - -```ruby -link_to 'Home', '/', :class => is_active?("index") -link_to 'About', '/about', :class => is_active?("about") -link_to 'contact', '/contact', :class => is_active?("contact") -``` - -This effect is achieved due to how link_to handles being passed `nil` for its `:class`, so when `is_active?` returns `nil` (because its not the current page), `link_to` outputs nothing as its class (not `class=””` as you might expect). diff --git a/content/post/2008-9-30-why-mootools-or-why-not-jquery.markdown b/content/post/2008-9-30-why-mootools-or-why-not-jquery.markdown deleted file mode 100644 index 734f569..0000000 --- a/content/post/2008-9-30-why-mootools-or-why-not-jquery.markdown +++ /dev/null @@ -1,34 +0,0 @@ ---- -title: "Why MooTools (or Why not JQuery)" -date: 2008-09-30T10:26:00Z -comments: false -url: /post/52467447/why-mootools-or-why-not-jquery -tags: ---- - -##UPDATE 2012: this post is dumb and angsty, dont read - -I’ve been toying around with MooTools a bit lately, and I’ve found the experience quite enjoyable and refreshing. Naturally, I [twittered](http://twitter.com/capotej/statuses/939831956) about it and went along my merry way. Moments later (and much to my surprise), I had a direct message from John Resig himself asking “Why, what’s wrong with jQuery?”. I was pretty taken aback that he would take time from his surely busy day to message a total stranger in an effort to improve his project or at least gain an insight in the everyday life of a js developer (it’s not like DHH would personally message people that are dumping rails to use merb). I figured he deserved a straight, honest answer; One that at least would be longer than [140 characters](http://twitter.com/capotej/statuses/940082809) (even though I managed to use every single one). So it begs the question, Why MooTools? - -* Class support. JQuery’s SQL-like syntax is fine for quick and dirty javascripting, but eventually you’ll want real classes to structure your UI logic. - -* It smells, feels and tastes like regular javascript. JQuery doesn’t even look like javascript, which isn’t necessarily a bad thing, since that’s kind of their goal. MooTools however, feels like just an extension of the language - -* Faster. [‘Nuff Said](http://mootools.net/slickspeed/) EDIT: This was pointed out to be false; It is only faster in certain cases (such as mine, WebKit nightly on OS X). - -* Robert Penner’s easing equations baked right in.This could just be me, but I find the animations that mootools creates are alot smoother than JQuery’s (especially the easing). - -* Creating new DOM elements is a snap.Need to create a dom element? `var el = new Element(‘a’, { ‘href’: ‘juliocapote.com’});` Done. - -* Modular. I like that I can just build and pull down a moo.js that only contains the functionality I need. - -* Better Documented.Or at least, its faster to find what you need. - -* Easier to hack on and extend. While I haven’t personally delved into the internals of either system, the consensus seems to be that jquery is an unintelligible mess when it comes to modifying how it works. - -* Prototype Approach (versus a namespaced approach) This is really just matter of preference; MooTools achieves it’s magic by just extending the prototypes of common objects (Array, String, etc); While this is obstrusive, it makes for shorter, more natural code. JQuery does its thing via a main object (which you can name, hence the namespace), that you wrap around whatever you want to make magical; This is unobstrusive, but you pay for that by having to wrap anything you want to use (which ends up being everything). It basically boils down to arr.each(fn) vs $.each(arr, fn) - -* It’s not a revolution. It feels as if JQuery is trying to take on the world (it seems like it too, since its now included with visual studio and the nokia sdk). However, I’m not; I’m just trying to write some javascript here. - - -It’s not like I’m never going to use JQuery again; It simply isn’t my default js framework any longer. diff --git a/content/post/2009-1-1-useful-rails-routing-tips.markdown b/content/post/2009-1-1-useful-rails-routing-tips.markdown deleted file mode 100644 index 5d8d624..0000000 --- a/content/post/2009-1-1-useful-rails-routing-tips.markdown +++ /dev/null @@ -1,74 +0,0 @@ ---- -title: "Useful Rails Routing tips" -date: 2009-01-02T15:50:00Z -comments: false -url: /post/67873462/useful-rails-routing-tips -tags: ---- - - - -Even though I have been using Rails for fun and profit for about 2 years now, I felt I never really used it’s routing engine to its full potential. So I checked out new [Rails Routing from the outside in](http://guides.rubyonrails.org/routing_outside_in.html) guide and discovered bunch of useful tricks that I (and maybe you) had no idea you could do. Here they are: - -### Multiple resource definitions on a single line - -```ruby -map.resources :photos, :books, :videos -``` - -### Impose a certain format for resource identifiers - -```ruby -map.resources :photos, :requirements => { :id => /[A-Z][A-Z][0-9]+/ } -``` - -This way, `/photos/3` would not work, but `/photos/DA321` would. - -### Friendlier action names - -Say for your application ‘create’ and ‘change’ make more sense than the default ‘new’ and ‘edit’ you can do - -```ruby -map.resources :photos, :path_names => { :new => 'make', :edit => 'change' } -``` - -You can also do this site-wide also, in your environment.rb - -```ruby -config.action_controller.resources_path_names = { :new => 'make', :edit => 'change' } -``` - -### Trim the fat off resources with :only and :except - - -When you use map.resources, rails generates 7 restful routes for that resource; But what if that resource only needed to be seen and listed, never edited or created? - -```ruby -map.resources :photos, :only => [:index, :show] -``` - -If your application uses a lot of `map.resources` calls but not neccesarily all its generated routes, you can save memory this way. - -### Adding extra routes to your resources - -Instead of fighting the `map.resources` generator by placing a horror like this atop your routes.rb - -```ruby -map.connect '/photos/:id/preview', { :controller => 'photos', :action => 'preview' } -``` - -You can do this to your already mapped resource - -```ruby -map.resources :photos, :member => { :preview => :get } -``` - -This will map all GET’s to `/photos/3` to the preview action of your photos controller - -This can also be  used in collections instead of singular members, just change `:member` to `:collection` - -```ruby -map.resources :photos, :collection => { :search => :get } -``` - -This will give you `/photos/search` and hit the search action within the photos controller diff --git a/content/post/2009-7-19-using-rack-applications-inside-gwt-hosted-mode.markdown b/content/post/2009-7-19-using-rack-applications-inside-gwt-hosted-mode.markdown deleted file mode 100644 index 746e463..0000000 --- a/content/post/2009-7-19-using-rack-applications-inside-gwt-hosted-mode.markdown +++ /dev/null @@ -1,116 +0,0 @@ ---- -title: "Using Rack applications inside GWT Hosted mode" -date: 2009-07-19T18:51:00Z -comments: false -url: /post/145035194/using-rack-applications-inside-gwt-hosted-mode -tags: ---- - - - -This guide will show you how you can use JRuby to run any Rack application inside Google Web Toolkit’s (GWT) hosted mode server so your interface and your backend are of the Same Origin. - -BackgroundGWT has two ways of interacting with a server: GWT Remote Procedure Call (RPC) and plain HTTP (XHR). GWT-RPC is a high level library designed for interacting with server-side Java code. GWT-RPC implements the GWT Remote Service interface allowing you to call those methods from the user interface. Essentially, GWT handles the dirty work for you. However, it only works on Java backends that can implement that interface. Since most of my backends are Sinatra/Rack applications, I’ll be using the plain HTTP library. - -The problemDue to the restriction of the [Same Origin](http://en.wikipedia.org/wiki/Same_origin_policy) policy, the interface served out of GWT’s development, or Hosted Mode server can only make requests back to itself. If you were using real servlets or GWT’s RemoteService this wouldn’t be an issue; but since Rack applications listen on their own port, you cannot make requests from GWT to our application without resorting to something like JSONP or server-side proxying. This leaves you having to compile our interface to HTML/JS/CSS, which is lengthy process, and serve it from the origin of the Rack application to see our changes. - -The solutionSince I wanted to develop using GWT’s development environment with a Rack backend, I devised a way to use jruby-rack to load arbitrary Rack applications alongside our interface. - -First let’s setup our environment: - -###Download and unpack the latest GWT for your platform (mine’s being linux) - -```sh -wget http://google-web-toolkit.googlecode.com/files/gwt-linux-1.7.0.tar.bz2 -tar -xvjpf gwt-linux-1.7.0.tar.bz2cd gwt-linux-1.7.0 -``` - -###Download the latest jruby-complete.jar - -```sh -wget http://repository.codehaus.org/org/jruby/jruby-complete/1.3.1/jruby-complete-1.3.1.jar -mv jruby-complete-1.3.1.jar jruby-complete.jar -``` - -###Download the latest jruby-rack.jar - -```sh -wget http://repository.codehaus.org/org/jruby/rack/jruby-rack/0.9.4/jruby-rack-0.9.4.jar -mv jruby-rack-0.9.4.jar jruby-rack.jar -``` - -###Create an app with webAppCreator -```sh -./webAppCreator -out MySinatra com.example.MySinatra -cd MySinatra -``` - - -###Package gem dependencies -In order for this to work you have to package any gem dependencies your backend needs (sinatra, in our case) as jars within your application. For Sinatra it looks like this: - -```sh -java -jar jruby-complete.jar -S gem install -i ./sinatra sinatra --no-rdoc --no-ri -jar cf sinatra.jar -C sinatra . -``` - -###Add jruby-complete.jar, jruby-rack.jar, sinatra.jar (and any other jars you’ve created) to the libs target of your build.xml - -```xml - - - - - - - - -``` - -###Add these lines right after in war/WEB-INF/web.xml -```xml - - rackup - - require 'rubygems' - require './lib/sinatra_app' - map '/api' do - run MyApp  - end - - - - RackFilter - org.jruby.rack.RackFilter - - - RackFilter - /api/* - - - org.jruby.rack.RackServletContextListener - -``` - -Note: All you’re doing here is passing the contents of a config.ru file into the `` element for the `` (make sure this is HTML encoded!). This states that any request to /api is to be handled by your Sinatra application and not GWT’s Hosted mode servlet. - -###Create your Sinatra backend and place it in war/WEB-INF/lib/sinatra_app.rb - -```ruby -require 'sinatra' -require 'open-uri' -class MyApp < Sinatra::Base - get '/showpage' do - open('http://www.yahoo.com').read - end - - get '/helloworld' do - 'hello world' - end -end -``` - -###Run your new awesome setup -`ant hosted` - -Now when navigate to [http://localhost:8888/api/helloworld](http://localhost:8888/api/helloworld) or [http://localhost:8888/api/showpage](http://localhost:8888/api/showpage) you should see the Sinatra application being served via GWT. diff --git a/content/post/2010-12-31-what-i-released-in-2010.markdown b/content/post/2010-12-31-what-i-released-in-2010.markdown deleted file mode 100644 index 97b787c..0000000 --- a/content/post/2010-12-31-what-i-released-in-2010.markdown +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: "What I released in 2010" -date: 2010-12-31T13:29:00Z -comments: false -url: /post/2546786852/what-i-released-in-2010 -tags: ---- - -Here’s a recap of what I’ve worked on and released in 2010: - - - -###[Youtube Fraiche](https://github.com/capotej/youtube_fraiche) - -I couldn’t find a youtube downloader that worked on github, so I wrote my own one evening - -###[Uploadd](https://github.com/capotej/uploadd) and [paperclip_uploadd](https://github.com/capotej/paperclip_uploadd) -I wanted to upload and store images off-site (using paperclip/rails) on an server which has cheaper bandwidth rates than S3. Using rainbows, this tiny rack script has handled over a 1.5 million uploads at a peak of 10-15 uploads/sec. Also, it’s been running for about 6 months now without a single crash. Thank you Eric Wong! -There is also a plugin for the popular paperclip gem to use uploadd as a storage backend transparently. - -###[mrskinner](https://github.com/capotej/mrskinner/blob/master/mrskinner.js) - -Tiny javascript for making the site gutters clickable based on a fixed width layout - -###[existential](https://github.com/capotej/existential) - -Completely inspired by Nick Kallen’s [post](http://pivotallabs.com/users/nick/blog/articles/272-access-control-permissions-in-rails) on authorization, I wanted to extract that pattern into a rails plugin that I could use for all my projects. I use devise/existential for all my projects now. - -###[has_opengraph](https://github.com/capotej/has_opengraph) - -Easy way to participate in opengraph and draw facebook like buttons. Just annotate your models with meta data, and draw it in your view easily. - -###[chewbacca](https://github.com/capotej/chewbacca) - -I kinda feel bad that I took a cool name for such a lame script. Anyway it’s a set of rake tasks that provide a hair of abstraction above scp. Useful when you have a set of files locally that map to a different set of files remotely. - - - -I already have tons of stuff in the works for 2011! diff --git a/content/post/2011-1-3-migrationfor-write-migrations-right-from-the-command.markdown b/content/post/2011-1-3-migrationfor-write-migrations-right-from-the-command.markdown deleted file mode 100644 index b315109..0000000 --- a/content/post/2011-1-3-migrationfor-write-migrations-right-from-the-command.markdown +++ /dev/null @@ -1,67 +0,0 @@ ---- -title: "MigrationFor: Write migrations right from the command line!" -date: 2011-01-03T09:48:00Z -comments: false -url: /post/2583891119/migrationfor-write-migrations-right-from-the-command -tags: ---- - - - -As someone who mostly stays in the rails console, I’ve always hated forgetting a field, creating a migration, finding it among your other 500 migration files, then adding the one line you need to add, then running it. This is probably the most annoying part of the Rails experience. I’ve always wanted to write a better migration generator that could take a list of commands/fields and write the migration for you, since most of the time what you name a migration has all the info it needs (add_index_to_post_id). Thanks to the heavily refactored plugin/generator API in Rails 3, I was able to do just that. - -Let’s take a look at how it works: - -First, install it (only works for Rails 3) - -`rails plugin install git://github.com/capotej/migration_for.git` - -Then, you can create migrations like so: - -`rails g migration_for add_index:posts:posts_id` - -It would generate db/migrate/20110103182654_add_index_posts_posts_id.rb): - -```ruby -class AddIndexPostsPostsId < ActiveRecord::Migration - - def self.up - add_index 'posts','posts_id' - end - - def self.down - #waiting for reversible migrations in rails 3.1! - end - -end -``` - -Which you can then run normally with `rake db:migrate` - -Let’s look at a more complex example: - -`$ rails g migration_for create_table:posts add_column:posts:title:string add_column:posts:user_id:integer -` - -Would generate: - -```ruby -class CreateTablePostsaddColumnPostsTitleStringaddColumnPostsUserIdIntegeraddIndexPostsUserId < ActiveRecord::Migration - - def self.up - create_table 'posts' - add_column 'posts','title','string' - add_column 'posts','user_id','integer' - add_index 'posts','user_id' - end - - def self.down - #waiting for reversible migrations in rails 3.1! - end - -end -``` - -It uses a lookup table with all the [activerecord transformations](http://api.rubyonrails.org/classes/ActiveRecord/Migration.html) and will only insert an expression into a migration if the method name is valid and it has the right number of arguments, so botched commands wont mess up the migration. Hope you enjoy it as much as I have! - -Source available here: [https://github.com/capotej/migration_for](https://github.com/capotej/migration_for) diff --git a/content/post/2011-9-13-render-image-links-directly-inside-adium.markdown b/content/post/2011-9-13-render-image-links-directly-inside-adium.markdown deleted file mode 100644 index c388e31..0000000 --- a/content/post/2011-9-13-render-image-links-directly-inside-adium.markdown +++ /dev/null @@ -1,23 +0,0 @@ ---- -title: "Render image links directly inside Adium" -date: 2011-09-13T08:59:00Z -comments: false -url: /render-image-links-directly-inside-adium -tags: ---- - - - -Last night I delightfully discovered that Adium Message Styles are just html, css, and javascript rendered inside a webview. The next natural step was to write something in it, so I wrote a Message Style that tries to render any image link directly inline the conversation (campfire style). - -![](/images/blog/adium1.png) - -The code was written at midnight after a long day, so its not best. Basically, it's a setInterval that runs every 2.5 seconds that loops through all message elements, appending an img tag to the body of the message if an image link is detected. It also removes the processing class as to not reprocess the same messages. - -Installation is simple, just download:  - -[http://dl.dropbox.com/u/42561/Stockholm.AdiumMessageStyle.zip](http://dl.dropbox.com/u/42561/Stockholm.AdiumMessageStyle.zip) - -and extract into ~/Library/Adium 2.0/Message Styles (create if necessary). Then choose the TOP Stockholm theme (no idea why there are two entries), and close your chat window. It should be activated next time a chat window opens. - -![](/images/blog/adium2.png) diff --git a/content/post/2012-1-25-finagle-with-scala-bootstrapper.markdown b/content/post/2012-1-25-finagle-with-scala-bootstrapper.markdown deleted file mode 100644 index 7a5910d..0000000 --- a/content/post/2012-1-25-finagle-with-scala-bootstrapper.markdown +++ /dev/null @@ -1,132 +0,0 @@ ---- -title: "Finagle with scala-bootstrapper" -date: 2012-01-25T09:45:00Z -comments: false -url: /finagle-with-scala-bootstrapper -tags: ["scala"] ---- - - - -I've been fascinated by the concepts in [finagle](http://twitter.github.com/finagle/) for some time, but being a scala noob, I never knew how to bootstrap a finagle project. Turns out twitter has a gem, [scala-bootstrapper](https://github.com/twitter/scala-bootstrapper), that generates a simple thirft based key/value store for you. There's even a[tutorial](http://twitter.github.com/scala_school/searchbird.html)  on how to extend the example project into a distributed search service. - -This is a guide on setting it all up locally, it assumes you have Git, Homebrew, and OS X. - -### Install scala 2.8.1 - -```sh -$ brew versions scala -$ cd/usr/local/(or wherever you have homebrew installed) -$ git checkout -b scala281 0e16b9d(make sure the SHA matches versions output) -$ brew install scala -$ git checkout master$git branch -D scala281 -``` - -### Install sbt 0.7.4 (assumes you have a ~/bin in your $PATH) - -```sh -$ curl -O http://simple-build-tool.googlecode.com/files/sbt-launch-0.7.4.jar > ~/bin/sbt-launch.jar -$ echo 'java -Xmx1G -jar `dirname $0`/sbt-launch.jar "$@"'> ~/bin/sbt -``` - -### Install scala-bootstrapper - -```sh -$ gem install scala-bootstrapper -``` - -### Generate finagle project** - -```sh -$ mkdir newbird -$ cd newbird -$ scala-bootstrapper newbird -$ sbt update -$ sbt test -``` - -### Add a Client class - -create newbird/src/main/scala/com/twitter/newbird/Client.scala with - -```scala -package com.twitter.newbird - -import com.twitter.finagle.builder.ClientBuilder -import com.twitter.finagle.thrift.ThriftClientFramedCodec -import com.twitter.newbird.thrift._ -import org.apache.thrift.protocol.TBinaryProtocol - -import java.net.InetSocketAddress - -class Client {   - - val service = ClientBuilder().hosts(Seq(newInetSocketAddress("localhost",9999))) - .codec(ThriftClientFramedCodec())     - .hostConnectionLimit(1)     - .build()   - val client = new NewbirdServiceClientAdapter( - new thrift.NewbirdService.ServiceToClient(service,newTBinaryProtocol.Factory))   - - def get(key:String) = client.get(key)()   - def put(key:String, value:String) = client.put(key,value)() - -} - -``` - -### Running the server - -```sh -$ cd newbird -$ sbt> run -f config/development.scala - -``` - -### Playing with the client - - -```sh -$ cd newbird -$ sbt console -scala> import com.twitter.newbird.Client -scala> val client = new Client() -scala> client.put("foo","bar") -scala> client.get("foo") -``` - -### Bonus - -finagle exports a stats url you can curl: - -```sh -$ curl http://localhost:9900/stats.txt -counters:  Newbird/connects: 1   -Newbird/requests: 4   -Newbird/success: 4 -gauges:   - Newbird/connections: 0   - Newbird/pending: 0   - jvm_heap_committed: 588251136   - jvm_heap_max: 2146828288   - jvm_heap_used: 64354560   - jvm_nonheap_committed: 83267584   - jvm_nonheap_max: 318767104   - jvm_nonheap_used: 68655360   - jvm_num_cpus: 4   - jvm_start_time: 1327511164928   - jvm_thread_count: 14   - jvm_thread_daemon_count: 9   - jvm_thread_peak_count: 14   - jvm_uptime: 2626505 -labels: - metrics:   - Newbird/connection_duration: (average=2590412, count=1, maximum=2590412, minimum=2590412, p25=2590412, p50=2590412, p75=2590412, p90=2590412, p99=2590412, p999=2590412, p9999=2590412)   - Newbird/connection_received_bytes: (average=192, count=1, maximum=192, minimum=192, p25=192, p50=192, p75=192, p90=192, p99=192, p999=192, p9999=192)   - Newbird/connection_requests: (average=4, count=1, maximum=4, minimum=4, p25=4, p50=4, p75=4, p90=4, p99=4, p999=4, p9999=4)   - Newbird/connection_sent_bytes: (average=120, count=1, maximum=120, minimum=120, p25=120, p50=120, p75=120, p90=120, p99=120, p999=120, p9999=120)   - Newbird/request_latency_ms: (average=14, count=4, maximum=39, minimum=2, p25=2, p50=8, p75=10, p90=39, p99=39, p999=39, p9999=39) -``` -  - -  diff --git a/content/post/2012-1-9-alfred-extension-for-creating-wunderlist-task.markdown b/content/post/2012-1-9-alfred-extension-for-creating-wunderlist-task.markdown deleted file mode 100644 index e9af9b3..0000000 --- a/content/post/2012-1-9-alfred-extension-for-creating-wunderlist-task.markdown +++ /dev/null @@ -1,25 +0,0 @@ ---- -title: "Alfred Extension for creating Wunderlist tasks" -date: 2012-01-09T23:36:00Z -comments: false -url: /alfred-extension-for-creating-wunderlist-task -tags: ---- - - - -While looking for a way to add wunderlist tasks via alfred, I came upon [wunderlist-for-alfred](http://jdfwarrior.tumblr.com/post/13163220116/wunderlist-for-alfred) - -Looked cool, but I wanted to write my own that didn't depend on php. - -I used ```lsof``` to figure out the location of the db, then used ```file``` to see what kind of db it was. Luckily, it was sqlite3, so I was able to poke around and figure out the sql to create a task. - -Here's the alfred extenstion that ties it all together: - -```sh -user=`whoami` -wunderdb="/Users/$user/Library/Wunderlist/wunderlist.db" -sqlite3 $wunderdb "insert into tasks (name, list_id) values ('{query}', 1)" -``` - -Download it [here](http://dl.dropbox.com/u/42561/wunderlist-capotej.alfredextension) diff --git a/content/post/2012-10-07-an-embedded-key-value-store-for-shell-scripts.markdown b/content/post/2012-10-07-an-embedded-key-value-store-for-shell-scripts.markdown deleted file mode 100644 index 99180b3..0000000 --- a/content/post/2012-10-07-an-embedded-key-value-store-for-shell-scripts.markdown +++ /dev/null @@ -1,76 +0,0 @@ ---- -title: "An Embedded Key/Value Store for Shell Scripts" -date: 2012-10-07T10:06:00Z -comments: true -tags: ['shell scripting', 'databases'] ---- - -UPDATE: this is now available as a [sub](http://github.com/37signals/sub) command, here: [kiev](http://github.com/capotej/kiev) - -Cooked this up last night when I needed a simple key/value store for use in a shell script: - - - -```sh db.sh -#!/bin/sh - -DBFILE=example.db - -put(){ - echo "export kv_$1=$2" >> $DBFILE -} - -del(){ - echo "unset kv_$1" >> $DBFILE -} - -get(){ - source $DBFILE - eval r=\$$(echo "kv_$1") - echo $r -} - -list(){ - source $DBFILE - for i in $(env | grep "kv_" | cut -d= -f1 ); do - eval r=\$$i; echo $(echo $i | sed -e 's/kv_//') $r; - done -} - -## cmd dispatch - -if [ ${1:-0} == "set" ]; then - put $2 $3 -elif [ ${1:-0} == "get" ] ; then - get $2 -elif [ ${1:-0} == "list" ] ; then - list -elif [ ${1:-0} == "del" ] ; then - del $2 -else - echo "unknown cmd" -fi -``` - -Use it like so: - - -`$ ./db.sh set foo bar` - -`$ ./db.sh get foo` - -`$ ./db.sh set foo baz` - -`$ ./db.sh get foo` - -`$ ./db.sh del foo` - -`$ ./db.sh list` - - -## How it works - -Every time you update/set/delete a value, it writes a shell expression to an append-only log, -exporting a shell variable (key) with that value. By sourcing the file every time we read a value, we -replay the log, bringing our environment to a consistent state. Then, reading the value is just looking -up that dynamic variable (key) in our shell environment. diff --git a/content/post/2012-10-11-riak-at-posterous.markdown b/content/post/2012-10-11-riak-at-posterous.markdown deleted file mode 100644 index 3aed29a..0000000 --- a/content/post/2012-10-11-riak-at-posterous.markdown +++ /dev/null @@ -1,13 +0,0 @@ ---- -title: "Riak at Posterous" -date: 2012-10-11T13:47:00Z -comments: true -tags: ['riak', 'posterous', 'presentation'] ---- - -A few months ago, I gave a presentation on how Posterous uses Riak for it's post cache; At [#ricon2012](http://basho.com/community/ricon2012/) -I ended up retelling this story to numerous people, so I thought I'd post the slides and video here. - - - - diff --git a/content/post/2012-11-01-base-a-scala-project-generator.markdown b/content/post/2012-11-01-base-a-scala-project-generator.markdown deleted file mode 100644 index da4bab7..0000000 --- a/content/post/2012-11-01-base-a-scala-project-generator.markdown +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: "Base: A Scala Project Generator" -date: 2012-11-01T14:39:00Z -comments: true -tags: ["efficiency", "scala", "shell scripting"] ---- - -Finally got tired of copy pasting other projects and gutting them to make new ones, so I created [base](http://github.com/capotej/base), a shell command that creates new scala projects. - - - -Creating the project: - -```sh -$ base new com.capotej.newproj -creating project: newproj - creating App.scala - creating AppSpec.scala - creating pom.xml - creating .gitignore - creating .travis.yml - creating LICENSE - creating README.markdown -Done! run mvn scala:run to run your projec -``` - -Based on the package name, it infered that the project name is ```newproj``` and created the project under that folder. Let's build and run it: - -```sh -$ cd newproj -$ mvn compile scala:run -(... maven output ...) -hello world -``` - -This uses the new incremental compiler for maven, [zinc](http://github.com/typesafehub/zinc), which dramatically speeds up compile times (except for the first time you run it). It also sets you up with the latest scalatest maven plugin, which gives you sweet looking test output, like so: - -![](https://i.imgur.com/qyyem.png) - -See the base [README](http://github.com/capotej/base#readme) for installation instructions. diff --git a/content/post/2012-11-07-announcing-finatra-1-0-0.markdown b/content/post/2012-11-07-announcing-finatra-1-0-0.markdown deleted file mode 100644 index 296cd45..0000000 --- a/content/post/2012-11-07-announcing-finatra-1-0-0.markdown +++ /dev/null @@ -1,73 +0,0 @@ ---- -title: "Announcing Finatra 1.0.0" -date: 2012-11-07T21:20:00Z -comments: true -tags: ["finatra", "scala"] ---- - -After months of work [Finatra](https://github.com/capotej/finatra#readme) 1.0.0 is finally available! Finatra is a scala web framework inspired by [Sinatra](https://github.com/sinatra/sinatra#readme) built on top of [Finagle](http://twitter.github.com/finagle). - - - -### The API - -The API looks like what you'd expect, here's a simple endpoint that uses route parameters: - -```scala -get("/user/:username") { request => - val username = request.routeParams.getOrElse("username", "default_user") - render.plain("hello " + username).toFuture -} -``` - -The ```toFuture``` call means that the response is actually a [Future](http://twitter.github.com/scala_school/finagle.html#Future), a powerful concurrency abstraction worth checking out. - -Testing it is just as easy: - -```scala -"GET /user/foo" should "responsd with hello foo" in { - get("/user/foo") - response.body should equal ("hello foo") -} -``` - -### A super quick demo - -```sh -$ git clone https://github.com/capotej/finatra.git -$ cd finatra -$ ./finatra new com.example.myapp /tmp -``` - -Now you have an ```/tmp/myapp``` you can use: - -```sh - -$ cd /tmp/myapp -$ mvn scala:run -``` - -A simple app should've started up locally on port 7070, verify with: - -```sh -$ curl http://locahost:7070 -hello world -``` - -You can see the rest of the endpoints at ```/tmp/myapp/src/main/scala/com/example/myapp/App.scala``` - -### Heroku integration - -The generated apps work in heroku out of the box: - -```sh -$ heroku create -$ git init -$ git add . -$ git commit -am 'stuff' -$ git push heroku master -``` - -Make sure to see the full details in the [README](https://github.com/capotej/finatra#readme) and check out the [example app](https://github.com/capotej/finatra-example). - -Props to [@twoism](http://twitter.com/twoism) and [@thisisfranklin](http://twitter.com/thisisfranklin) for their code, feedback and moral support. diff --git a/content/post/2012-11-13-automatic-high-quality-releases.markdown b/content/post/2012-11-13-automatic-high-quality-releases.markdown deleted file mode 100644 index ed62c90..0000000 --- a/content/post/2012-11-13-automatic-high-quality-releases.markdown +++ /dev/null @@ -1,117 +0,0 @@ ---- -title: "Automatic High Quality Releases" -date: 2012-11-13T21:31:00Z -comments: true -tags: ["shell scripting", "finatra"] ---- - -Recently, I invested some time into automating some of the work that goes into a [Finatra](http://github.com/capotej/finatra#readme) release. - - - -The work consists of updating: - -* The version in the XML fragment of the main [README.markdown](https://github.com/finatra/https://github.com/capotej/finatra/blob/master/README.markdown) - -* The version in the [pom.xml](https://github.com/capotej/finatra-example/blob/master/pom.xml) of the [example app](http://github.com/capotej/finatra-example) - -* Any API changes in the [example app](http://github.com/capotej/finatra-example) - -* The version in the template pom.xml of the app generator - -* The generated unit test of the app generator that demonstrates testing any new API features - -* Any API changes inside the app template of the app generator - -Using [sub](https://github.com/37signals/sub#readme), I was able to create a `finatra` [command](https://github.com/capotej/finatra/tree/master/script/finatra) that automated all of the above based on a single template, which also happens to be the [main unit test](https://github.com/capotej/finatra/blob/master/src/test/scala/com/twitter/finatra/ExampleSpec.scala). This ensures that the README, the example app, and the app generator never fall out of sync with the frameworks API. - - -Last week we released [1.1.0](https://github.com/capotej/finatra/commit/37c81957271dde77d4c3f6361bbae705a5142c89), and the README was [completely generated](https://github.com/capotej/finatra/commit/913d0ed5bfa18c903feb5779d4d8b9d87703b6c5), as was the [example app](https://github.com/capotej/finatra-example/commit/dbc82908360f3cb4cfc4388c28f593f17258fab2). Not to mention, all generated apps would also contain the latest templates and examples! - -![](https://i0.kym-cdn.com/photos/images/original/000/021/073/1254172884282.jpg?1254173845) - -Let's dive into how it all works: - -## The source of truth - -I annotated our main unit test with special tokens, like so: - -```scala ExampleAppSpec.scala -class ExampleSpec extends SpecHelper { - - /* ###BEGIN_APP### */ - - class ExampleApp extends Controller { - - /** - * Basic Example - * - * curl http://localhost:7070/hello => "hello world" - */ - get("/") { request => - render.plain("hello world").toFuture - } - - } - - val app = new ExampleApp - - /* ###END_APP### */ - - - /* ###BEGIN_SPEC### */ - - "GET /hello" should "respond with hello world" in { - get("/") - response.body should equal ("hello world") - } - - /* ###END_SPEC### */ -} -``` - -Using the special `/* ### */` comments, the main app and its test can be extracted from the code of our test. - -## The app generator - -Now that we have our "template", we can build our app generator to use it. I customized [base](http://capotej.com/blog/2012/11/01/base-a-scala-project-generator/) and ended up with: [script/finatra/libexec/finatra-new](https://github.com/capotej/finatra/blob/master/script/finatra/libexec/finatra-new) - -You can then run: - -```sh -$ ./finatra new com.example.myapp -``` - -and it will generate ```myapp/``` based on the tested example code from the test suite above. - -## The example app - -The [example app](https://github.com/capotej/finatra-example#readme) is just a generated app using the latest app generator: - -```sh - -#!/bin/bash -# Usage: finatra update-example -# Summary: generates the example app from the template - -set -e - -source $_FINATRA_ROOT/lib/base.sh - -tmpdir=$(mktemp -d /tmp/finatra_example.XXX) - -$_FINATRA_ROOT/bin/finatra new com.twitter.finatra_example $tmpdir - -cp -Rv $tmpdir/finatra_example/ $EXAMPLE_REPO - -rm -rf $tmpdir - -cd $EXAMPLE_REPO && mvn test - -``` - -This also tests the app generator and the generated app! - -## Updating the README - -Lastly, there's a [command](https://github.com/capotej/finatra/blob/master/script/finatra/libexec/finatra-update-readme) for updating the README with the new example and version number. diff --git a/content/post/2013-07-28-playing-with-groupcache.markdown b/content/post/2013-07-28-playing-with-groupcache.markdown deleted file mode 100644 index 6cb7102..0000000 --- a/content/post/2013-07-28-playing-with-groupcache.markdown +++ /dev/null @@ -1,85 +0,0 @@ ---- -title: "Playing with groupcache" -date: 2013-07-28T14:49:00Z -comments: true -tags: ["go", "databases", "distributed computing"] ---- - -This week, [@bradfitz](http://twitter.com/bradfitz) (of memcached fame) released [groupcache](http://github.com/golang/groupcache) at OSCON 2013. I'm already a big fan of [memcached](http://memcached) and [camlistore](http://camlistore.org), so I couldn't wait to download it and kick the tires. - - - -By the way, I **strongly** recommend you go through the [slides](http://talks.golang.org/2013/oscon-dl.slide#1) and [README](http://github.com/golang/groupcache) before going further. - -## What groupcache is not -After downloading it (without reading the [slides](http://talks.golang.org/2013/oscon-dl.slide#1)), I instinctively searched around for how to actually start the server(s), only to find nothing. Turns out, groupcache is more of a _library_ with a server built in, rather than a traditional standalone server. Another important consideration is that theres **no support for set/update/evict operations**, all you get is GET. Really fast, consistent, distributed GET's. - -## What it is -Once you realize that groupcache is more of a **smart, distributed LRU cache**, rather than an outright memcached replacement, it all makes much more sense. Especially considering what it was built for, caching immutable file blobs for [dl.google.com](http://dl.google.com). - -## How to use it -For groupcache to work, you have to give it a closure in which: given a ```key```, fill up this ```dest``` buffer with the bytes for the value of that key, from however you store them. This could be hitting a database, a network filesystem, anything. Then you create a groupcache ```group``` object, which knows the addresses of all the other groupcache instances. This is pluggable, so you can imagine rigging that up to zookeeper or the like for automatic node discovery. Finally, you start groupcache up by using go's built in ```net/http``` and a ```ServeHTP``` provided by the previously constructed ```group``` object. - -## Running the demo -In order to really try out groupcache, I realized I needed to create a mini test infrastructure, consisting of a slow database, frontends, and a client. Visit the [Github Repo](http://github.com/capotej/groupcache-db-experiment) for more details. This is what the topology looks like: -![groupcache topology](https://raw.github.com/capotej/groupcache-db-experiment/master/topology.png) - -#### Setup -1. ```git clone git@github.com:capotej/groupcache-db-experiment.git``` -2. ```cd groupcache-db-experiment``` -3. ```sh build.sh``` - -#### Start database server -1. ```cd dbserver && ./dbserver``` - -#### Start Multiple Frontends -1. ```cd frontend``` -2. ```./frontend -port 8001``` -3. ```./frontend -port 8002``` -4. ```./frontend -port 8003``` - -#### Use the CLI to play around - -Let's set a value into the database: - - ./cli -set -key foo -value bar - -Now get it out again to make sure it's there: - - ./cli -get -key foo - -You should see ```bar``` as the response, after about a noticeable, 300ms lag. - -Let's ask for the same value, via cache this time: - - ./cli -cget -key foo - -You should see on one of the frontend's output, the key ```foo``` was requested, and in turn requested from the database. Let's get it again: - - ./cli -cget -key foo - -You should have gotten this value instantly, as it was served from groupcache. - -Here's where things get interesting; Request that same key from a different frontend: - - ./cli -port 9002 -cget -key foo - -You should still see ```bar``` come back instantly, even though this particular groupcache node did not have this value. This is because groupcache knew that 9001 had this key, went to that node to fetch it, then cached it itself. **This is groupcache's killer feature**, as it avoids the common thundering herd issue associated with losing cache nodes. - -#### Node failure -Let's simulate single node failure, find the "owner" of key ```foo``` (this is going to be the frontend that said "asking for foo from dbserver"), and kill it with Ctrl+C. Request the value again: - - ./cli -cget -key foo - -It'll most likely hit the dbserver again (unless that particular frontend happens to have it), and cache the result on one of the other remaining frontends. As more clients ask for this value, it'll spread through the caches organically. When that server comes back up, it'll start receiving other keys to share, and so on. The fan out is explained in more detail on this [slide](http://talks.golang.org/2013/oscon-dl.slide#47). - -## Conclusion / Use cases -Since there is no support (by design) for eviction or updates, groupcache is a really good fit with read heavy, immutable content. Some use cases: - - * Someone like [Github](http://github.com) using it to cache blobrefs from their file servers - * Large websites using it as a CDN (provided their assets were unique ```logo-0492830483.png```) - * Backend for [Content-addressable storage](http://en.wikipedia.org/wiki/Content-addressable_storage) - -Definitely a clever tool to have in the distributed systems toolbox. - -_Shout out to professors [@jmhodges](http://twitter.com/jmhodges) and [@mrb_bk](http://twitter.com/mrb_bk) for proof reading this project and post_ diff --git a/content/post/2013-10-07-golang-http-handlers-as-middleware.markdown b/content/post/2013-10-07-golang-http-handlers-as-middleware.markdown deleted file mode 100644 index a42405b..0000000 --- a/content/post/2013-10-07-golang-http-handlers-as-middleware.markdown +++ /dev/null @@ -1,57 +0,0 @@ ---- -title: "Golang HTTP Handlers as Middleware" -date: 2013-10-07T08:52:00Z -comments: true -tags: ["go", "http"] ---- - -Most modern web stacks allow the "filtering" of requests via stackable/composable middleware, allowing you to cleanly separate cross-cutting concerns from your web application. This weekend I needed to hook into go's ```http.FileServer``` and was pleasantly surprised how easy it was to do. - - - -Let's start with a basic file server for ```/tmp```: - -```go main.go -func main() { - http.ListenAndServe(":8080", http.FileServer(http.Dir("/tmp"))) -} -``` - -This starts up a local file server at :8080. How can we hook into this so we can run some code before file requests are served? Let's look at the method signature for ```http.ListenAndServe```: - -```go -func ListenAndServe(addr string, handler Handler) error -``` - -So it looks like ```http.FileServer``` returns a ```Handler``` that knows how to serve files given a root directory. Now let's look at the ```Handler``` interface: - -```go -type Handler interface { - ServeHTTP(ResponseWriter, *Request) -} -``` - -Because of go's granular interfaces, any object can be a ```Handler``` so long as it implements ```ServeHTTP```. It seems all we need to do is construct our own ```Handler``` that wraps ```http.FileServer```'s handler. There's a built in helper for turning ordinary functions into handlers called ```http.HandlerFunc```: - -```go -type HandlerFunc func(ResponseWriter, *Request) -``` - -Then we just wrap ```http.FileServer``` like so: - -```go main.go -func OurLoggingHandler(h http.Handler) http.Handler { - return http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { - fmt.Println(*r.URL) - h.ServeHTTP(w, r) - }) -} - -func main() { - fileHandler := http.FileServer(http.Dir("/tmp")) - wrappedHandler := OurLoggingHandler(fileHandler) - http.ListenAndServe(":8080", wrappedHandler) -} -``` - -Go has a bunch of other builtin [handlers](http://golang.org/pkg/net/http/#Handler) like [TimeoutHandler](http://golang.org/pkg/net/http/#TimeoutHandler) and [RedirectHandler](http://golang.org/pkg/net/http/#RedirectHandler) that can be mixed and matched the same way. diff --git a/content/post/2014-02-24-tmux-session-coloring.markdown b/content/post/2014-02-24-tmux-session-coloring.markdown deleted file mode 100644 index 5509f1c..0000000 --- a/content/post/2014-02-24-tmux-session-coloring.markdown +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: "Tmux Session Coloring" -date: 2014-02-24T00:00:00Z -comments: true -tags: ["shell scripting", "tmux"] ---- - -Recently, I've really gotten into tmux for managing all my terminal sessions/windows. Not so much for the panes, but more for keeping a highly contextual environment per project or task. - -As the number of sessions grew, they became difficult to tell apart. For a few days now, I've had the idea of hashing the name of the session into a unique color, so that every session had its own `status-bg` color. - -First, the `tmuxHashColor` function: - -```sh -tmuxHashColor() { - local hsh=$(echo $1 | cksum | cut -d ' ' -f 1) - local num=$(expr $hsh % 255) - echo "colour$num" -} -``` - -In our `ns` function (new session), we hash the supplied session name to a color, then use `tmux send-keys` to set its `status-bg` color to it: - -```sh -ns() { - if [ -z $1 ]; then - 1=$(basename $(pwd)) - fi - tmux new-session -d -s $1 - local color=$(tmuxHashColor $1) - tmux send-keys -t $1 "tmux set-option status-bg $color" C-m - tmux send-keys -t $1 "clear" C-m - tmux attach -t $1 -} - -``` - -Now every session has it's own distinct `status-bg` color! diff --git a/content/projects.md b/content/projects.md index 6cca55a..3663663 100644 --- a/content/projects.md +++ b/content/projects.md @@ -1,7 +1,7 @@ ---- -type: page -title: "Projects" ---- ++++ +title = "Projects" +menu = "main" ++++ # Projects [**Finatra**](https://github.com/capotej/finatra#readme) - [sinatra](http://sinatrarb.com) inspired web framework for scala using [finagle](http://twitter.github.com/finagle) diff --git a/layouts/index.html b/layouts/index.html new file mode 100644 index 0000000..45d5119 --- /dev/null +++ b/layouts/index.html @@ -0,0 +1,37 @@ +{{ define "main" }} + + {{ if .Data.Singular }} +

Filtering for "{{ .Title }}"

+ + Remove filter + + {{ end }} +
    + {{ range ( where .Site.RegularPages "Type" "blog" ) }} +
  • + + + + + + {{ .Title }} +
  • + {{ else }} +
  • + No posts yet +
  • + {{ end }} +
+ {{ if .Data.Singular }} + +
+ {{ range .Site.Taxonomies.tags }} + #{{ .Page.Title }}  + {{ end }} +
+
+ {{ end }} +
+{{ end }} diff --git a/layouts/partials/nav.html b/layouts/partials/nav.html new file mode 100644 index 0000000..ebcf50a --- /dev/null +++ b/layouts/partials/nav.html @@ -0,0 +1,4 @@ +Home +{{ range .Site.Menus.main }} +{{ .Name }} +{{ end }} diff --git a/themes/even/.gitignore b/themes/even/.gitignore deleted file mode 100644 index 6d8cd9d..0000000 --- a/themes/even/.gitignore +++ /dev/null @@ -1,2 +0,0 @@ -/src/node_modules/ -/.idea/ diff --git a/themes/even/CHANGELOG.md b/themes/even/CHANGELOG.md deleted file mode 100644 index e8eeaf8..0000000 --- a/themes/even/CHANGELOG.md +++ /dev/null @@ -1,74 +0,0 @@ - -# [3.2.0](https://github.com/olOwOlo/hugo-theme-even/compare/v3.1.1...v3.2.0) (2018-07-06) - - -### Bug Fixes - -* **gist:** css conflict ([#61](https://github.com/olOwOlo/hugo-theme-even/issues/61)) ([e1781a2](https://github.com/olOwOlo/hugo-theme-even/commit/e1781a2)) -* **section:** remove hard coded `section` ([#67](https://github.com/olOwOlo/hugo-theme-even/issues/67)) ([6766e09](https://github.com/olOwOlo/hugo-theme-even/commit/6766e09)) - - -### Features - -* **mathjax:** add auto number for mathjax ([#53](https://github.com/olOwOlo/hugo-theme-even/issues/53)) ([af22a48](https://github.com/olOwOlo/hugo-theme-even/commit/af22a48)) -* **comment:** add gitalk ([#51](https://github.com/olOwOlo/hugo-theme-even/issues/51)) ([5f8b79f](https://github.com/olOwOlo/hugo-theme-even/commit/5f8b79f)) -* **config:** add option to hide header and footer for a post ([#58](https://github.com/olOwOlo/hugo-theme-even/issues/58)) ([094cfa5](https://github.com/olOwOlo/hugo-theme-even/commit/094cfa5)) -* **config:** configure to show archive count ([2c7773b](https://github.com/olOwOlo/hugo-theme-even/commit/2c7773b)), closes [#46](https://github.com/olOwOlo/hugo-theme-even/issues/46) -* **i18n:** add Spanish(es) translation ([#48](https://github.com/olOwOlo/hugo-theme-even/issues/48)) ([d7c6059](https://github.com/olOwOlo/hugo-theme-even/commit/d7c6059)) -* **post:** add out-of-date content warning ([#68](https://github.com/olOwOlo/hugo-theme-even/issues/68)) ([9033266](https://github.com/olOwOlo/hugo-theme-even/commit/9033266)) - - - - - -# [3.1.1](https://github.com/olOwOlo/hugo-theme-even/compare/v3.1.0...v3.1.1) (2018-03-12) - -### Bug Fixes - -* release: version param ([b18086f](https://github.com/olOwOlo/hugo-theme-even/commit/b18086f)) - - -# [3.1.0](https://github.com/olOwOlo/hugo-theme-even/compare/v3.0.0...v3.1.0) (2018-03-12) - - -### Bug Fixes - -* mathjax overflow for displayed mathematics ([#32](https://github.com/olOwOlo/hugo-theme-even/issues/32)) ([2b4a373](https://github.com/olOwOlo/hugo-theme-even/commit/2b4a373)) - - -### Features - -* add gitment module ([#36](https://github.com/olOwOlo/hugo-theme-even/issues/36)) ([1da110d](https://github.com/olOwOlo/hugo-theme-even/commit/1da110d)) -* add hiddenFromHomePage param ([#37](https://github.com/olOwOlo/hugo-theme-even/issues/37)) ([5277734](https://github.com/olOwOlo/hugo-theme-even/commit/5277734)) -* generate flowchart diagrams from code blocks ([#35](https://github.com/olOwOlo/hugo-theme-even/issues/35)) ([7043881](https://github.com/olOwOlo/hugo-theme-even/commit/7043881)) -* generate sequence diagrams from code blocks ([#35](https://github.com/olOwOlo/hugo-theme-even/issues/35)) ([5bcf92d](https://github.com/olOwOlo/hugo-theme-even/commit/5bcf92d)) -* support custom css and js ([#29](https://github.com/olOwOlo/hugo-theme-even/issues/29)) ([33594c0](https://github.com/olOwOlo/hugo-theme-even/commit/33594c0)) - - -# 3.0.0 - -### Features - -* feat: add `center`, `right`, `left` shortcodes -* feat: support 'right' and 'left' class value for the built-in `figure` - -### Breaking changes - -* See [Language Support](https://github.com/olOwOlo/hugo-theme-even#language-support). -* See [Favicon](https://github.com/olOwOlo/hugo-theme-even#favicon). -* Remove deprecated `bootcdn` param, you can use `[params.publicCDN]`. -* The `archive-paginate` param rename to `archivePaginate`. -* Add a `postMetaInFooter` parameter to control the `contentCopyright` container, and now you can show the author and lastMod information without displaying the license. -* There must be a `version` param, otherwise the build process will give an error. -* Minimum version required: 0.26 -> 0.35 - -```toml -# add -version = "3.x" # Used to give a friendly message when you have an incompatible update - -# add -postMetaInFooter = true - -# rename archive-paginate -archivePaginate = 50 -``` diff --git a/themes/even/LICENSE.md b/themes/even/LICENSE.md deleted file mode 100644 index 755e5c1..0000000 --- a/themes/even/LICENSE.md +++ /dev/null @@ -1,20 +0,0 @@ -The MIT License (MIT) - -Copyright (c) 2017 olOwOlo - -Permission is hereby granted, free of charge, to any person obtaining a copy of -this software and associated documentation files (the "Software"), to deal in -the Software without restriction, including without limitation the rights to -use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of -the Software, and to permit persons to whom the Software is furnished to do so, -subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS -FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR -COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER -IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN -CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/themes/even/README-zh.md b/themes/even/README-zh.md deleted file mode 100644 index cb5c133..0000000 --- a/themes/even/README-zh.md +++ /dev/null @@ -1,90 +0,0 @@ -# hugo-theme-even - -A super concise theme for Hugo - -> 该主题移植自 [hexo-theme-even](https://github.com/ahonn/hexo-theme-even) - -[在线预览 Demo](https://blog.olowolo.com/example-site/) - -## Screenshots - -![even-showcase](https://raw.githubusercontent.com/olOwOlo/hugo-theme-even/master/images/showcase.png) - -## Installation - -```bash -$ git clone https://github.com/olOwOlo/hugo-theme-even themes/even -``` - -**重要:** 在主题的 [`exampleSite`](https://github.com/olOwOlo/hugo-theme-even/tree/master/exampleSite) 目录下有一个 [`config.toml`](https://github.com/olOwOlo/hugo-theme-even/blob/master/exampleSite/config.toml) 文件,**将这个 [`config.toml`](https://github.com/olOwOlo/hugo-theme-even/blob/master/exampleSite/config.toml) 文件复制到你的站点目录下**,根据自己的需求更改即可。 - -**注意:** 对于这个主题,你应该使用 **post** 而不是 **posts**,即 `hugo new post/some-content.md`。 - -## Language Support - -> 翻译资源在 [`themes/even/i18n/`](https://github.com/olOwOlo/hugo-theme-even/tree/master/i18n) 文件夹(内置在主题中),以及站点根目录下的 `i18n/` 文件夹中。两个文件夹下的翻译资源将会被合并,且根目录下的优先级大于内置于主题中的。 - -只需要正确的设置 [`defaultContentLanguage`](https://github.com/olOwOlo/hugo-theme-even/blob/master/exampleSite/config.toml#L3) 的值即可使用翻译资源。 - -```toml -defaultContentLanguage = "en" # en / zh-cn / other... -``` - -同样也支持其他语言。举例来说,为支持德语,在站点根目录下创建 `/i18n/de.yaml` 文件。参考 [`en.yaml`](https://github.com/olOwOlo/hugo-theme-even/tree/master/i18n/en.yaml) 文件查看如何编写翻译资源。 - -附:在多语言模式下,当前正被用于渲染网站的语言会被用于匹配翻译资源。 - -## Favicon - -为了定制 favicon,你需要在站点根目录的 `static` 文件夹下放置下述**所有**文件,这将覆盖 [`themes/even/static/`](https://github.com/olOwOlo/hugo-theme-even/tree/master/static) 文件夹下的那些文件。 - -- android-chrome-192x192.png -- android-chrome-512x512.png -- apple-touch-icon.png -- browserconfig.xml -- favicon.ico -- favicon-16x16.png -- favicon-32x32.png -- manifest.json -- mstile-150x150.png -- safari-pinned-tab.svg - -[favicon generator (Google)](https://www.google.com/search?q=favicon+generator) 能够帮助你生成这些文件。 - -## Front Matter - -你可以通过 front-matter 针对每一篇文章单独进行设置。[`themes/even/archetypes/default.md`](https://github.com/olOwOlo/hugo-theme-even/tree/master/archetypes/default.md) 文件陈列了所有可用的参数。将该文件复制到站点根目录的 `archetypes` 文件夹下将会有所帮助。 - -## Shortcodes - -主题提供了 `center`,` right`, `left`,` music` 四种 shortcodes,并支持为内置的 `figure` 设置 `center`,` right`, `left` 这三种 class 值。点击[这里](https://blog.olowolo.com/example-site/post/shortcodes/)查看详细内容。 - -## Theme Color - -主题内置了五种颜色 ( Default | Mint Green | Cobalt Blue | Hot Pink | Dark Violet ),你可以通过改变 [`/src/css/_variable.scss`](https://github.com/olOwOlo/hugo-theme-even/blob/master/src/css/_variables.scss#L5-L8) 文件中 `$theme-color-config` 的值来改变主题的颜色。 - -## Build - -如果你更改了 `/src/` 目录下的任意文件,你需要重新编译它们。 -```bash -cd ./themes/even/src/ -npm install -npm run build -``` - -## Update Theme - -```bash -cd ./themes/even/ -git pull -``` - -## License - -Released under the [MIT](https://github.com/olOwOlo/hugo-theme-even/blob/master/LICENSE.md) License. - -## Acknowledgements - -- [ananke](https://github.com/budparr/gohugo-theme-ananke) -- [hexo-theme-even](https://github.com/ahonn/hexo-theme-even) -- [hugo-nuo](https://github.com/laozhu/hugo-nuo) diff --git a/themes/even/README.md b/themes/even/README.md deleted file mode 100644 index 45e43e1..0000000 --- a/themes/even/README.md +++ /dev/null @@ -1,90 +0,0 @@ -# hugo-theme-even - -A super concise theme for Hugo - -> It's a port of the [hexo-theme-even](https://github.com/ahonn/hexo-theme-even) - -[Demo](https://blog.olowolo.com/example-site/) | [中文说明](https://github.com/olOwOlo/hugo-theme-even/blob/master/README-zh.md) - -## Screenshots - -![even-showcase](https://raw.githubusercontent.com/olOwOlo/hugo-theme-even/master/images/showcase.png) - -## Installation - -```bash -$ git clone https://github.com/olOwOlo/hugo-theme-even themes/even -``` - -**Important:** Take a look inside the [`exampleSite`](https://github.com/olOwOlo/hugo-theme-even/tree/master/exampleSite) folder of this theme. You'll find a file called [`config.toml`](https://github.com/olOwOlo/hugo-theme-even/blob/master/exampleSite/config.toml). **To use it, copy the [`config.toml`](https://github.com/olOwOlo/hugo-theme-even/blob/master/exampleSite/config.toml) in the root folder of your Hugo site.** Feel free to change it. - -**NOTE:** For this theme, you should use **post** instead of **posts**, namely `hugo new post/some-content.md`. - -## Language Support - -> Translations are collected from the [`themes/even/i18n/`](https://github.com/olOwOlo/hugo-theme-even/tree/master/i18n) folder (built into the theme), as well as translations present in `i18n/` at the root of your project. The translations will be merged and take precedence over what is in the theme folder. - -To use the translations, just set a correct value for [`defaultContentLanguage`](https://github.com/olOwOlo/hugo-theme-even/blob/master/exampleSite/config.toml#L3). - -```toml -defaultContentLanguage = "en" # en / zh-cn / other... -``` - -Can also support any other languages as well. For example, to support german, create a file `/i18n/de.yaml` in the root folder of your Hugo site. For reference template you can see the [`en.yaml`](https://github.com/olOwOlo/hugo-theme-even/tree/master/i18n/en.yaml) file. - -P.S. In multilingual mode, the language which currently being used to render the website will be used. - -## Favicon - -In order to customize the favicon you need to place **all** the following files in the `static` folder at the root of your site, which will overwrite those files in the [`themes/even/static/`](https://github.com/olOwOlo/hugo-theme-even/tree/master/static) folder. - -- android-chrome-192x192.png -- android-chrome-512x512.png -- apple-touch-icon.png -- browserconfig.xml -- favicon.ico -- favicon-16x16.png -- favicon-32x32.png -- manifest.json -- mstile-150x150.png -- safari-pinned-tab.svg - -A [favicon generator](https://www.google.com/search?q=favicon+generator) can help you generate these files. - -## Front Matter - -You can customize something for a single content in the content's front-matter. The [`themes/even/archetypes/default.md`](https://github.com/olOwOlo/hugo-theme-even/tree/master/archetypes/default.md) shows all available params. Copy this file in the `archetypes` folder at the root of your project will be useful. - -## Shortcodes - -This theme provides `center`,` right`, `left`,` music` four shortcodes, and support `center`,` right`, `left` class for the built-in `figure`. See more information from [there](https://blog.olowolo.com/example-site/post/shortcodes/). - -## Theme Color - -There are five built-in theme colors ( Default | Mint Green | Cobalt Blue | Hot Pink | Dark Violet ), you can config it by changing the `$theme-color-config` value in [`/src/css/_variable.scss`](https://github.com/olOwOlo/hugo-theme-even/blob/master/src/css/_variables.scss#L5-L8). - -## Build - -If you changed any file under `/src/`, you need to rebuild. -```bash -cd ./themes/even/src/ -npm install -npm run build -``` - -## Update Theme - -```bash -cd ./themes/even/ -git pull -``` - -## License - -Released under the [MIT](https://github.com/olOwOlo/hugo-theme-even/blob/master/LICENSE.md) License. - -## Acknowledgements - -- [ananke](https://github.com/budparr/gohugo-theme-ananke) -- [hexo-theme-even](https://github.com/ahonn/hexo-theme-even) -- [hugo-nuo](https://github.com/laozhu/hugo-nuo) diff --git a/themes/even/archetypes/default.md b/themes/even/archetypes/default.md deleted file mode 100644 index f4ff840..0000000 --- a/themes/even/archetypes/default.md +++ /dev/null @@ -1,43 +0,0 @@ ---- -title: "{{ replace .TranslationBaseName "-" " " | title }}" -date: {{ .Date }} -lastmod: {{ .Date }} -draft: true -keywords: [] -description: "" -tags: [] -categories: [] -author: "" - -# You can also close(false) or open(true) something for this content. -# P.S. comment can only be closed -comment: false -toc: false -autoCollapseToc: false -postMetaInFooter: false -hiddenFromHomePage: false -# You can also define another contentCopyright. e.g. contentCopyright: "This is another copyright." -contentCopyright: false -reward: false -mathjax: false -mathjaxEnableSingleDollar: false -mathjaxEnableAutoNumber: false - -# You unlisted posts you might want not want the header or footer to show -hideHeaderAndFooter: false - -# You can enable or disable out-of-date content warning for individual post. -# Comment this out to use the global config. -#enableOutdatedInfoWarning: false - -flowchartDiagrams: - enable: false - options: "" - -sequenceDiagrams: - enable: false - options: "" - ---- - - diff --git a/themes/even/exampleSite/config.toml b/themes/even/exampleSite/config.toml deleted file mode 100644 index ebe80e4..0000000 --- a/themes/even/exampleSite/config.toml +++ /dev/null @@ -1,176 +0,0 @@ -baseURL = "http://localhost:1313/" -languageCode = "en" -defaultContentLanguage = "en" # en / zh-cn / ... (This field determines which i18n file to use) -title = "Even - A super concise theme for Hugo" -enableRobotsTXT = true -enableEmoji = true -theme = "even" - -preserveTaxonomyNames = true -hasCJKLanguage = true # has chinese/japanese/korean ? # 自动检测是否包含 中文\日文\韩文 -paginate = 5 # 首页每页显示的文章数 -disqusShortname = "" # disqus_shortname -googleAnalytics = "" # UA-XXXXXXXX-X -copyright = "" # default: author.name ↓ # 默认为下面配置的author.name ↓ - -[author] # essential # 必需 - name = "olOwOlo" - -[sitemap] # essential # 必需 - changefreq = "weekly" - priority = 0.5 - filename = "sitemap.xml" - -[[menu.main]] # config your menu # 配置目录 - name = "Home" - weight = 10 - identifier = "home" - url = "/" -[[menu.main]] - name = "Archives" - weight = 20 - identifier = "archives" - url = "/post/" -[[menu.main]] - name = "Tags" - weight = 30 - identifier = "tags" - url = "/tags/" -[[menu.main]] - name = "Categories" - weight = 40 - identifier = "categories" - url = "/categories/" - -[params] - version = "3.x" # Used to give a friendly message when you have an incompatible update - debug = false # If true, load `eruda.min.js`. See https://github.com/liriliri/eruda - - since = "2017" # Site creation time # 站点建立时间 - - # site info (optional) # 站点信息(可选,不需要的可以直接注释掉) - logoTitle = "Even" # default: the title value # 默认值: 上面设置的title值 - keywords = ["Hugo", "theme","even"] - description = "Hugo theme even example site." - - # paginate of archives, tags and categories # 归档、标签、分类每页显示的文章数目,建议修改为一个较大的值 - archivePaginate = 5 - - # show 'xx Posts In Total' in archive page ? # 是否在归档页显示文章的总数 - showArchiveCount = false - - # The date format to use; for a list of valid formats, see https://gohugo.io/functions/format/ - dateFormatToUse = "2006-01-02" - - # show word count and read time ? # 是否显示字数统计与阅读时间 - moreMeta = false - - # 一些全局开关,你也可以在每一篇内容的 front matter 中针对单篇内容关闭或开启某些功能,在 archetypes/default.md 查看更多信息。 - # Some global options, you can also close or open something in front matter for a single post, see more information from `archetypes/default.md`. - toc = true # 是否开启目录 - autoCollapseToc = false # Auto expand and collapse toc # 目录自动展开/折叠 - fancybox = true # see https://github.com/fancyapps/fancybox # 是否启用fancybox(图片可点击) - mathjax = false # see https://www.mathjax.org/ # 是否使用mathjax(数学公式) - mathjaxEnableSingleDollar = false # 是否使用 $...$ 即可進行inline latex渲染 - mathjaxEnableAutoNumber = false # 是否使用公式自动编号 - - postMetaInFooter = true # contain author, lastMod, markdown link, license # 包含作者,上次修改时间,markdown链接,许可信息 - linkToMarkDown = false # Only effective when hugo will output .md files. # 链接到markdown原始文件(仅当允许hugo生成markdown文件时有效) - contentCopyright = '' # e.g. 'CC BY-NC-ND 4.0' - - changyanAppid = "" # Changyan app id # 畅言 - changyanAppkey = "" # Changyan app key - livereUID = "" # LiveRe UID # 来必力 - baidu_push = false # baidu push # 百度 - baidu_analytics = "" # Baidu Analytics - baidu_verification = "" # Baidu Verification - google_verification = "" # Google_Verification # 谷歌 - - # Link custom CSS and JS assets - # (relative to /static/css and /static/js respectively) - customCSS = [] - customJS = [] - - [params.publicCDN] # load these files from public cdn # 启用公共CDN,需自行定义 - enable = false - jquery = '' - slideout = '' - fancyboxJs = '' - fancyboxCss = '' - gitmentJS = '' - gitmentCSS = '' - gitalkJS = '' - gitalkCSS = '' - timeagoJS = '' - timeagoLocalesJS = '' - - # Display a message at the beginning of an article to warn the readers that it's content may be outdated. - # 在文章开头显示提示信息,提醒读者文章内容可能过时。 - [params.outdatedInfoWarning] - enable = false - hint = 30 # Display hint if the last modified time is more than these days ago. # 如果文章最后更新于这天数之前,显示提醒 - warn = 180 # Display warning if the last modified time is more than these days ago. # 如果文章最后更新于这天数之前,显示警告 - - [params.gitment] # Gitment is a comment system based on GitHub issues. see https://github.com/imsun/gitment - owner = "" # Your GitHub ID - repo = "" # The repo to store comments - clientId = "" # Your client ID - clientSecret = "" # Your client secret - - [params.gitalk] # Gitalk is a comment system based on GitHub issues. see https://github.com/gitalk/gitalk - owner = "" # Your GitHub ID - repo = "" # The repo to store comments - clientId = "" # Your client ID - clientSecret = "" # Your client secret - - [params.flowchartDiagrams]# see https://blog.olowolo.com/example-site/post/js-flowchart-diagrams/ - enable = false - options = "" - - [params.sequenceDiagrams] # see https://blog.olowolo.com/example-site/post/js-sequence-diagrams/ - enable = false - options = "" # default: "{theme: 'simple'}" - - [params.busuanzi] # count web traffic by busuanzi # 是否使用不蒜子统计站点访问量 - enable = false - siteUV = true - sitePV = true - pagePV = true - - [params.reward] # 文章打赏 - enable = false - wechat = "/path/to/your/wechat-qr-code.png" # 微信二维码 - alipay = "/path/to/your/alipay-qr-code.png" # 支付宝二维码 - - [params.social] # 社交链接 - a-email = "mailto:your@email.com" - b-stack-overflow = "http://localhost:1313" - c-twitter = "http://localhost:1313" - d-facebook = "http://localhost:1313" - e-linkedin = "http://localhost:1313" - f-google = "http://localhost:1313" - g-github = "http://localhost:1313" - h-weibo = "http://localhost:1313" - i-zhihu = "http://localhost:1313" - j-douban = "http://localhost:1313" - k-pocket = "http://localhost:1313" - l-tumblr = "http://localhost:1313" - m-instagram = "http://localhost:1313" - -# 将下面这段配置取消注释可以使 hugo 生成 .md 文件 -# Uncomment these options to make hugo output .md files. -#[mediaTypes] -# [mediaTypes."text/plain"] -# suffix = "md" -# -#[outputFormats.MarkDown] -# mediaType = "text/plain" -# isPlainText = true -# isHTML = false -# -#[outputs] -# home = ["HTML", "RSS"] -# page = ["HTML", "MarkDown"] -# section = ["HTML", "RSS"] -# taxonomy = ["HTML", "RSS"] -# taxonomyTerm = ["HTML"] diff --git a/themes/even/exampleSite/content/about.md b/themes/even/exampleSite/content/about.md deleted file mode 100644 index 0913c18..0000000 --- a/themes/even/exampleSite/content/about.md +++ /dev/null @@ -1,21 +0,0 @@ ---- -title: "About" -date: 2017-08-20T21:38:52+08:00 -lastmod: 2017-08-28T21:41:52+08:00 -menu: "main" -weight: 50 - ---- - -Hugo is a static site engine written in Go. - - -It makes use of a variety of open source projects including: - -* [Cobra](https://github.com/spf13/cobra) -* [Viper](https://github.com/spf13/viper) -* [J Walter Weatherman](https://github.com/spf13/jWalterWeatherman) -* [Cast](https://github.com/spf13/cast) - -Learn more and contribute on [GitHub](https://github.com/gohugoio). - diff --git a/themes/even/exampleSite/content/post/chinese-preview.md b/themes/even/exampleSite/content/post/chinese-preview.md deleted file mode 100644 index 08b3096..0000000 --- a/themes/even/exampleSite/content/post/chinese-preview.md +++ /dev/null @@ -1,84 +0,0 @@ ---- -title: "[中文] 《长恨歌》" -date: 2017-08-30T01:37:56+08:00 -lastmod: 2017-08-30T01:37:56+08:00 -draft: false -tags: ["preview", "中文", "tag-1"] -categories: ["中文"] -author: "Wikipedia" - -contentCopyright: 'Creative Commons Attribution-ShareAlike License' - ---- - ->《长恨歌》是中国唐朝诗人白居易的一首长篇叙事诗。 - -# 第一段:贵妃受宠爱 - -汉皇重色思倾国,御宇多年求不得。杨家有女初长成,养在深闺人未识。 - -天生丽质难自弃,一朝选在君王侧。回眸一笑百媚生,六宫粉黛无颜色。 - -春寒赐浴华清池,温泉水滑洗凝脂。侍儿扶起娇无力,始是新承恩泽时。 - -云鬓花颜金步摇,芙蓉帐暖度春宵。春宵苦短日高起,从此君王不早朝。 - -承欢侍宴无闲暇,春从春游夜专夜。后宫佳丽三千人,三千宠爱在一身。 - -金屋妆成娇侍夜,玉楼宴罢醉和春。姊妹弟兄皆列士,可怜光彩生门户。 - -遂令天下父母心,不重生男重生女。骊宫高处入青云,仙乐风飘处处闻。 - -缓歌慢舞凝丝竹,尽日君王看不足。渔阳鼙鼓动地来,惊破霓裳羽衣曲。 - -# 第二段:马嵬惊变 - -九重城阙烟尘生,千乘万骑西南行。翠华摇摇行复止,西出都门百余里。 - -六军不发无奈何,宛转蛾眉马前死。花钿委地无人收,翠翘金雀玉搔头。 - -君王掩面救不得,回看血泪相和流。黄埃散漫风萧索,云栈萦纡登剑阁。 - -峨嵋山下少人行,旌旗无光日色薄。蜀江水碧蜀山青,圣主朝朝暮暮情。 - -行宫见月伤心色,夜雨闻铃肠断声。 - -# 第三段:玄宗皇帝思念 - -天旋地转回龙驭,到此踌躇不能去。马嵬坡下泥土中,不见玉颜空死处。 - -君臣相顾尽霑衣,东望都门信马归。归来池苑皆依旧,太液芙蓉未央柳。 - -芙蓉如面柳如眉,对此如何不泪垂。春风桃李花开日,秋雨梧桐叶落时。 - -西宫南内多秋草,落叶满阶红不扫。梨园弟子白发新,椒房阿监青娥老。 - -夕殿萤飞思悄然,孤灯挑尽未成眠。迟迟钟鼓初长夜,耿耿星河欲曙天。 - -鸳鸯瓦冷霜华重,翡翠衾寒谁与共。悠悠生死别经年,魂魄不曾来入梦。 - -# 第四段:仙界寻妃 - -临邛道士鸿都客,能以精诚致魂魄。为感君王辗转思,遂教方士殷勤觅。 - -排空驭气奔如电,升天入地求之遍。上穷碧落下黄泉,两处茫茫皆不见。 - -忽闻海上有仙山,山在虚无缥缈间。楼阁玲珑五云起,其中绰约多仙子。 - -中有一人字太真,雪肤花貌参差是。金阙西厢叩玉扃,转教小玉报双成。 - -闻道汉家天子使,九华帐里梦魂惊。揽衣推枕起徘徊,珠箔银屏迤逦开。 - -云髻(鬓?)半偏新睡觉,花冠不整下堂来。风吹仙袂飘飘(飖)举,犹似霓裳羽衣舞。 - -玉容寂寞泪阑干,梨花一枝春带雨。含情凝睇谢君王,一别音容两渺茫。 - -昭阳殿里恩爱绝,蓬莱宫中日月长。回头下望人寰处,不见长安见尘雾。 - -唯将旧物表深情,钿合金钗寄将去。钗留一股合一扇,钗擘黄金合分钿。 - -但教心似金钿坚,天上人间会相见。临别殷勤重寄词,词中有誓两心知。 - -七月七日长生殿,夜半无人私语时。在天愿作比翼鸟,在地愿为连理枝。 - -天长地久有时尽,此恨绵绵无绝期。 diff --git a/themes/even/exampleSite/content/post/english-preview.md b/themes/even/exampleSite/content/post/english-preview.md deleted file mode 100644 index 02693ab..0000000 --- a/themes/even/exampleSite/content/post/english-preview.md +++ /dev/null @@ -1,1150 +0,0 @@ ---- -title: "[English] Creating a New Theme" -date: 2017-08-31T15:43:48+08:00 -lastmod: 2017-08-31T15:43:48+08:00 -draft: false -tags: ["preview", "English", "tag-2"] -categories: ["English"] -author: "Michael Henderson" - -autoCollapseToc: true -contentCopyright: 'See origin' - ---- - -## Introduction - -This tutorial will show you how to create a simple theme in Hugo. I assume that you are familiar with HTML, the bash command line, and that you are comfortable using Markdown to format content. I'll explain how Hugo uses templates and how you can organize your templates to create a theme. I won't cover using CSS to style your theme. - -We'll start with creating a new site with a very basic template. Then we'll add in a few pages and posts. With small variations on that, you will be able to create many different types of web sites. - -In this tutorial, commands that you enter will start with the "$" prompt. The output will follow. Lines that start with "#" are comments that I've added to explain a point. When I show updates to a file, the ":wq" on the last line means to save the file. - -Here's an example: - -``` -## this is a comment -$ echo this is a command -this is a command - -## edit the file -$vi foo.md -+++ -date = "2014-09-28" -title = "creating a new theme" -+++ - -bah and humbug -:wq - -## show it -$ cat foo.md -+++ -date = "2014-09-28" -title = "creating a new theme" -+++ - -bah and humbug -$ -``` - - -## Some Definitions - -There are a few concepts that you need to understand before creating a theme. - -### Skins - -Skins are the files responsible for the look and feel of your site. It’s the CSS that controls colors and fonts, it’s the Javascript that determines actions and reactions. It’s also the rules that Hugo uses to transform your content into the HTML that the site will serve to visitors. - -You have two ways to create a skin. The simplest way is to create it in the ```layouts/``` directory. If you do, then you don’t have to worry about configuring Hugo to recognize it. The first place that Hugo will look for rules and files is in the ```layouts/``` directory so it will always find the skin. - -Your second choice is to create it in a sub-directory of the ```themes/``` directory. If you do, then you must always tell Hugo where to search for the skin. It’s extra work, though, so why bother with it? - -The difference between creating a skin in ```layouts/``` and creating it in ```themes/``` is very subtle. A skin in ```layouts/``` can’t be customized without updating the templates and static files that it is built from. A skin created in ```themes/```, on the other hand, can be and that makes it easier for other people to use it. - -The rest of this tutorial will call a skin created in the ```themes/``` directory a theme. - -Note that you can use this tutorial to create a skin in the ```layouts/``` directory if you wish to. The main difference will be that you won’t need to update the site’s configuration file to use a theme. - -### The Home Page - -The home page, or landing page, is the first page that many visitors to a site see. It is the index.html file in the root directory of the web site. Since Hugo writes files to the public/ directory, our home page is public/index.html. - -### Site Configuration File - -When Hugo runs, it looks for a configuration file that contains settings that override default values for the entire site. The file can use TOML, YAML, or JSON. I prefer to use TOML for my configuration files. If you prefer to use JSON or YAML, you’ll need to translate my examples. You’ll also need to change the name of the file since Hugo uses the extension to determine how to process it. - -Hugo translates Markdown files into HTML. By default, Hugo expects to find Markdown files in your ```content/``` directory and template files in your ```themes/``` directory. It will create HTML files in your ```public/``` directory. You can change this by specifying alternate locations in the configuration file. - -### Content - -Content is stored in text files that contain two sections. The first section is the “front matter,” which is the meta-information on the content. The second section contains Markdown that will be converted to HTML. - -#### Front Matter - -The front matter is information about the content. Like the configuration file, it can be written in TOML, YAML, or JSON. Unlike the configuration file, Hugo doesn’t use the file’s extension to know the format. It looks for markers to signal the type. TOML is surrounded by “`+++`”, YAML by “`---`”, and JSON is enclosed in curly braces. I prefer to use TOML, so you’ll need to translate my examples if you prefer YAML or JSON. - -The information in the front matter is passed into the template before the content is rendered into HTML. - -#### Markdown - -Content is written in Markdown which makes it easier to create the content. Hugo runs the content through a Markdown engine to create the HTML which will be written to the output file. - -### Template Files - -Hugo uses template files to render content into HTML. Template files are a bridge between the content and presentation. Rules in the template define what content is published, where it's published to, and how it will rendered to the HTML file. The template guides the presentation by specifying the style to use. - -There are three types of templates: single, list, and partial. Each type takes a bit of content as input and transforms it based on the commands in the template. - -Hugo uses its knowledge of the content to find the template file used to render the content. If it can’t find a template that is an exact match for the content, it will shift up a level and search from there. It will continue to do so until it finds a matching template or runs out of templates to try. If it can’t find a template, it will use the default template for the site. - -Please note that you can use the front matter to influence Hugo’s choice of templates. - -#### Single Template - -A single template is used to render a single piece of content. For example, an article or post would be a single piece of content and use a single template. - -#### List Template - -A list template renders a group of related content. That could be a summary of recent postings or all articles in a category. List templates can contain multiple groups. - -The homepage template is a special type of list template. Hugo assumes that the home page of your site will act as the portal for the rest of the content in the site. - -#### Partial Template - -A partial template is a template that can be included in other templates. Partial templates must be called using the “partial” template command. They are very handy for rolling up common behavior. For example, your site may have a banner that all pages use. Instead of copying the text of the banner into every single and list template, you could create a partial with the banner in it. That way if you decide to change the banner, you only have to change the partial template. - -## Create a New Site - -Let's use Hugo to create a new web site. I'm a Mac user, so I'll create mine in my home directory, in the Sites folder. If you're using Linux, you might have to create the folder first. - -The "new site" command will create a skeleton of a site. It will give you the basic directory structure and a useable configuration file. - -``` -$ hugo new site ~/Sites/zafta -$ cd ~/Sites/zafta -$ ls -l -total 8 -drwxr-xr-x 7 quoha staff 238 Sep 29 16:49 . -drwxr-xr-x 3 quoha staff 102 Sep 29 16:49 .. -drwxr-xr-x 2 quoha staff 68 Sep 29 16:49 archetypes --rw-r--r-- 1 quoha staff 82 Sep 29 16:49 config.toml -drwxr-xr-x 2 quoha staff 68 Sep 29 16:49 content -drwxr-xr-x 2 quoha staff 68 Sep 29 16:49 layouts -drwxr-xr-x 2 quoha staff 68 Sep 29 16:49 static -$ -``` - -Take a look in the content/ directory to confirm that it is empty. - -The other directories (archetypes/, layouts/, and static/) are used when customizing a theme. That's a topic for a different tutorial, so please ignore them for now. - -### Generate the HTML For the New Site - -Running the `hugo` command with no options will read all the available content and generate the HTML files. It will also copy all static files (that's everything that's not content). Since we have an empty site, it won't do much, but it will do it very quickly. - -``` -$ hugo --verbose -INFO: 2014/09/29 Using config file: config.toml -INFO: 2014/09/29 syncing from /Users/quoha/Sites/zafta/static/ to /Users/quoha/Sites/zafta/public/ -WARN: 2014/09/29 Unable to locate layout: [index.html _default/list.html _default/single.html] -WARN: 2014/09/29 Unable to locate layout: [404.html] -0 draft content -0 future content -0 pages created -0 tags created -0 categories created -in 2 ms -$ -``` - -The "`--verbose`" flag gives extra information that will be helpful when we build the template. Every line of the output that starts with "INFO:" or "WARN:" is present because we used that flag. The lines that start with "WARN:" are warning messages. We'll go over them later. - -We can verify that the command worked by looking at the directory again. - -``` -$ ls -l -total 8 -drwxr-xr-x 2 quoha staff 68 Sep 29 16:49 archetypes --rw-r--r-- 1 quoha staff 82 Sep 29 16:49 config.toml -drwxr-xr-x 2 quoha staff 68 Sep 29 16:49 content -drwxr-xr-x 2 quoha staff 68 Sep 29 16:49 layouts -drwxr-xr-x 4 quoha staff 136 Sep 29 17:02 public -drwxr-xr-x 2 quoha staff 68 Sep 29 16:49 static -$ -``` - -See that new public/ directory? Hugo placed all generated content there. When you're ready to publish your web site, that's the place to start. For now, though, let's just confirm that we have what we'd expect from a site with no content. - -``` -$ ls -l public -total 16 --rw-r--r-- 1 quoha staff 416 Sep 29 17:02 index.xml --rw-r--r-- 1 quoha staff 262 Sep 29 17:02 sitemap.xml -$ -``` - -Hugo created two XML files, which is standard, but there are no HTML files. - - - -### Test the New Site - -Verify that you can run the built-in web server. It will dramatically shorten your development cycle if you do. Start it by running the "server" command. If it is successful, you will see output similar to the following: - -``` -$ hugo server --verbose -INFO: 2014/09/29 Using config file: /Users/quoha/Sites/zafta/config.toml -INFO: 2014/09/29 syncing from /Users/quoha/Sites/zafta/static/ to /Users/quoha/Sites/zafta/public/ -WARN: 2014/09/29 Unable to locate layout: [index.html _default/list.html _default/single.html] -WARN: 2014/09/29 Unable to locate layout: [404.html] -0 draft content -0 future content -0 pages created -0 tags created -0 categories created -in 2 ms -Serving pages from /Users/quoha/Sites/zafta/public -Web Server is available at http://localhost:1313 -Press Ctrl+C to stop -``` - -Connect to the listed URL (it's on the line that starts with "Web Server"). If everything is working correctly, you should get a page that shows the following: - -``` -index.xml -sitemap.xml -``` - -That's a listing of your public/ directory. Hugo didn't create a home page because our site has no content. When there's no index.html file in a directory, the server lists the files in the directory, which is what you should see in your browser. - -Let’s go back and look at those warnings again. - -``` -WARN: 2014/09/29 Unable to locate layout: [index.html _default/list.html _default/single.html] -WARN: 2014/09/29 Unable to locate layout: [404.html] -``` - -That second warning is easier to explain. We haven’t created a template to be used to generate “page not found errors.” The 404 message is a topic for a separate tutorial. - -Now for the first warning. It is for the home page. You can tell because the first layout that it looked for was “index.html.” That’s only used by the home page. - -I like that the verbose flag causes Hugo to list the files that it's searching for. For the home page, they are index.html, _default/list.html, and _default/single.html. There are some rules that we'll cover later that explain the names and paths. For now, just remember that Hugo couldn't find a template for the home page and it told you so. - -At this point, you've got a working installation and site that we can build upon. All that’s left is to add some content and a theme to display it. - -## Create a New Theme - -Hugo doesn't ship with a default theme. There are a few available (I counted a dozen when I first installed Hugo) and Hugo comes with a command to create new themes. - -We're going to create a new theme called "zafta." Since the goal of this tutorial is to show you how to fill out the files to pull in your content, the theme will not contain any CSS. In other words, ugly but functional. - -All themes have opinions on content and layout. For example, Zafta uses "post" over "blog". Strong opinions make for simpler templates but differing opinions make it tougher to use themes. When you build a theme, consider using the terms that other themes do. - - -### Create a Skeleton - -Use the hugo "new" command to create the skeleton of a theme. This creates the directory structure and places empty files for you to fill out. - -``` -$ hugo new theme zafta - -$ ls -l -total 8 -drwxr-xr-x 2 quoha staff 68 Sep 29 16:49 archetypes --rw-r--r-- 1 quoha staff 82 Sep 29 16:49 config.toml -drwxr-xr-x 2 quoha staff 68 Sep 29 16:49 content -drwxr-xr-x 2 quoha staff 68 Sep 29 16:49 layouts -drwxr-xr-x 4 quoha staff 136 Sep 29 17:02 public -drwxr-xr-x 2 quoha staff 68 Sep 29 16:49 static -drwxr-xr-x 3 quoha staff 102 Sep 29 17:31 themes - -$ find themes -type f | xargs ls -l --rw-r--r-- 1 quoha staff 1081 Sep 29 17:31 themes/zafta/LICENSE.md --rw-r--r-- 1 quoha staff 0 Sep 29 17:31 themes/zafta/archetypes/default.md --rw-r--r-- 1 quoha staff 0 Sep 29 17:31 themes/zafta/layouts/_default/list.html --rw-r--r-- 1 quoha staff 0 Sep 29 17:31 themes/zafta/layouts/_default/single.html --rw-r--r-- 1 quoha staff 0 Sep 29 17:31 themes/zafta/layouts/index.html --rw-r--r-- 1 quoha staff 0 Sep 29 17:31 themes/zafta/layouts/partials/footer.html --rw-r--r-- 1 quoha staff 0 Sep 29 17:31 themes/zafta/layouts/partials/header.html --rw-r--r-- 1 quoha staff 93 Sep 29 17:31 themes/zafta/theme.toml -$ -``` - -The skeleton includes templates (the files ending in .html), license file, a description of your theme (the theme.toml file), and an empty archetype. - -Please take a minute to fill out the theme.toml and LICENSE.md files. They're optional, but if you're going to be distributing your theme, it tells the world who to praise (or blame). It's also nice to declare the license so that people will know how they can use the theme. - -``` -$ vi themes/zafta/theme.toml -author = "michael d henderson" -description = "a minimal working template" -license = "MIT" -name = "zafta" -source_repo = "" -tags = ["tags", "categories"] -:wq - -## also edit themes/zafta/LICENSE.md and change -## the bit that says "YOUR_NAME_HERE" -``` - -Note that the the skeleton's template files are empty. Don't worry, we'll be changing that shortly. - -``` -$ find themes/zafta -name '*.html' | xargs ls -l --rw-r--r-- 1 quoha staff 0 Sep 29 17:31 themes/zafta/layouts/_default/list.html --rw-r--r-- 1 quoha staff 0 Sep 29 17:31 themes/zafta/layouts/_default/single.html --rw-r--r-- 1 quoha staff 0 Sep 29 17:31 themes/zafta/layouts/index.html --rw-r--r-- 1 quoha staff 0 Sep 29 17:31 themes/zafta/layouts/partials/footer.html --rw-r--r-- 1 quoha staff 0 Sep 29 17:31 themes/zafta/layouts/partials/header.html -$ -``` - - - -### Update the Configuration File to Use the Theme - -Now that we've got a theme to work with, it's a good idea to add the theme name to the configuration file. This is optional, because you can always add "-t zafta" on all your commands. I like to put it the configuration file because I like shorter command lines. If you don't put it in the configuration file or specify it on the command line, you won't use the template that you're expecting to. - -Edit the file to add the theme, add a title for the site, and specify that all of our content will use the TOML format. - -``` -$ vi config.toml -theme = "zafta" -baseurl = "" -languageCode = "en-us" -title = "zafta - totally refreshing" -MetaDataFormat = "toml" -:wq - -$ -``` - -### Generate the Site - -Now that we have an empty theme, let's generate the site again. - -``` -$ hugo --verbose -INFO: 2014/09/29 Using config file: /Users/quoha/Sites/zafta/config.toml -INFO: 2014/09/29 syncing from /Users/quoha/Sites/zafta/themes/zafta/static/ to /Users/quoha/Sites/zafta/public/ -INFO: 2014/09/29 syncing from /Users/quoha/Sites/zafta/static/ to /Users/quoha/Sites/zafta/public/ -WARN: 2014/09/29 Unable to locate layout: [404.html theme/404.html] -0 draft content -0 future content -0 pages created -0 tags created -0 categories created -in 2 ms -$ -``` - -Did you notice that the output is different? The warning message for the home page has disappeared and we have an additional information line saying that Hugo is syncing from the theme's directory. - -Let's check the public/ directory to see what Hugo's created. - -``` -$ ls -l public -total 16 -drwxr-xr-x 2 quoha staff 68 Sep 29 17:56 css --rw-r--r-- 1 quoha staff 0 Sep 29 17:56 index.html --rw-r--r-- 1 quoha staff 407 Sep 29 17:56 index.xml -drwxr-xr-x 2 quoha staff 68 Sep 29 17:56 js --rw-r--r-- 1 quoha staff 243 Sep 29 17:56 sitemap.xml -$ -``` - -Notice four things: - -1. Hugo created a home page. This is the file public/index.html. -2. Hugo created a css/ directory. -3. Hugo created a js/ directory. -4. Hugo claimed that it created 0 pages. It created a file and copied over static files, but didn't create any pages. That's because it considers a "page" to be a file created directly from a content file. It doesn't count things like the index.html files that it creates automatically. - -#### The Home Page - -Hugo supports many different types of templates. The home page is special because it gets its own type of template and its own template file. The file, layouts/index.html, is used to generate the HTML for the home page. The Hugo documentation says that this is the only required template, but that depends. Hugo's warning message shows that it looks for three different templates: - -``` -WARN: 2014/09/29 Unable to locate layout: [index.html _default/list.html _default/single.html] -``` - -If it can't find any of these, it completely skips creating the home page. We noticed that when we built the site without having a theme installed. - -When Hugo created our theme, it created an empty home page template. Now, when we build the site, Hugo finds the template and uses it to generate the HTML for the home page. Since the template file is empty, the HTML file is empty, too. If the template had any rules in it, then Hugo would have used them to generate the home page. - -``` -$ find . -name index.html | xargs ls -l --rw-r--r-- 1 quoha staff 0 Sep 29 20:21 ./public/index.html --rw-r--r-- 1 quoha staff 0 Sep 29 17:31 ./themes/zafta/layouts/index.html -$ -``` - -#### The Magic of Static - -Hugo does two things when generating the site. It uses templates to transform content into HTML and it copies static files into the site. Unlike content, static files are not transformed. They are copied exactly as they are. - -Hugo assumes that your site will use both CSS and JavaScript, so it creates directories in your theme to hold them. Remember opinions? Well, Hugo's opinion is that you'll store your CSS in a directory named css/ and your JavaScript in a directory named js/. If you don't like that, you can change the directory names in your theme directory or even delete them completely. Hugo's nice enough to offer its opinion, then behave nicely if you disagree. - -``` -$ find themes/zafta -type d | xargs ls -ld -drwxr-xr-x 7 quoha staff 238 Sep 29 17:38 themes/zafta -drwxr-xr-x 3 quoha staff 102 Sep 29 17:31 themes/zafta/archetypes -drwxr-xr-x 5 quoha staff 170 Sep 29 17:31 themes/zafta/layouts -drwxr-xr-x 4 quoha staff 136 Sep 29 17:31 themes/zafta/layouts/_default -drwxr-xr-x 4 quoha staff 136 Sep 29 17:31 themes/zafta/layouts/partials -drwxr-xr-x 4 quoha staff 136 Sep 29 17:31 themes/zafta/static -drwxr-xr-x 2 quoha staff 68 Sep 29 17:31 themes/zafta/static/css -drwxr-xr-x 2 quoha staff 68 Sep 29 17:31 themes/zafta/static/js -$ -``` - -## The Theme Development Cycle - -When you're working on a theme, you will make changes in the theme's directory, rebuild the site, and check your changes in the browser. Hugo makes this very easy: - -1. Purge the public/ directory. -2. Run the built in web server in watch mode. -3. Open your site in a browser. -4. Update the theme. -5. Glance at your browser window to see changes. -6. Return to step 4. - -I’ll throw in one more opinion: never work on a theme on a live site. Always work on a copy of your site. Make changes to your theme, test them, then copy them up to your site. For added safety, use a tool like Git to keep a revision history of your content and your theme. Believe me when I say that it is too easy to lose both your mind and your changes. - -Check the main Hugo site for information on using Git with Hugo. - -### Purge the public/ Directory - -When generating the site, Hugo will create new files and update existing ones in the ```public/``` directory. It will not delete files that are no longer used. For example, files that were created in the wrong directory or with the wrong title will remain. If you leave them, you might get confused by them later. I recommend cleaning out your site prior to generating it. - -Note: If you're building on an SSD, you should ignore this. Churning on a SSD can be costly. - -### Hugo's Watch Option - -Hugo's "`--watch`" option will monitor the content/ and your theme directories for changes and rebuild the site automatically. - -### Live Reload - -Hugo's built in web server supports live reload. As pages are saved on the server, the browser is told to refresh the page. Usually, this happens faster than you can say, "Wow, that's totally amazing." - -### Development Commands - -Use the following commands as the basis for your workflow. - -``` -## purge old files. hugo will recreate the public directory. -## -$ rm -rf public -## -## run hugo in watch mode -## -$ hugo server --watch --verbose -``` - -Here's sample output showing Hugo detecting a change to the template for the home page. Once generated, the web browser automatically reloaded the page. I've said this before, it's amazing. - - -``` -$ rm -rf public -$ hugo server --watch --verbose -INFO: 2014/09/29 Using config file: /Users/quoha/Sites/zafta/config.toml -INFO: 2014/09/29 syncing from /Users/quoha/Sites/zafta/themes/zafta/static/ to /Users/quoha/Sites/zafta/public/ -INFO: 2014/09/29 syncing from /Users/quoha/Sites/zafta/static/ to /Users/quoha/Sites/zafta/public/ -WARN: 2014/09/29 Unable to locate layout: [404.html theme/404.html] -0 draft content -0 future content -0 pages created -0 tags created -0 categories created -in 2 ms -Watching for changes in /Users/quoha/Sites/zafta/content -Serving pages from /Users/quoha/Sites/zafta/public -Web Server is available at http://localhost:1313 -Press Ctrl+C to stop -INFO: 2014/09/29 File System Event: ["/Users/quoha/Sites/zafta/themes/zafta/layouts/index.html": MODIFY|ATTRIB] -Change detected, rebuilding site - -WARN: 2014/09/29 Unable to locate layout: [404.html theme/404.html] -0 draft content -0 future content -0 pages created -0 tags created -0 categories created -in 1 ms -``` - -## Update the Home Page Template - -The home page is one of a few special pages that Hugo creates automatically. As mentioned earlier, it looks for one of three files in the theme's layout/ directory: - -1. index.html -2. _default/list.html -3. _default/single.html - -We could update one of the default templates, but a good design decision is to update the most specific template available. That's not a hard and fast rule (in fact, we'll break it a few times in this tutorial), but it is a good generalization. - -### Make a Static Home Page - -Right now, that page is empty because we don't have any content and we don't have any logic in the template. Let's change that by adding some text to the template. - -``` -$ vi themes/zafta/layouts/index.html - - - -

hugo says hello!

- - -:wq - -$ -``` - -Build the web site and then verify the results. - -``` -$ hugo --verbose -INFO: 2014/09/29 Using config file: /Users/quoha/Sites/zafta/config.toml -INFO: 2014/09/29 syncing from /Users/quoha/Sites/zafta/themes/zafta/static/ to /Users/quoha/Sites/zafta/public/ -INFO: 2014/09/29 syncing from /Users/quoha/Sites/zafta/static/ to /Users/quoha/Sites/zafta/public/ -WARN: 2014/09/29 Unable to locate layout: [404.html theme/404.html] -0 draft content -0 future content -0 pages created -0 tags created -0 categories created -in 2 ms - -$ find public -type f -name '*.html' | xargs ls -l --rw-r--r-- 1 quoha staff 78 Sep 29 21:26 public/index.html - -$ cat public/index.html - - - -

hugo says hello!

- -``` - -#### Live Reload - -Note: If you're running the server with the `--watch` option, you'll see different content in the file: - -``` -$ cat public/index.html - - - -

hugo says hello!

- - -``` - -When you use `--watch`, the Live Reload script is added by Hugo. Look for live reload in the documentation to see what it does and how to disable it. - -### Build a "Dynamic" Home Page - -"Dynamic home page?" Hugo's a static web site generator, so this seems an odd thing to say. I mean let's have the home page automatically reflect the content in the site every time Hugo builds it. We'll use iteration in the template to do that. - -#### Create New Posts - -Now that we have the home page generating static content, let's add some content to the site. We'll display these posts as a list on the home page and on their own page, too. - -Hugo has a command to generate a skeleton post, just like it does for sites and themes. - -``` -$ hugo --verbose new post/first.md -INFO: 2014/09/29 Using config file: /Users/quoha/Sites/zafta/config.toml -INFO: 2014/09/29 attempting to create post/first.md of post -INFO: 2014/09/29 curpath: /Users/quoha/Sites/zafta/themes/zafta/archetypes/default.md -ERROR: 2014/09/29 Unable to Cast to map[string]interface{} - -$ -``` - -That wasn't very nice, was it? - -The "new" command uses an archetype to create the post file. Hugo created an empty default archetype file, but that causes an error when there's a theme. For me, the workaround was to create an archetypes file specifically for the post type. - -``` -$ vi themes/zafta/archetypes/post.md -+++ -Description = "" -Tags = [] -Categories = [] -+++ -:wq - -$ find themes/zafta/archetypes -type f | xargs ls -l --rw-r--r-- 1 quoha staff 0 Sep 29 21:53 themes/zafta/archetypes/default.md --rw-r--r-- 1 quoha staff 51 Sep 29 21:54 themes/zafta/archetypes/post.md - -$ hugo --verbose new post/first.md -INFO: 2014/09/29 Using config file: /Users/quoha/Sites/zafta/config.toml -INFO: 2014/09/29 attempting to create post/first.md of post -INFO: 2014/09/29 curpath: /Users/quoha/Sites/zafta/themes/zafta/archetypes/post.md -INFO: 2014/09/29 creating /Users/quoha/Sites/zafta/content/post/first.md -/Users/quoha/Sites/zafta/content/post/first.md created - -$ hugo --verbose new post/second.md -INFO: 2014/09/29 Using config file: /Users/quoha/Sites/zafta/config.toml -INFO: 2014/09/29 attempting to create post/second.md of post -INFO: 2014/09/29 curpath: /Users/quoha/Sites/zafta/themes/zafta/archetypes/post.md -INFO: 2014/09/29 creating /Users/quoha/Sites/zafta/content/post/second.md -/Users/quoha/Sites/zafta/content/post/second.md created - -$ ls -l content/post -total 16 --rw-r--r-- 1 quoha staff 104 Sep 29 21:54 first.md --rw-r--r-- 1 quoha staff 105 Sep 29 21:57 second.md - -$ cat content/post/first.md -+++ -Categories = [] -Description = "" -Tags = [] -date = "2014-09-29T21:54:53-05:00" -title = "first" - -+++ -my first post - -$ cat content/post/second.md -+++ -Categories = [] -Description = "" -Tags = [] -date = "2014-09-29T21:57:09-05:00" -title = "second" - -+++ -my second post - -$ -``` - -Build the web site and then verify the results. - -``` -$ rm -rf public -$ hugo --verbose -INFO: 2014/09/29 Using config file: /Users/quoha/Sites/zafta/config.toml -INFO: 2014/09/29 syncing from /Users/quoha/Sites/zafta/themes/zafta/static/ to /Users/quoha/Sites/zafta/public/ -INFO: 2014/09/29 syncing from /Users/quoha/Sites/zafta/static/ to /Users/quoha/Sites/zafta/public/ -INFO: 2014/09/29 found taxonomies: map[string]string{"category":"categories", "tag":"tags"} -WARN: 2014/09/29 Unable to locate layout: [404.html theme/404.html] -0 draft content -0 future content -2 pages created -0 tags created -0 categories created -in 4 ms -$ -``` - -The output says that it created 2 pages. Those are our new posts: - -``` -$ find public -type f -name '*.html' | xargs ls -l --rw-r--r-- 1 quoha staff 78 Sep 29 22:13 public/index.html --rw-r--r-- 1 quoha staff 0 Sep 29 22:13 public/post/first/index.html --rw-r--r-- 1 quoha staff 0 Sep 29 22:13 public/post/index.html --rw-r--r-- 1 quoha staff 0 Sep 29 22:13 public/post/second/index.html -$ -``` - -The new files are empty because because the templates used to generate the content are empty. The homepage doesn't show the new content, either. We have to update the templates to add the posts. - -### List and Single Templates - -In Hugo, we have three major kinds of templates. There's the home page template that we updated previously. It is used only by the home page. We also have "single" templates which are used to generate output for a single content file. We also have "list" templates that are used to group multiple pieces of content before generating output. - -Generally speaking, list templates are named "list.html" and single templates are named "single.html." - -There are three other types of templates: partials, content views, and terms. We will not go into much detail on these. - -### Add Content to the Homepage - -The home page will contain a list of posts. Let's update its template to add the posts that we just created. The logic in the template will run every time we build the site. - -``` -$ vi themes/zafta/layouts/index.html - - - - {{ range first 10 .Data.Pages }} -

{{ .Title }}

- {{ end }} - - -:wq - -$ -``` - -Hugo uses the Go template engine. That engine scans the template files for commands which are enclosed between "{{" and "}}". In our template, the commands are: - -1. range -2. .Title -3. end - -The "range" command is an iterator. We're going to use it to go through the first ten pages. Every HTML file that Hugo creates is treated as a page, so looping through the list of pages will look at every file that will be created. - -The ".Title" command prints the value of the "title" variable. Hugo pulls it from the front matter in the Markdown file. - -The "end" command signals the end of the range iterator. The engine loops back to the top of the iteration when it finds "end." Everything between the "range" and "end" is evaluated every time the engine goes through the iteration. In this file, that would cause the title from the first ten pages to be output as heading level one. - -It's helpful to remember that some variables, like .Data, are created before any output files. Hugo loads every content file into the variable and then gives the template a chance to process before creating the HTML files. - -Build the web site and then verify the results. - -``` -$ rm -rf public -$ hugo --verbose -INFO: 2014/09/29 Using config file: /Users/quoha/Sites/zafta/config.toml -INFO: 2014/09/29 syncing from /Users/quoha/Sites/zafta/themes/zafta/static/ to /Users/quoha/Sites/zafta/public/ -INFO: 2014/09/29 syncing from /Users/quoha/Sites/zafta/static/ to /Users/quoha/Sites/zafta/public/ -INFO: 2014/09/29 found taxonomies: map[string]string{"tag":"tags", "category":"categories"} -WARN: 2014/09/29 Unable to locate layout: [404.html theme/404.html] -0 draft content -0 future content -2 pages created -0 tags created -0 categories created -in 4 ms -$ find public -type f -name '*.html' | xargs ls -l --rw-r--r-- 1 quoha staff 94 Sep 29 22:23 public/index.html --rw-r--r-- 1 quoha staff 0 Sep 29 22:23 public/post/first/index.html --rw-r--r-- 1 quoha staff 0 Sep 29 22:23 public/post/index.html --rw-r--r-- 1 quoha staff 0 Sep 29 22:23 public/post/second/index.html -$ cat public/index.html - - - - -

second

- -

first

- - - -$ -``` - -Congratulations, the home page shows the title of the two posts. The posts themselves are still empty, but let's take a moment to appreciate what we've done. Your template now generates output dynamically. Believe it or not, by inserting the range command inside of those curly braces, you've learned everything you need to know to build a theme. All that's really left is understanding which template will be used to generate each content file and becoming familiar with the commands for the template engine. - -And, if that were entirely true, this tutorial would be much shorter. There are a few things to know that will make creating a new template much easier. Don't worry, though, that's all to come. - -### Add Content to the Posts - -We're working with posts, which are in the content/post/ directory. That means that their section is "post" (and if we don't do something weird, their type is also "post"). - -Hugo uses the section and type to find the template file for every piece of content. Hugo will first look for a template file that matches the section or type name. If it can't find one, then it will look in the _default/ directory. There are some twists that we'll cover when we get to categories and tags, but for now we can assume that Hugo will try post/single.html, then _default/single.html. - -Now that we know the search rule, let's see what we actually have available: - -``` -$ find themes/zafta -name single.html | xargs ls -l --rw-r--r-- 1 quoha staff 132 Sep 29 17:31 themes/zafta/layouts/_default/single.html -``` - -We could create a new template, post/single.html, or change the default. Since we don't know of any other content types, let's start with updating the default. - -Remember, any content that we haven't created a template for will end up using this template. That can be good or bad. Bad because I know that we're going to be adding different types of content and we're going to end up undoing some of the changes we've made. It's good because we'll be able to see immediate results. It's also good to start here because we can start to build the basic layout for the site. As we add more content types, we'll refactor this file and move logic around. Hugo makes that fairly painless, so we'll accept the cost and proceed. - -Please see the Hugo documentation on template rendering for all the details on determining which template to use. And, as the docs mention, if you're building a single page application (SPA) web site, you can delete all of the other templates and work with just the default single page. That's a refreshing amount of joy right there. - -#### Update the Template File - -``` -$ vi themes/zafta/layouts/_default/single.html - - - - {{ .Title }} - - -

{{ .Title }}

- {{ .Content }} - - -:wq - -$ -``` - -Build the web site and verify the results. - -``` -$ rm -rf public -$ hugo --verbose -INFO: 2014/09/29 Using config file: /Users/quoha/Sites/zafta/config.toml -INFO: 2014/09/29 syncing from /Users/quoha/Sites/zafta/themes/zafta/static/ to /Users/quoha/Sites/zafta/public/ -INFO: 2014/09/29 syncing from /Users/quoha/Sites/zafta/static/ to /Users/quoha/Sites/zafta/public/ -INFO: 2014/09/29 found taxonomies: map[string]string{"tag":"tags", "category":"categories"} -WARN: 2014/09/29 Unable to locate layout: [404.html theme/404.html] -0 draft content -0 future content -2 pages created -0 tags created -0 categories created -in 4 ms - -$ find public -type f -name '*.html' | xargs ls -l --rw-r--r-- 1 quoha staff 94 Sep 29 22:40 public/index.html --rw-r--r-- 1 quoha staff 125 Sep 29 22:40 public/post/first/index.html --rw-r--r-- 1 quoha staff 0 Sep 29 22:40 public/post/index.html --rw-r--r-- 1 quoha staff 128 Sep 29 22:40 public/post/second/index.html - -$ cat public/post/first/index.html - - - - first - - -

first

-

my first post

- - - - -$ cat public/post/second/index.html - - - - second - - -

second

-

my second post

- - - -$ -``` - -Notice that the posts now have content. You can go to localhost:1313/post/first to verify. - -### Linking to Content - -The posts are on the home page. Let's add a link from there to the post. Since this is the home page, we'll update its template. - -``` -$ vi themes/zafta/layouts/index.html - - - - {{ range first 10 .Data.Pages }} -

{{ .Title }}

- {{ end }} - - -``` - -Build the web site and verify the results. - -``` -$ rm -rf public -$ hugo --verbose -INFO: 2014/09/29 Using config file: /Users/quoha/Sites/zafta/config.toml -INFO: 2014/09/29 syncing from /Users/quoha/Sites/zafta/themes/zafta/static/ to /Users/quoha/Sites/zafta/public/ -INFO: 2014/09/29 syncing from /Users/quoha/Sites/zafta/static/ to /Users/quoha/Sites/zafta/public/ -INFO: 2014/09/29 found taxonomies: map[string]string{"tag":"tags", "category":"categories"} -WARN: 2014/09/29 Unable to locate layout: [404.html theme/404.html] -0 draft content -0 future content -2 pages created -0 tags created -0 categories created -in 4 ms - -$ find public -type f -name '*.html' | xargs ls -l --rw-r--r-- 1 quoha staff 149 Sep 29 22:44 public/index.html --rw-r--r-- 1 quoha staff 125 Sep 29 22:44 public/post/first/index.html --rw-r--r-- 1 quoha staff 0 Sep 29 22:44 public/post/index.html --rw-r--r-- 1 quoha staff 128 Sep 29 22:44 public/post/second/index.html - -$ cat public/index.html - - - - -

second

- -

first

- - - - -$ -``` - -### Create a Post Listing - -We have the posts displaying on the home page and on their own page. We also have a file public/post/index.html that is empty. Let's make it show a list of all posts (not just the first ten). - -We need to decide which template to update. This will be a listing, so it should be a list template. Let's take a quick look and see which list templates are available. - -``` -$ find themes/zafta -name list.html | xargs ls -l --rw-r--r-- 1 quoha staff 0 Sep 29 17:31 themes/zafta/layouts/_default/list.html -``` - -As with the single post, we have to decide to update _default/list.html or create post/list.html. We still don't have multiple content types, so let's stay consistent and update the default list template. - -## Creating Top Level Pages - -Let's add an "about" page and display it at the top level (as opposed to a sub-level like we did with posts). - -The default in Hugo is to use the directory structure of the content/ directory to guide the location of the generated html in the public/ directory. Let's verify that by creating an "about" page at the top level: - -``` -$ vi content/about.md -+++ -title = "about" -description = "about this site" -date = "2014-09-27" -slug = "about time" -+++ - -## about us - -i'm speechless -:wq -``` - -Generate the web site and verify the results. - -``` -$ find public -name '*.html' | xargs ls -l --rw-rw-r-- 1 mdhender staff 334 Sep 27 15:08 public/about-time/index.html --rw-rw-r-- 1 mdhender staff 527 Sep 27 15:08 public/index.html --rw-rw-r-- 1 mdhender staff 358 Sep 27 15:08 public/post/first-post/index.html --rw-rw-r-- 1 mdhender staff 0 Sep 27 15:08 public/post/index.html --rw-rw-r-- 1 mdhender staff 342 Sep 27 15:08 public/post/second-post/index.html -``` - -Notice that the page wasn't created at the top level. It was created in a sub-directory named 'about-time/'. That name came from our slug. Hugo will use the slug to name the generated content. It's a reasonable default, by the way, but we can learn a few things by fighting it for this file. - -One other thing. Take a look at the home page. - -``` -$ cat public/index.html - - - -

creating a new theme

-

about

-

second

-

first

- - -``` - -Notice that the "about" link is listed with the posts? That's not desirable, so let's change that first. - -``` -$ vi themes/zafta/layouts/index.html - - - -

posts

- {{ range first 10 .Data.Pages }} - {{ if eq .Type "post"}} -

{{ .Title }}

- {{ end }} - {{ end }} - -

pages

- {{ range .Data.Pages }} - {{ if eq .Type "page" }} -

{{ .Title }}

- {{ end }} - {{ end }} - - -:wq -``` - -Generate the web site and verify the results. The home page has two sections, posts and pages, and each section has the right set of headings and links in it. - -But, that about page still renders to about-time/index.html. - -``` -$ find public -name '*.html' | xargs ls -l --rw-rw-r-- 1 mdhender staff 334 Sep 27 15:33 public/about-time/index.html --rw-rw-r-- 1 mdhender staff 645 Sep 27 15:33 public/index.html --rw-rw-r-- 1 mdhender staff 358 Sep 27 15:33 public/post/first-post/index.html --rw-rw-r-- 1 mdhender staff 0 Sep 27 15:33 public/post/index.html --rw-rw-r-- 1 mdhender staff 342 Sep 27 15:33 public/post/second-post/index.html -``` - -Knowing that hugo is using the slug to generate the file name, the simplest solution is to change the slug. Let's do it the hard way and change the permalink in the configuration file. - -``` -$ vi config.toml -[permalinks] - page = "/:title/" - about = "/:filename/" -``` - -Generate the web site and verify that this didn't work. Hugo lets "slug" or "URL" override the permalinks setting in the configuration file. Go ahead and comment out the slug in content/about.md, then generate the web site to get it to be created in the right place. - -## Sharing Templates - -If you've been following along, you probably noticed that posts have titles in the browser and the home page doesn't. That's because we didn't put the title in the home page's template (layouts/index.html). That's an easy thing to do, but let's look at a different option. - -We can put the common bits into a shared template that's stored in the themes/zafta/layouts/partials/ directory. - -### Create the Header and Footer Partials - -In Hugo, a partial is a sugar-coated template. Normally a template reference has a path specified. Partials are different. Hugo searches for them along a TODO defined search path. This makes it easier for end-users to override the theme's presentation. - -``` -$ vi themes/zafta/layouts/partials/header.html - - - - {{ .Title }} - - -:wq - -$ vi themes/zafta/layouts/partials/footer.html - - -:wq -``` - -### Update the Home Page Template to Use the Partials - -The most noticeable difference between a template call and a partials call is the lack of path: - -``` -{{ template "theme/partials/header.html" . }} -``` -versus -``` -{{ partial "header.html" . }} -``` -Both pass in the context. - -Let's change the home page template to use these new partials. - -``` -$ vi themes/zafta/layouts/index.html -{{ partial "header.html" . }} - -

posts

- {{ range first 10 .Data.Pages }} - {{ if eq .Type "post"}} -

{{ .Title }}

- {{ end }} - {{ end }} - -

pages

- {{ range .Data.Pages }} - {{ if or (eq .Type "page") (eq .Type "about") }} -

{{ .Type }} - {{ .Title }} - {{ .RelPermalink }}

- {{ end }} - {{ end }} - -{{ partial "footer.html" . }} -:wq -``` - -Generate the web site and verify the results. The title on the home page is now "your title here", which comes from the "title" variable in the config.toml file. - -### Update the Default Single Template to Use the Partials - -``` -$ vi themes/zafta/layouts/_default/single.html -{{ partial "header.html" . }} - -

{{ .Title }}

- {{ .Content }} - -{{ partial "footer.html" . }} -:wq -``` - -Generate the web site and verify the results. The title on the posts and the about page should both reflect the value in the markdown file. - -## Add “Date Published” to Posts - -It's common to have posts display the date that they were written or published, so let's add that. The front matter of our posts has a variable named "date." It's usually the date the content was created, but let's pretend that's the value we want to display. - -### Add “Date Published” to the Template - -We'll start by updating the template used to render the posts. The template code will look like: - -``` -{{ .Date.Format "Mon, Jan 2, 2006" }} -``` - -Posts use the default single template, so we'll change that file. - -``` -$ vi themes/zafta/layouts/_default/single.html -{{ partial "header.html" . }} - -

{{ .Title }}

-

{{ .Date.Format "Mon, Jan 2, 2006" }}

- {{ .Content }} - -{{ partial "footer.html" . }} -:wq -``` - -Generate the web site and verify the results. The posts now have the date displayed in them. There's a problem, though. The "about" page also has the date displayed. - -As usual, there are a couple of ways to make the date display only on posts. We could do an "if" statement like we did on the home page. Another way would be to create a separate template for posts. - -The "if" solution works for sites that have just a couple of content types. It aligns with the principle of "code for today," too. - -Let's assume, though, that we've made our site so complex that we feel we have to create a new template type. In Hugo-speak, we're going to create a section template. - -Let's restore the default single template before we forget. - -``` -$ mkdir themes/zafta/layouts/post -$ vi themes/zafta/layouts/_default/single.html -{{ partial "header.html" . }} - -

{{ .Title }}

- {{ .Content }} - -{{ partial "footer.html" . }} -:wq -``` - -Now we'll update the post's version of the single template. If you remember Hugo's rules, the template engine will use this version over the default. - -``` -$ vi themes/zafta/layouts/post/single.html -{{ partial "header.html" . }} - -

{{ .Title }}

-

{{ .Date.Format "Mon, Jan 2, 2006" }}

- {{ .Content }} - -{{ partial "footer.html" . }} -:wq - -``` - -Note that we removed the date logic from the default template and put it in the post template. Generate the web site and verify the results. Posts have dates and the about page doesn't. - -### Don't Repeat Yourself - -DRY is a good design goal and Hugo does a great job supporting it. Part of the art of a good template is knowing when to add a new template and when to update an existing one. While you're figuring that out, accept that you'll be doing some refactoring. Hugo makes that easy and fast, so it's okay to delay splitting up a template. diff --git a/themes/even/exampleSite/content/post/even-preview.md b/themes/even/exampleSite/content/post/even-preview.md deleted file mode 100644 index 8e905d0..0000000 --- a/themes/even/exampleSite/content/post/even-preview.md +++ /dev/null @@ -1,165 +0,0 @@ ---- -title: "Theme preview" -date: 2017-08-23T18:03:09+08:00 -lastmod: 2017-08-23T18:03:09+08:00 -draft: false -tags: ["preview", "Theme preview", "tag-3"] -categories: ["Theme preview", "category-2", "category-3"] -author: '米老朱' - -weight: 10 - -contentCopyright: 'See origin' - ---- -> Copy from [《Hugo 主题 Nuo 文章样式预览》](https://laozhu.me/post/hugo-nuo-post-preview/) - -这篇文章集中说明主题所支持的 Markdown 语法和 Hugo Shortcodes 插件,你也可以在这里预览到他们的样子。如果你不喜欢某些样式,可以去修改 css/ 文件夹下的 .scss 文件。 - -# 1.标题 - -# H1 -## H2 -### H3 -#### H4 -##### H5 -###### H6 - -## 2. 段落 - -使用单引号 `*` 或者单下划线 `_` 标记 *斜体强调* 或者 _斜体强调_ - -使用两个引号 `**` 或者两个下划线 `__` 标记 **加粗强调** 或者 __加粗强调__ - -引号和下划线可叠加使用 → **只是加粗 _斜体并加粗_** - -使用两个波浪线 `~~` 标记 ~~已删除文字~~ - -插入文字暂无 `Markdown` 标记,直接使用 `HTML` 标签 `` 标记 插入文字 - -行内代码使用反引号标记 → `print("hello world")` - -上标 X2 / 下标 X2 - -按键 Ctrl - -外链 [chekun's blog](https://chekun.me) - -页面内段落 [图片](#section-07) - -*注意:你可以通过 `{#section-id}` 方式自定义段落锚点* - -参考资料 [[1]](#ref01)[[2]](#ref02) - -## 3. 列表 - -以下的无序、有序和任务列表均支持二级嵌套,不建议使用二级以上嵌套。 - -### 3.1 无序列表 - -* 无序列表 - - 嵌套的无序列表 - - 嵌套的无序列表 -* 无序列表 - 1. 嵌套的有序列表 - 2. 嵌套的有序列表 -* 无序列表 - -### 3.2 有序列表 - -1. 有序列表 - 1. 嵌套的有序列表 - 2. 嵌套的有序列表 -2. 有序列表 - - 嵌套的无序列表 - - 嵌套的无序列表 -3. 有序列表 - -### 3.3 定义列表 - -CSS -: 层叠样式表 - -### 3.4 任务列表 - -- [ ] Cmd Markdown 开发 - - [ ] 改进 Cmd 渲染算法,使用局部渲染技术提高渲染效率 - - [ ] 支持以 PDF 格式导出文稿 - - [x] 新增Todo列表功能 [语法参考](https://github.com/blog/1375-task-lists-in-gfm-issues-pulls-comments) - - [x] 改进 LaTex 功能 - - [x] 修复 LaTex 公式渲染问题 - - [x] 新增 LaTex 公式编号功能 [语法参考](http://docs.mathjax.org/en/latest/tex.html#tex-eq-numbers) -- [ ] 七月旅行准备 - - [ ] 准备邮轮上需要携带的物品 - - [ ] 浏览日本免税店的物品 - - [x] 购买蓝宝石公主号七月一日的船票 - -## 4. 引用 - -> 野火烧不尽,春风吹又生。 -> -> -- 白居易《赋得古原草送别》 - -## 5. 代码 - -以本站的一段 `JavaScript` 代码做演示。 - -```javascript -// Initialize video.js player -if (document.getElementById('my-player') !== null) { - /* eslint-disable no-undef */ - videojs('#my-player', { - aspectRatio: '16:9', - fluid: true, - }); -} -``` - -## 6. 分割线 - ---- - -中间能写字的分割线,如果你修改了分割线中字的内容,请配合修改 `CSS` 样式。 - -## 7. 图片 {#section-07} - -不带标题的图片,如下图👇 - -![hugo even showcase](https://raw.githubusercontent.com/olOwOlo/hugo-theme-even/master/images/showcase.png "showcase.png") - -带标题的图片,如下图👇 - -{{% figure class="center" src="https://raw.githubusercontent.com/olOwOlo/hugo-theme-even/master/images/showcase.png" alt="hugo even showcase" title="showcase.png" %}} - -## 8. 表格 - -使用 `Markdown` 画的表格,如下表👇 - -| Tables | Are | Cool | -| :------------ |:-------------:| -----:| -| col 3 is | right-aligned | $1600 | -| col 2 is | centered | $12 | -| zebra stripes | are neat | $1 | - -## 9. 数学公式 - -主题使用了 [MathJax](https://www.mathjax.org/) 开源库来实现对数学公式的支持,使用 `$$` 标记。 - -$$ evidence\_{i}=\sum\_{j}W\_{ij}x\_{j}+b\_{i} $$ - -## 10. 网易云音乐 - -主题文章中可以轻松插入 [网易云音乐](https://music.163.com/) 的指定音乐,你可以根据需要将音乐设置为自动播放,在主题目录 `layouts/shortcodes` 文件夹下的 `music.html` 对该标签进行定义。 - -{{% music "28196554" %}} - -## 11. YouTube - -由于不明原因可能无法播放。 - -{{% youtube "wC5pJm8RAu4" %}} - -## 参考资料 - -1. [Markdown Cheatsheet](https://github.com/adam-p/markdown-here/wiki/Markdown-Cheatsheet) -2. [Markdown 语法手册](https://www.zybuluo.com/EncyKe/note/120103) diff --git a/themes/even/exampleSite/content/post/hidden-post.md b/themes/even/exampleSite/content/post/hidden-post.md deleted file mode 100644 index a2034e1..0000000 --- a/themes/even/exampleSite/content/post/hidden-post.md +++ /dev/null @@ -1,15 +0,0 @@ ---- -title: "This is a hidden post." -date: 2018-03-08T17:40:19+08:00 -lastmod: 2018-03-08T22:01:19+08:00 -draft: false -author: 'Halulu' - -hiddenFromHomePage: true ---- - -This post is hidden from the home page. - - - -But you can see it in archives, rss or other pages. \ No newline at end of file diff --git a/themes/even/exampleSite/content/post/japanese-preview.md b/themes/even/exampleSite/content/post/japanese-preview.md deleted file mode 100644 index e9c715d..0000000 --- a/themes/even/exampleSite/content/post/japanese-preview.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: "[日本語] 敬語体系" -date: 2017-08-30T01:53:34+08:00 -lastmod: 2017-08-30T01:53:34+08:00 -draft: false -keywords: [] -description: "" -tags: ["preview", "日本語", "tag-4"] -categories: ["日本語"] -author: "Wikipedia" - -contentCopyright: 'Creative Commons Attribution-ShareAlike License' - ---- - -> 日本語の敬語体系は、一般に、大きく尊敬語・謙譲語・丁寧語に分類される。文化審議会国語分科会は、2007年2月に「敬語の指針」を答申し、これに丁重語および美化語を含めた5分類を示している。 - -# 尊敬語 - -尊敬語は、動作の主体を高めることで、主体への敬意を表す言い方である。動詞に「お(ご)~になる」を付けた形、また、助動詞「(ら)れる」を付けた形などが用いられる。たとえば、動詞「取る」の尊敬形として、「(先生が)お取りになる」「(先生が)取られる」などが用いられる。 - -語によっては、特定の尊敬語が対応するものもある。たとえば、「言う」の尊敬語は「おっしゃる」、「食べる」の尊敬語は「召し上がる」、「行く・来る・いる」の尊敬語は「いらっしゃる」である。 - -# 謙譲語 - -謙譲語は、古代から基本的に動作の客体への敬意を表す言い方であり、現代では「動作の主体を低める」と解釈するほうがよい場合がある。動詞に「お~する」「お~いたします」(謙譲語+丁寧語)をつけた形などが用いられる。たとえば、「取る」の謙譲形として、「お取りする」などが用いられる。 - -語によっては、特定の謙譲語が対応するものもある。たとえば、「言う」の謙譲語は「申し上げる」、「食べる」の謙譲語は「いただく」、「(相手の所に)行く」の謙譲語は「伺う」「参上する」「まいる」である。 - -なお、「夜も更けてまいりました」の「まいり」など、謙譲表現のようでありながら、誰かを低めているわけではない表現がある。これは、「夜も更けてきた」という話題を丁重に表現することによって、聞き手への敬意を表すものである。宮地裕は、この表現に使われる語を、特に「丁重語」と称している[104][105]。丁重語にはほかに「いたし(マス)」「申し(マス)」「存じ(マス)」「小生」「小社」「弊社」などがある。文化審議会の「敬語の指針」でも、「明日から海外へまいります」の「まいり」のように、相手とは関りのない自分側の動作を表現する言い方を丁重語としている。 - -# 丁寧語 - -丁寧語は、文末を丁寧にすることで、聞き手への敬意を表すものである。動詞・形容詞の終止形で終わる常体に対して、名詞・形容動詞語幹などに「です」を付けた形(「学生です」「きれいです」)や、動詞に「ます」をつけた形(「行きます」「分かりました」)等の丁寧語を用いた文体を敬体という。 - -一般に、目上の人には丁寧語を用い、同等・目下の人には丁寧語を用いないといわれる。しかし、実際の言語生活に照らして考えれば、これは事実ではない。母が子を叱るとき、「お母さんはもう知りませんよ」と丁寧語を用いる場合ももある。丁寧語が用いられる多くの場合は、敬意や謝意の表現とされるが、、稀に一歩引いた心理的な距離をとろうとする場合もある。 - -「お弁当」「ご飯」などの「お」「ご」も、広い意味では丁寧語に含まれるが、宮地裕は特に「美化語」と称して区別する[104][105]。相手への丁寧の意を示すというよりは、話し手が自分の言葉遣いに配慮した表現である。したがって、「お弁当食べようよ。」のように、丁寧体でない文でも美化語を用いることがある。文化審議会の「敬語の指針」でも「美化語」を設けている。 diff --git a/themes/even/exampleSite/content/post/js-flowchart-diagrams.md b/themes/even/exampleSite/content/post/js-flowchart-diagrams.md deleted file mode 100644 index 2111c52..0000000 --- a/themes/even/exampleSite/content/post/js-flowchart-diagrams.md +++ /dev/null @@ -1,131 +0,0 @@ ---- -title: "JS Flowchart Diagrams" -date: 2015-03-04T21:57:50+08:00 -draft: false - -flowchartDiagrams: - enable: true - options: "{ - 'x': 0, - 'y': 0, - 'line-width': 3, - 'line-length': 50, - 'text-margin': 10, - 'font-size': 14, - 'font-color': 'black', - 'line-color': 'black', - 'element-color': 'black', - 'fill': 'white', - 'yes-text': 'yes', - 'no-text': 'no', - 'arrow-end': 'block', - 'scale': 1, - 'i-am-a-comment-1': 'Do not use //!', - 'i-am-a-comment-2': 'style symbol types', - 'symbols': { - 'start': { - 'font-color': 'red', - 'element-color': 'green', - 'fill': 'yellow' - }, - 'end': { - 'class': 'end-element' - } - }, - 'i-am-a-comment-3': 'even flowstate support ;-)', - 'flowstate': { - 'request': {'fill': 'blue'} - } - }" ---- - -## Usage - -```flowchart -st=>start: Start|past:>http://www.google.com[blank] -e=>end: End:>http://www.google.com -op1=>operation: My Operation|past -op2=>operation: Stuff|current -sub1=>subroutine: My Subroutine|invalid -cond=>condition: Yes -or No?|approved:>http://www.google.com -c2=>condition: Good idea|rejected -io=>inputoutput: catch something...|request - -st->op1(right)->cond -cond(yes, right)->c2 -cond(no)->sub1(left)->op1 -c2(yes)->io->e -c2(no)->op2->e -``` - - - - ```flowchart - st=>start: Start|past:>http://www.google.com[blank] - e=>end: End:>http://www.google.com - op1=>operation: My Operation|past - op2=>operation: Stuff|current - sub1=>subroutine: My Subroutine|invalid - cond=>condition: Yes - or No?|approved:>http://www.google.com - c2=>condition: Good idea|rejected - io=>inputoutput: catch something...|request - - st->op1(right)->cond - cond(yes, right)->c2 - cond(no)->sub1(left)->op1 - c2(yes)->io->e - c2(no)->op2->e - ``` - -## Configuration - -Configure for all home and regular pages: - -```toml -[params.flowchartDiagrams] - enable = true - options = "" -``` - -Configure for a single post in the front matter (**Params in front matter have higher precedence**): - -```yml -flowchartDiagrams: - enable: true - options: "{ - 'x': 0, - 'y': 0, - 'line-width': 3, - 'line-length': 50, - 'text-margin': 10, - 'font-size': 14, - 'font-color': 'black', - 'line-color': 'black', - 'element-color': 'black', - 'fill': 'white', - 'yes-text': 'yes', - 'no-text': 'no', - 'arrow-end': 'block', - 'scale': 1, - 'i-am-a-comment-1': 'Do not use /​/!', - 'i-am-a-comment-2': 'style symbol types', - 'symbols': { - 'start': { - 'font-color': 'red', - 'element-color': 'green', - 'fill': 'yellow' - }, - 'end': { - 'class': 'end-element' - } - }, - 'i-am-a-comment-3': 'even flowstate support ;-)', - 'flowstate': { - 'request': {'fill': 'blue'} - } - }" -``` - -See more information from https://github.com/adrai/flowchart.js. diff --git a/themes/even/exampleSite/content/post/js-sequence-diagrams.md b/themes/even/exampleSite/content/post/js-sequence-diagrams.md deleted file mode 100644 index 3ca3a1c..0000000 --- a/themes/even/exampleSite/content/post/js-sequence-diagrams.md +++ /dev/null @@ -1,95 +0,0 @@ ---- -title: "JS Sequence Diagrams" -date: 2015-03-04T21:57:45+08:00 -draft: false - -sequenceDiagrams: - enable: true - options: "{theme: 'hand'}" ---- - -## Usage - -```sequence -Andrew->China: Says Hello -Note right of China: China thinks\nabout it -China-->Andrew: How are you? -Andrew->>China: I am good thanks! -``` - - - - ```sequence - Andrew->China: Says Hello - Note right of China: China thinks\nabout it - China-->Andrew: How are you? - Andrew->>China: I am good thanks! - ``` - -## Configuration - -Configure for all home and regular pages: - -```toml -[params.sequenceDiagrams] - enable = true - options = "{theme: 'hand'}" -``` - -Configure for a single post in the front matter (**Params in front matter have higher precedence**): - -```yml -sequenceDiagrams: - enable: true - options: "{theme: 'hand'}" -``` - -### Options - -```js -options = { - // Change the styling of the diagram, typically one of 'simple', 'hand'. New themes can be registered with registerTheme(...). - theme: string, - - // CSS style to apply to the diagram's svg tag. (Only supported if using snap.svg) - css_class: string, -} -``` - -See more information from https://github.com/bramp/js-sequence-diagrams. - -## Examples - -```sequence -Title: Here is a title -A->B: Normal line -B-->C: Dashed line -C->>D: Open arrow -D-->>A: Dashed open arrow -``` - - ```sequence - Title: Here is a title - A->B: Normal line - B-->C: Dashed line - C->>D: Open arrow - D-->>A: Dashed open arrow - ``` - ---- - -```sequence -# Example of a comment. -Note left of A: Note to the\n left of A -Note right of A: Note to the\n right of A -Note over A: Note over A -Note over A,B: Note over both A and B -``` - - ```sequence - # Example of a comment. - Note left of A: Note to the\n left of A - Note right of A: Note to the\n right of A - Note over A: Note over A - Note over A,B: Note over both A and B - ``` diff --git a/themes/even/exampleSite/content/post/shortcodes.md b/themes/even/exampleSite/content/post/shortcodes.md deleted file mode 100644 index 4b05fe7..0000000 --- a/themes/even/exampleSite/content/post/shortcodes.md +++ /dev/null @@ -1,136 +0,0 @@ ---- -title: "Shortcodes" -date: 2016-08-30T16:01:23+08:00 -lastmod: 2018-02-01T18:01:23+08:00 -draft: false -tags: ["shortcodes"] -categories: ["shortcodes"] - ---- - -# center, right, left - -``` -## default -![img](/path/to/img.gif "img") - -{{%/* center */%}} -## center -![img](/path/to/img.gif "img") -{{%/* /center */%}} - -{{%/* right */%}} -## right -![img](/path/to/img.gif "img") -{{%/* /right */%}} - -{{%/* left */%}} -## left -![img](/path/to/img.gif "img") -{{%/* /left */%}} -``` - - -## default -![img](https://wx1.sinaimg.cn/small/006SToa6ly1fm07summ2gj30qo0qomzu.jpg "img") - -{{% center %}} -## center -![img](https://wx1.sinaimg.cn/small/006SToa6ly1fm07summ2gj30qo0qomzu.jpg "img") -{{% /center %}} - -{{% right %}} -## right -![img](https://wx1.sinaimg.cn/small/006SToa6ly1fm07summ2gj30qo0qomzu.jpg "img") -{{% /right %}} - -{{% left %}} -## left -![img](https://wx1.sinaimg.cn/small/006SToa6ly1fm07summ2gj30qo0qomzu.jpg "img") -{{% /left %}} - ---- - -## figure with class - -``` -{{%/* figure src="/path/to/img.gif" title="default" alt="img" */%}} -{{%/* figure class="center" src="/path/to/img.gif" title="center" alt="img" */%}} -{{%/* figure class="right" src="/path/to/img.gif" title="right" alt="img" */%}} -{{%/* figure class="left" src="/path/to/img.gif" title="left" alt="img" */%}} -``` - -{{% figure src="https://wx1.sinaimg.cn/small/006SToa6ly1fm07summ2gj30qo0qomzu.jpg" title="default" alt="img" %}} -{{% figure class="center" src="https://wx1.sinaimg.cn/small/006SToa6ly1fm07summ2gj30qo0qomzu.jpg" title="center" alt="img" %}} -{{% figure class="right" src="https://wx1.sinaimg.cn/small/006SToa6ly1fm07summ2gj30qo0qomzu.jpg" title="right" alt="img" %}} -{{% figure class="left" src="https://wx1.sinaimg.cn/small/006SToa6ly1fm07summ2gj30qo0qomzu.jpg" title="left" alt="img" %}} - ---- - -``` -{{%/* center */%}} - -## hybrid in center -{{%/* figure src="/path/to/img.gif" title="default" alt="img" */%}} -{{%/* figure class="right" src="/path/to/img.gif" title="right" alt="img" */%}} - -{{%/* left */%}} -{{%/* figure src="/path/to/img.gif" title="default in left" alt="img" */%}} -{{%/* /left */%}} - -{{%/* /center */%}} -``` - -{{% center %}} -## hybrid in center -{{% figure src="https://wx1.sinaimg.cn/small/006SToa6ly1fm07summ2gj30qo0qomzu.jpg" title="default" alt="img" %}} -{{% figure class="right" src="https://wx1.sinaimg.cn/small/006SToa6ly1fm07summ2gj30qo0qomzu.jpg" title="right" alt="img" %}} -{{% left %}} -{{% figure src="https://wx1.sinaimg.cn/small/006SToa6ly1fm07summ2gj30qo0qomzu.jpg" title="default in left" alt="img" %}} -{{% /left %}} -{{% /center %}} - ---- - -# Music 163 - -## Params -- `id` - - required param - - you can extract from music url - - url format http://music.163.com/#/song?id=28196554 - -- Fiddle `auto` - - optional param - - default value 0 - - you can overwrite it with 1 - -## Examples - -- Simple - -``` -{{%/* music "28196554" */%}} -{{%/* music "28196554" "1" */%}} -``` - -- Named Params - -``` -{{%/* music id="28196554" */%}} -{{%/* music id="28196554" auto="1" */%}} -``` - -- Example - -``` -{{%/* music "28196554" */%}} -``` - -{{% music "28196554" %}} - - diff --git a/themes/even/exampleSite/content/post/syntax-highlighting.md b/themes/even/exampleSite/content/post/syntax-highlighting.md deleted file mode 100644 index b2f0770..0000000 --- a/themes/even/exampleSite/content/post/syntax-highlighting.md +++ /dev/null @@ -1,100 +0,0 @@ ---- -title: "Syntax Highlighting" -date: 2011-08-30T16:01:23+08:00 -lastmod: 2017-08-30T16:01:23+08:00 -draft: false -tags: ["preview", "Syntax Highlighting", "tag-5"] -categories: ["Syntax Highlighting"] - -toc: false - ---- - - -```js -function helloWorld () { - alert("Hello, World!") -} -``` - - - -```java -public class HelloWorld { - public static void main(String[] args) { - System.out.println("Hello, World!"); - } -} -``` - -```kotlin -package hello - -fun main(args: Array) { - println("Hello World!") -} -``` - -```c -#include - -/* Hello */ -int main(void){ - printf("Hello, World!"); - return 0; -} -``` - -```cpp -// 'Hello World!' program - -#include - -int main(){ - std::cout << "Hello World!" << std::endl; - return 0; -} -``` - -```cs -using System; -class HelloWorld{ - public static void Main(){ - System.Console.WriteLine("Hello, World!"); - } -} -``` - -```html - - - Hello, World! - - -``` - -```go -package main -import fmt "fmt" - -func main() -{ - fmt.Printf("Hello, World!\n"); -} -``` - -```scala -object HelloWorld with Application { - Console.println("Hello, World!"); -} -``` - -```php - -``` - -```python -print("Hello, World!") -``` diff --git a/themes/even/i18n/en.yaml b/themes/even/i18n/en.yaml deleted file mode 100644 index 48870d6..0000000 --- a/themes/even/i18n/en.yaml +++ /dev/null @@ -1,102 +0,0 @@ -# ===== title ===== -archive: - other: "Archive" - -tags: - other: "Tags" - -categories: - other: "Categories" - -# ===== footer ===== -powered: - other: "Powered by %s" - -theme: - other: "Theme" - -siteUV: - other: "site uv: %s" - -sitePV: - other: "site pv: %s" - -pagePV: - other: "%s times read" - -# ===== post ===== -prevPage: - other: "Prev" - -nextPage: - other: "Next" - -prevPost: - other: "Prev" - -nextPost: - other: "Next" - -toc: - other: "Contents" - -readMore: - other: "Read more.." - -reward: - other: "Reward" - -rewardAlipay: - other: "alipay" - -rewardWechat: - other: "wechat" - -wordCount: - one: "{{ .Count }} word" - other: "{{ .Count }} words" - -readingTime: - one: "{{ .Count }} min read" - other: "{{ .Count }} mins read" - -outdatedInfoWarningBefore: - other: "[NOTE] Updated " - -outdatedInfoWarningAfter: - other: ". This article may have outdated content or subject matter." - -# ===== content license ===== -author: - other: "Author" - -lastMod: - other: "LastMod" - -markdown: - other: "Markdown" - -seeMarkDown: - other: "The Markdown version »" - -license: - other: "License" - -# ===== counter ===== -archiveCounter: - one: "{{ .Count }} Post In Total" - other: "{{ .Count }} Posts In Total" - -tagCounter: - one: "{{ .Count }} Tag In Total" - other: "{{ .Count }} Tags In Total" - -zeroTagCounter: - other: "No tags" - -categoryCounter: - one: "{{ .Count }} Category In Total" - other: "{{ .Count }} Categories In Total" - -zeroCategoryCounter: - other: "No categories" diff --git a/themes/even/i18n/es.yaml b/themes/even/i18n/es.yaml deleted file mode 100644 index ea6e079..0000000 --- a/themes/even/i18n/es.yaml +++ /dev/null @@ -1,102 +0,0 @@ -# ===== title ===== -archive: - other: "Archivo" - -tags: - other: "Tags" - -categories: - other: "Categorías" - -# ===== footer ===== -powered: - other: "Creado con %s" - -theme: - other: "Tema" - -siteUV: - other: "sitio uv: %s" - -sitePV: - other: "sitio pv: %s" - -pagePV: - other: "%s leido" - -# ===== post ===== -prevPage: - other: "Previo" - -nextPage: - other: "Siguiente" - -prevPost: - other: "Previo" - -nextPost: - other: "Siguiente" - -toc: - other: "Contenidos" - -readMore: - other: "Leer mas.." - -reward: - other: "Reward" - -rewardAlipay: - other: "alipay" - -rewardWechat: - other: "wechat" - -wordCount: - one: "{{ .Count }} palabra" - other: "{{ .Count }} palabras" - -readingTime: - one: "{{ .Count }} min lectura" - other: "{{ .Count }} mins lectura" - -outdatedInfoWarningBefore: - other: "[NOTE] Updated " - -outdatedInfoWarningAfter: - other: ". This article may have outdated content or subject matter." - -# ===== content license ===== -author: - other: "Autor" - -lastMod: - other: "Ultima modificación" - -markdown: - other: "Markdown" - -seeMarkDown: - other: "Versión Markdown »" - -license: - other: "Licencia" - -# ===== counter ===== -archiveCounter: - one: "{{ .Count }} Post en Total" - other: "{{ .Count }} Posts en Total" - -tagCounter: - one: "{{ .Count }} Tag en Total" - other: "{{ .Count }} Tags en Total" - -zeroTagCounter: - other: "No tags" - -categoryCounter: - one: "{{ .Count }} Categoria en Total" - other: "{{ .Count }} Categorias en Total" - -zeroCategoryCounter: - other: "No categorias" diff --git a/themes/even/i18n/fr.yaml b/themes/even/i18n/fr.yaml deleted file mode 100644 index 9262efe..0000000 --- a/themes/even/i18n/fr.yaml +++ /dev/null @@ -1,102 +0,0 @@ -# ===== title ===== -archive: - other: "Archive" - -tags: - other: "Tags" - -categories: - other: "Catégories" - -# ===== footer ===== -powered: - other: "Propulsé par %s" - -theme: - other: "Thème" - -siteUV: - other: "site uv: %s" - -sitePV: - other: "site pv: %s" - -pagePV: - other: "%s temps de lecture" - -# ===== post ===== -prevPage: - other: "Plus récents" - -nextPage: - other: "Plus vieux" - -prevPost: - other: "Précédent" - -nextPost: - other: "Suivant" - -toc: - other: "Contenu" - -readMore: - other: "Lire la suite..." - -reward: - other: "Reward" - -rewardAlipay: - other: "alipay" - -rewardWechat: - other: "wechat" - -wordCount: - one: "{{ .Count }} mots" - other: "{{ .Count }} mots" - -readingTime: - one: "{{ .Count }} min de lecture" - other: "{{ .Count }} mins de lecture" - -outdatedInfoWarningBefore: - other: "[NOTE] Updated " - -outdatedInfoWarningAfter: - other: ". This article may have outdated content or subject matter." - -# ===== content license ===== -author: - other: "Auteur" - -lastMod: - other: "Modifié" - -markdown: - other: "Markdown" - -seeMarkDown: - other: "Version de Markdown »" - -license: - other: "Licence" - -# ===== counter ===== -archiveCounter: - one: "{{ .Count }} Articles au total" - other: "{{ .Count }} Articles au total" - -tagCounter: - one: "{{ .Count }} Tag au total" - other: "{{ .Count }} Tags au total" - -zeroTagCounter: - other: "Aucun tag" - -categoryCounter: - one: "{{ .Count }} Catégorie au total" - other: "{{ .Count }} Catégories au total" - -zeroCategoryCounter: - other: "Aucune catégorie" diff --git a/themes/even/i18n/zh-CN.yaml b/themes/even/i18n/zh-CN.yaml deleted file mode 100644 index b6ecf5c..0000000 --- a/themes/even/i18n/zh-CN.yaml +++ /dev/null @@ -1,102 +0,0 @@ -# ===== title ===== -archive: - other: "归档" - -tags: - other: "标签" - -categories: - other: "分类" - -# ===== footer ===== -powered: - other: "由 %s 强力驱动" - -theme: - other: "主题" - -siteUV: - other: "本站总访客数 %s 人" - -sitePV: - other: "本站总访问量 %s 次" - -pagePV: - other: "%s 次阅读" - -# ===== post ===== -prevPage: - other: "上一页" - -nextPage: - other: "下一页" - -prevPost: - other: "上一篇" - -nextPost: - other: "下一篇" - -toc: - other: "文章目录" - -readMore: - other: "阅读更多" - -reward: - other: "赞赏支持" - -rewardAlipay: - other: "支付宝打赏" - -rewardWechat: - other: "微信打赏" - -wordCount: - one: "约 {{ .Count }} 字" - other: "约 {{ .Count }} 字" - -readingTime: - one: "预计阅读 {{ .Count }} 分钟" - other: "预计阅读 {{ .Count }} 分钟" - -outdatedInfoWarningBefore: - other: "【注意】最后更新于 " - -outdatedInfoWarningAfter: - other: ",文中内容可能已过时,请谨慎使用。" - -# ===== content license ===== -author: - other: "文章作者" - -lastMod: - other: "上次更新" - -markdown: - other: "原始文档" - -seeMarkDown: - other: "查看本文 Markdown 版本 »" - -license: - other: "许可协议" - -# ===== counter ===== -archiveCounter: - one: "共计 {{ .Count }} 篇文章" - other: "共计 {{ .Count }} 篇文章" - -tagCounter: - one: "共计 {{ .Count }} 个标签" - other: "共计 {{ .Count }} 个标签" - -zeroTagCounter: - other: "暂无标签" - -categoryCounter: - one: "共计 {{ .Count }} 个分类" - other: "共计 {{ .Count }} 个分类" - -zeroCategoryCounter: - other: "暂无分类" diff --git a/themes/even/images/screenshot.png b/themes/even/images/screenshot.png deleted file mode 100644 index 7e18400..0000000 Binary files a/themes/even/images/screenshot.png and /dev/null differ diff --git a/themes/even/images/showcase.png b/themes/even/images/showcase.png deleted file mode 100644 index 8d651cc..0000000 Binary files a/themes/even/images/showcase.png and /dev/null differ diff --git a/themes/even/images/tn.png b/themes/even/images/tn.png deleted file mode 100644 index 7207960..0000000 Binary files a/themes/even/images/tn.png and /dev/null differ diff --git a/themes/even/layouts/404.html b/themes/even/layouts/404.html deleted file mode 100644 index fcf2b37..0000000 --- a/themes/even/layouts/404.html +++ /dev/null @@ -1,18 +0,0 @@ -{{ define "title" }}404 page not found - {{ .Site.Title }}{{ end }} - -{{ define "content" }} -
-

-

/* 404 page not found. */

- -
- -{{ end }} diff --git a/themes/even/layouts/_default/baseof.html b/themes/even/layouts/_default/baseof.html deleted file mode 100644 index 0693148..0000000 --- a/themes/even/layouts/_default/baseof.html +++ /dev/null @@ -1,46 +0,0 @@ -{{ if ne .Site.Params.version "3.x" -}} -{{ errorf "\n\nThere are two possible situations that led to this error:\n 1. You haven't copied the config.toml yet. See https://github.com/olOwOlo/hugo-theme-even#installation \n 2. You have an incompatible update. See https://github.com/olOwOlo/hugo-theme-even/blob/master/CHANGELOG.md#300 \n\n有两种可能的情况会导致这个错误发生:\n 1. 你还没有复制 config.toml 参考 https://github.com/olOwOlo/hugo-theme-even/blob/master/README-zh.md#installation \n 2. 你进行了一次不兼容的更新 参考 https://github.com/olOwOlo/hugo-theme-even/blob/master/CHANGELOG.md#300 \n" -}} -{{ end -}} - - - - - - - {{- block "title" . -}} - {{ if .IsPage }}{{ .Title }} - {{ .Site.Title }}{{ else }}{{ .Site.Title }}{{ end }} - {{- end -}} - - {{ partial "head.html" . }} - - - {{ partial "slideout.html" . }} -
- {{ if not .Params.hideHeaderAndFooter -}} - - {{- end }} - -
-
-
- {{ block "content" . }}{{ end }} -
- {{ partial "comments.html" . }} -
-
- - {{ if not .Params.hideHeaderAndFooter -}} -
- {{ partial "footer.html" . }} -
- {{- end }} - -
- -
-
- {{ partial "scripts.html" . }} - - diff --git a/themes/even/layouts/_default/section.html b/themes/even/layouts/_default/section.html deleted file mode 100644 index fbe80f1..0000000 --- a/themes/even/layouts/_default/section.html +++ /dev/null @@ -1,50 +0,0 @@ -{{ define "title" }}{{ T "archive" }} - {{ .Site.Title }}{{ end }} - -{{ define "content"}} -{{- $paginator := .Paginate .Data.Pages.ByDate.Reverse .Site.Params.archivePaginate }} -
- {{- if and (not $paginator.HasPrev) .Site.Params.showArchiveCount }} -
- - {{ T "archiveCounter" (len .Data.Pages) }} - -
- {{- end -}} - - {{- range $index, $element := $paginator.Pages -}} - {{- $thisYear := $element.Date.Format "2006" }} - {{- $lastElement := $index | add -1 | index $paginator.Pages }} - {{ if or (eq $index 0) ( ne ($lastElement.Date.Format "2006") $thisYear ) }} -
-

{{ $thisYear }}

-
- {{- end }} - -
- - {{ $element.Date.Format "01-02" }} - - - - {{ .Title }} - - -
- {{- end -}} -
- - -{{ end }} diff --git a/themes/even/layouts/_default/single.html b/themes/even/layouts/_default/single.html deleted file mode 100644 index a1c30fd..0000000 --- a/themes/even/layouts/_default/single.html +++ /dev/null @@ -1,7 +0,0 @@ -{{ define "content" -}} -
-
- {{ .Content }} -
-
-{{- end }} \ No newline at end of file diff --git a/themes/even/layouts/_default/single.md b/themes/even/layouts/_default/single.md deleted file mode 100644 index 57705e2..0000000 --- a/themes/even/layouts/_default/single.md +++ /dev/null @@ -1 +0,0 @@ -{{ .RawContent }} \ No newline at end of file diff --git a/themes/even/layouts/_default/taxonomy.html b/themes/even/layouts/_default/taxonomy.html deleted file mode 100644 index d0c8d43..0000000 --- a/themes/even/layouts/_default/taxonomy.html +++ /dev/null @@ -1,46 +0,0 @@ -{{ define "title" }}{{ .Title }} · {{ .Site.Title }}{{ end }} - -{{ define "content"}} -{{ $paginator := .Paginate .Data.Pages.ByDate.Reverse .Site.Params.archivePaginate }} -
- {{ if not $paginator.HasPrev }} - {{ if eq .Data.Plural "tags" }} -
-

{{ .Title }}

-
- {{ else if eq .Data.Plural "categories" }} -
-

{{ .Title }}

-
- {{ end }} - {{ end }} - - {{ range $paginator.Pages }} -
- - {{ .Date.Format (.Site.Params.dateFormatToUse | default "2006-01-02") }} - - - - {{ .Title }} - - -
- {{ end }} -
- - -{{ end }} diff --git a/themes/even/layouts/_default/terms.html b/themes/even/layouts/_default/terms.html deleted file mode 100644 index 04b98f8..0000000 --- a/themes/even/layouts/_default/terms.html +++ /dev/null @@ -1,44 +0,0 @@ -{{ define "title" }}{{ T .Data.Plural }} - {{ .Site.Title }}{{ end }} - -{{ define "content" }} - {{ $name := .Data.Plural -}} - {{ $terms := .Data.Terms.ByCount -}} - {{ $length := len $terms -}} - {{ if eq $name "categories" }} -
-
- {{ if eq $length 0 }} - {{ T "zeroCategoryCounter" }} - {{ else }} - {{ T "categoryCounter" $length }} - {{ end }} -
-
- {{ range $key, $value := $terms }} - - {{ $value.Term }} - {{ len $value.Pages }} - - {{ end }} -
-
- {{ else if eq $name "tags" }} -
-
- {{ if eq $length 0 }} - {{ T "zeroTagCounter" }} - {{ else }} - {{ T "tagCounter" $length }} - {{ end }} -
-
- {{ range $key, $value := $terms }} - - {{ $value.Term }} - {{ len $value.Pages }} - - {{ end }} -
-
- {{ end }} -{{ end }} \ No newline at end of file diff --git a/themes/even/layouts/index.html b/themes/even/layouts/index.html deleted file mode 100644 index 26d6869..0000000 --- a/themes/even/layouts/index.html +++ /dev/null @@ -1,24 +0,0 @@ -{{ define "content" }} -
- {{/* (index .Site.Paginate) */}} - {{ $paginator := .Paginate (where (where .Data.Pages "Type" "post") ".Params.hiddenfromhomepage" "!=" true) }} - {{ range $paginator.Pages }} - {{ .Render "summary" }} - {{ end }} -
- - -{{ end }} \ No newline at end of file diff --git a/themes/even/layouts/partials/comments.html b/themes/even/layouts/partials/comments.html deleted file mode 100644 index 440240a..0000000 --- a/themes/even/layouts/partials/comments.html +++ /dev/null @@ -1,109 +0,0 @@ -{{ if and .IsPage (ne .Params.comment false) }} - - {{- if .Site.DisqusShortname -}} -
- - - {{- end -}} - - - {{- if and .Site.Params.changyanAppid .Site.Params.changyanAppkey -}} -
- - {{- end -}} - - - {{- if .Site.Params.livereUID -}} -
- - -
- {{- end -}} - - - {{- if .Site.Params.gitment.owner -}} -
- {{ if .Site.Params.publicCDN.enable -}} - {{ .Site.Params.publicCDN.gitmentCSS | safeHTML }} - {{ .Site.Params.publicCDN.gitmentJS | safeHTML }} - {{- else -}} - - - {{- end }} - - - {{- end }} - - - {{- if .Site.Params.gitalk.owner -}} -
- {{ if .Site.Params.publicCDN.enable -}} - {{ .Site.Params.publicCDN.gitalkCSS | safeHTML }} - {{ .Site.Params.publicCDN.gitalkJS | safeHTML }} - {{- else -}} - - - {{- end }} - - - {{- end }} - -{{- end }} diff --git a/themes/even/layouts/partials/footer.html b/themes/even/layouts/partials/footer.html deleted file mode 100644 index 461a5c8..0000000 --- a/themes/even/layouts/partials/footer.html +++ /dev/null @@ -1,23 +0,0 @@ - diff --git a/themes/even/layouts/partials/head.html b/themes/even/layouts/partials/head.html deleted file mode 100644 index afe7004..0000000 --- a/themes/even/layouts/partials/head.html +++ /dev/null @@ -1,79 +0,0 @@ - - - - - - - - - - - - - - -{{- if .Description -}} - -{{ else if .IsPage }} - -{{ else if .Site.Params.description }} - -{{- end -}} - -{{- if .Keywords -}} - {{ $length := len .Keywords | add -1 -}} - -{{ else if .Site.Params.keywords }} - {{ $length := len .Site.Params.keywords | add -1 -}} - -{{- end }} - - -{{ with .Site.Params.baidu_verification }}{{ end }} -{{ with .Site.Params.google_verification }}{{ end }} - - - - - - - - - - - - - -{{- if .Site.Params.debug }} - - -{{- end }} - - - -{{ if .Site.Params.publicCDN.enable -}} - {{ if .Site.Params.fancybox }}{{ .Site.Params.publicCDN.fancyboxCss | safeHTML }}{{ end }} -{{- else -}} - {{ if .Site.Params.fancybox }}{{ end }} -{{- end }} - - -{{ range .Site.Params.customCSS }} - -{{ end }} - -{{/* NOTE: These Hugo Internal Templates can be found starting at https://github.com/spf13/hugo/blob/master/tpl/tplimpl/template_embedded.go#L158 */}} -{{- template "_internal/opengraph.html" . -}} -{{- template "_internal/google_news.html" . -}} -{{- template "_internal/schema.html" . -}} -{{- template "_internal/twitter_cards.html" . -}} - - -{{ `` | safeHTML }} - -{{ `` | safeHTML }} diff --git a/themes/even/layouts/partials/header.html b/themes/even/layouts/partials/header.html deleted file mode 100644 index 3592e88..0000000 --- a/themes/even/layouts/partials/header.html +++ /dev/null @@ -1,19 +0,0 @@ - - - \ No newline at end of file diff --git a/themes/even/layouts/partials/post/copyright.html b/themes/even/layouts/partials/post/copyright.html deleted file mode 100644 index cd42d68..0000000 --- a/themes/even/layouts/partials/post/copyright.html +++ /dev/null @@ -1,32 +0,0 @@ -{{ if or .Params.postMetaInFooter (and .Site.Params.postMetaInFooter (ne .Params.postMetaInFooter false)) -}} -
- - - {{ if $.Site.Params.linkToMarkDown -}} - {{ with $.OutputFormats.Get "markdown" -}} - - {{- end }} - {{- end }} - {{ if or .Params.contentCopyright (and .Site.Params.contentCopyright (ne .Params.contentCopyright false)) -}} - - {{- end }} -
-{{- end }} \ No newline at end of file diff --git a/themes/even/layouts/partials/post/outdated-info-warning.html b/themes/even/layouts/partials/post/outdated-info-warning.html deleted file mode 100644 index 3736c13..0000000 --- a/themes/even/layouts/partials/post/outdated-info-warning.html +++ /dev/null @@ -1,28 +0,0 @@ -{{- if or .Params.enableOutdatedInfoWarning (and .Site.Params.outdatedInfoWarning.enable (ne .Params.enableOutdatedInfoWarning false)) }} - {{- $daysAgo := div (sub now.Unix .Lastmod.Unix) 86400 }} - {{- $hintThreshold := .Site.Params.outdatedInfoWarning.hint | default 30 }} - {{- $warnThreshold := .Site.Params.outdatedInfoWarning.warn | default 180 }} - - {{- $updateTime := .Lastmod }} - {{- if .GitInfo }} - {{- if lt .GitInfo.AuthorDate.Unix .Lastmod.Unix }} - {{- $updateTime := .GitInfo.AuthorDate }} - {{- end }} - {{- end -}} - - {{- if gt $daysAgo $hintThreshold }} -
- {{- if gt $daysAgo $warnThreshold }} -
- {{- else }} -
- {{- end }} -

{{ T "outdatedInfoWarningBefore" -}} - - {{- dateFormat "January 2, 2006" $updateTime -}} - {{ T "outdatedInfoWarningAfter" -}} -

-
-
- {{- end -}} -{{- end -}} diff --git a/themes/even/layouts/partials/post/reward.html b/themes/even/layouts/partials/post/reward.html deleted file mode 100644 index 3242854..0000000 --- a/themes/even/layouts/partials/post/reward.html +++ /dev/null @@ -1,21 +0,0 @@ -{{ if or .Params.reward (and .Site.Params.reward.enable (ne .Params.reward false)) }} -
- - -
- {{ $qrCode := .Site.Params.reward }} - {{ with $qrCode.wechat }} - - {{- end }} - {{ with $qrCode.alipay }} - - {{- end }} -
-
-{{- end }} \ No newline at end of file diff --git a/themes/even/layouts/partials/post/toc.html b/themes/even/layouts/partials/post/toc.html deleted file mode 100644 index 4fed1c7..0000000 --- a/themes/even/layouts/partials/post/toc.html +++ /dev/null @@ -1,9 +0,0 @@ -{{ if or .Params.toc (and .Site.Params.toc (ne .Params.toc false)) }} -
-

{{ T "toc" }}

- {{ $globalAutoCollapseToc := .Site.Params.autoCollapseToc | default false }} -
- {{.TableOfContents}} -
-
-{{- end }} \ No newline at end of file diff --git a/themes/even/layouts/partials/scripts.html b/themes/even/layouts/partials/scripts.html deleted file mode 100644 index 803ac6a..0000000 --- a/themes/even/layouts/partials/scripts.html +++ /dev/null @@ -1,115 +0,0 @@ - - -{{- if .Site.Params.publicCDN.enable }} - {{ .Site.Params.publicCDN.jquery | safeHTML }} - {{ .Site.Params.publicCDN.slideout | safeHTML }} - {{ if .Site.Params.fancybox }}{{ .Site.Params.publicCDN.fancyboxJs | safeHTML }}{{ end }} -{{- else -}} - - - {{ if .Site.Params.fancybox }}{{ end }} -{{- end -}} - - -{{- if and (or .Params.enableOutdatedInfoWarning (and .Site.Params.outdatedInfoWarning.enable (ne .Params.enableOutdatedInfoWarning false))) (or .IsPage .IsHome) }} - {{- if .Site.Params.publicCDN.enable }} - {{ .Site.Params.publicCDN.timeagoJS | safeHTML }} - {{ .Site.Params.publicCDN.timeagoLocalesJS | safeHTML }} - {{- else }} - - - {{- end }} - -{{- end }} - - -{{- if and (or .Params.flowchartDiagrams.enable (and .Site.Params.flowchartDiagrams.enable (ne .Params.flowchartDiagrams.enable false))) (or .IsPage .IsHome) -}} - - - -{{- end -}} - - -{{- if and (or .Params.sequenceDiagrams.enable (and .Site.Params.sequenceDiagrams.enable (ne .Params.sequenceDiagrams.enable false))) (or .IsPage .IsHome) -}} - - - - - - -{{- end }} - - -{{- if and (or .Params.mathjax (and .Site.Params.mathjax (ne .Params.mathjax false))) (or .IsPage .IsHome) }} - - -{{- end }} - - -{{- if .Site.GoogleAnalytics -}} - {{ template "_internal/google_analytics_async.html" . }} -{{- end -}} - -{{- with .Site.Params.baidu_analytics -}} - -{{- end }} - - -{{- if .Site.Params.baidu_push -}} - -{{- end }} - - -{{ range .Site.Params.customJS }} - -{{ end }} diff --git a/themes/even/layouts/partials/slideout.html b/themes/even/layouts/partials/slideout.html deleted file mode 100644 index 42ed13e..0000000 --- a/themes/even/layouts/partials/slideout.html +++ /dev/null @@ -1,25 +0,0 @@ - - \ No newline at end of file diff --git a/themes/even/layouts/post/single.html b/themes/even/layouts/post/single.html deleted file mode 100644 index 3be59a6..0000000 --- a/themes/even/layouts/post/single.html +++ /dev/null @@ -1,73 +0,0 @@ -{{ define "content" -}} -
- -
-

{{ .Title }}

- - -
- - - {{ partial "post/toc.html" . }} - - - {{ partial "post/outdated-info-warning.html" . }} - - {{ with .Params.tags -}} - - {{- end }} - - -
- {{ .Content }} -
- - - {{ partial "post/copyright.html" . }} - - - {{ partial "post/reward.html" . }} - - -
-{{- end }} diff --git a/themes/even/layouts/post/summary.html b/themes/even/layouts/post/summary.html deleted file mode 100644 index 6069ca1..0000000 --- a/themes/even/layouts/post/summary.html +++ /dev/null @@ -1,28 +0,0 @@ -
-
-

{{ .Title }}

- -
- -
-
- {{ .Summary }} -
- -
-
diff --git a/themes/even/layouts/robots.txt b/themes/even/layouts/robots.txt deleted file mode 100644 index e89778e..0000000 --- a/themes/even/layouts/robots.txt +++ /dev/null @@ -1,2 +0,0 @@ -User-agent: * -Sitemap: {{ "sitemap.xml" | absURL }} diff --git a/themes/even/layouts/shortcodes/center.html b/themes/even/layouts/shortcodes/center.html deleted file mode 100644 index e9022d0..0000000 --- a/themes/even/layouts/shortcodes/center.html +++ /dev/null @@ -1,3 +0,0 @@ -
- {{ .Inner }} -
\ No newline at end of file diff --git a/themes/even/layouts/shortcodes/left.html b/themes/even/layouts/shortcodes/left.html deleted file mode 100644 index c2c5102..0000000 --- a/themes/even/layouts/shortcodes/left.html +++ /dev/null @@ -1,3 +0,0 @@ -
- {{ .Inner }} -
\ No newline at end of file diff --git a/themes/even/layouts/shortcodes/music.html b/themes/even/layouts/shortcodes/music.html deleted file mode 100644 index 22b2268..0000000 --- a/themes/even/layouts/shortcodes/music.html +++ /dev/null @@ -1,62 +0,0 @@ - {{/* - ## Music 163 - - ### Params: - - - `id` - - required param - you can extract from music url - url format "http://music.163.com/#/song?id=3950552" - - - Fiddle `auto` - - optional param - default value 0 - you can overwrite it with 1 - - ### Examples: - - - Simple - - {{% music "3950552" %}} - {{% music "3950552" "1" %}} - - - Named Params - - {{% music id="3950552" %}} - {{% music id="3950552" auto="1" %}} - - */}} - - {{- /* DEFAULTS */ -}} - {{ $auto := "0" }} - - {{- if .IsNamedParams -}} - - - - {{- else -}} - - - - {{- end -}} - \ No newline at end of file diff --git a/themes/even/layouts/shortcodes/right.html b/themes/even/layouts/shortcodes/right.html deleted file mode 100644 index 37a9a33..0000000 --- a/themes/even/layouts/shortcodes/right.html +++ /dev/null @@ -1,3 +0,0 @@ -
- {{ .Inner }} -
\ No newline at end of file diff --git a/themes/even/layouts/sitemap.xml b/themes/even/layouts/sitemap.xml deleted file mode 100644 index 19dd68d..0000000 --- a/themes/even/layouts/sitemap.xml +++ /dev/null @@ -1,11 +0,0 @@ -{{ "" | safeHTML }} - - {{ range .Data.Pages }} - - {{ .Permalink }}{{ if not .Lastmod.IsZero }} - {{ safeHTML ( .Lastmod.Format "2006-01-02T15:04:05-07:00" ) }}{{ end }}{{ with .Sitemap.ChangeFreq }} - {{ . }}{{ end }}{{ if ge .Sitemap.Priority 0.0 }} - {{ .Sitemap.Priority }}{{ end }} - - {{ end }} - \ No newline at end of file diff --git a/themes/even/src/.babelrc b/themes/even/src/.babelrc deleted file mode 100644 index 2645a84..0000000 --- a/themes/even/src/.babelrc +++ /dev/null @@ -1,10 +0,0 @@ -{ - "presets": ["es2015","stage-2"], - "plugins": [ - ["transform-runtime", { - "polyfill": false, - "regenerator": true - }] - ], - "ignore": [] -} diff --git a/themes/even/src/css/_base.scss b/themes/even/src/css/_base.scss deleted file mode 100644 index e6d06a5..0000000 --- a/themes/even/src/css/_base.scss +++ /dev/null @@ -1,110 +0,0 @@ -@import '_common/normalize'; - -html { - font-size: $global-font-size; - box-sizing: border-box; -} - -body { - padding: 0; - margin: 0; - font-family: $global-font-family; - font-weight: normal; - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; - line-height: $global-lineheight; - color: $global-font-color; - background: $global-background; - scroll-behavior: smooth; - border-top: 3px solid $theme-color; -} - -@include max-screen() { - body { - border-top: 0; - } -} - -::selection { - background: $theme-color; - color: #fff; -} - -// ::-webkit-scrollbar { -// width: 8px; -// height: 6px; -// } - -// ::-webkit-scrollbar-thumb { -// background: lighten($theme-color, 10%); -// border-radius: 5px; -// } - -// ::-webkit-scrollbar-track { -// background: rgba(211, 211, 211, 0.4); -// border-radius: 5px; -// } - -img { - max-width: 100%; - height: auto; - display: inline-block; - vertical-align: middle; -} - -a { - color: $global-font-color; - text-decoration: none; -} - -@each $header, $size in $global-headings { - #{$header} { - font-size: $size; - font-family: $global-font-family; - } -} - -.container { - margin: 0 auto; - width: $global-body-width; -} - -@include max-screen() { - .container { - width: 100%; - box-shadow: -1px -5px 5px $gray; - } -} - -.content-wrapper { - padding: $global-container-padding; -} - -// make video fluid: -// https://css-tricks.com/NetMag/FluidWidthVideo/Article-FluidWidthVideo.php -// class video-container is the wrapper used by hexo youtube tag plugin -.video-container { - position: relative; - padding-bottom: 56.25%; /* 16:9 */ - padding-top: 25px; - height: 0; -} -.video-container iframe { - position: absolute; - top: 0; - left: 0; - width: 100%; - height: 100%; -} - -.svg-icon { - width: 40px; - height: 40px; - display: inline-block; - - &.email { background-image: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNDBweCIgaGVpZ2h0PSI0MHB4IiB2aWV3Qm94PSIwIDAgNjAgNjAiIHZlcnNpb249IjEuMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgeG1sbnM6c2tldGNoPSJodHRwOi8vd3d3LmJvaGVtaWFuY29kaW5nLmNvbS9za2V0Y2gvbnMiPg0KICAgIDxwYXRoIGQ9Ik0wLjIyNDU4MDY4OCwzMCBDMC4yMjQ1ODA2ODgsMTMuNDMxNDU2NyAxMy40NTQ5NDEsMCAyOS43NzU0MTkzLDAgQzQ2LjA5NTg5NzYsMCA1OS4zMjYyNTc5LDEzLjQzMTQ1NjcgNTkuMzI2MjU3OSwzMCBDNTkuMzI2MjU3OSw0Ni41Njg1NDMzIDQ2LjA5NTg5NzYsNjAgMjkuNzc1NDE5Myw2MCBDMTMuNDU0OTQxLDYwIDAuMjI0NTgwNjg4LDQ2LjU2ODU0MzMgMC4yMjQ1ODA2ODgsMzAgWiBNMC4yMjQ1ODA2ODgsMzAiIGZpbGw9IiNGRkZGRkYiIHNrZXRjaDp0eXBlPSJNU1NoYXBlR3JvdXAiPjwvcGF0aD4NCiAgICA8cGF0aCBkPSJNMzUuMDM4N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4gIDwvZz48L3N2Zz4=);} -} diff --git a/themes/even/src/css/_common/_animation.scss b/themes/even/src/css/_common/_animation.scss deleted file mode 100644 index d596b16..0000000 --- a/themes/even/src/css/_common/_animation.scss +++ /dev/null @@ -1,156 +0,0 @@ -@mixin underline-from-center() { - display: inline-block; - vertical-align: middle; - transform: translateZ(0); - backface-visibility: hidden; - box-shadow: 0 0 1px transparent; - position: relative; - overflow: hidden; - - &:before { - content: ''; - position: absolute; - z-index: -1; - height: 2px; - bottom: 0; - left: 51%; - right: 51%; - background: $theme-color; - transition-duration: 0.2s; - transition-property: right, left; - transition-timing-function: ease-out; - } - - &.active, - &:active, - &:focus, - &:hover { - &:before { - right: 0; - left: 0; - } - } -} - -@mixin mobile-menu-icon() { - @keyframes clickfirst { - 0% { - transform: translateY(6px) rotate(0deg); - - } - - 100% { - transform: translateY(0) rotate(45deg); - } - } - - @keyframes clickmid { - 0% { - opacity: 1; - } - - 100% { - opacity: 0; - } - } - - @keyframes clicklast { - 0% { - transform: translateY(-6px) rotate(0deg); - } - - 100% { - transform: translateY(0) rotate(-45deg); - } - } - - @keyframes outfirst { - 0% { - transform: translateY(0) rotate(-45deg); - } - - 100% { - transform: translateY(-6px) rotate(0deg); - } - } - - @keyframes outmid { - 0% { - opacity: 0; - } - - 100% { - opacity: 1; - } - } - - @keyframes outlast { - 0% { - transform: translateY(0) rotate(45deg); - } - - 100% { - transform: translateY(6px) rotate(0deg); - } - } - - span { - position: absolute; - /* fallback for browsers which still doesn't support for `calc()` */ - left: 15px; - top: 25px; - left: calc((100% - 20px) / 2); - top: calc((100% - 1px) / 2); - width: 20px; - height: 1px; - background-color: $theme-color; - - &:nth-child(1) { - transform: translateY(6px) rotate(0deg); - } - - &:nth-child(3) { - transform: translateY(-6px) rotate(0deg); - } - } - - &.icon-click { - span:nth-child(1) { - animation-duration: 0.5s; - animation-fill-mode: both; - animation-name: clickfirst; - } - - span:nth-child(2) { - animation-duration: 0.2s; - animation-fill-mode: both; - animation-name: clickmid; - } - - span:nth-child(3) { - animation-duration: 0.5s; - animation-fill-mode: both; - animation-name: clicklast; - } - } - - &.icon-out { - span:nth-child(1) { - animation-duration: 0.5s; - animation-fill-mode: both; - animation-name: outfirst; - } - - span:nth-child(2) { - animation-duration: 0.2s; - animation-fill-mode: both; - animation-name: outmid; - } - - span:nth-child(3) { - animation-duration: 0.5s; - animation-fill-mode: both; - animation-name: outlast; - } - } -} \ No newline at end of file diff --git a/themes/even/src/css/_common/_normalize.scss b/themes/even/src/css/_common/_normalize.scss deleted file mode 100644 index 81c6f31..0000000 --- a/themes/even/src/css/_common/_normalize.scss +++ /dev/null @@ -1,427 +0,0 @@ -/*! normalize.css v3.0.2 | MIT License | git.io/normalize */ - -/** - * 1. Set default font family to sans-serif. - * 2. Prevent iOS text size adjust after orientation change, without disabling - * user zoom. - */ - -html { - font-family: sans-serif; /* 1 */ - -ms-text-size-adjust: 100%; /* 2 */ - -webkit-text-size-adjust: 100%; /* 2 */ -} - -/** - * Remove default margin. - */ - -body { - margin: 0; -} - -/* HTML5 display definitions - ========================================================================== */ - -/** - * Correct `block` display not defined for any HTML5 element in IE 8/9. - * Correct `block` display not defined for `details` or `summary` in IE 10/11 - * and Firefox. - * Correct `block` display not defined for `main` in IE 11. - */ - -article, -aside, -details, -figcaption, -figure, -footer, -header, -hgroup, -main, -menu, -nav, -section, -summary { - display: block; -} - -/** - * 1. Correct `inline-block` display not defined in IE 8/9. - * 2. Normalize vertical alignment of `progress` in Chrome, Firefox, and Opera. - */ - -audio, -canvas, -progress, -video { - display: inline-block; /* 1 */ - vertical-align: baseline; /* 2 */ -} - -/** - * Prevent modern browsers from displaying `audio` without controls. - * Remove excess height in iOS 5 devices. - */ - -audio:not([controls]) { - display: none; - height: 0; -} - -/** - * Address `[hidden]` styling not present in IE 8/9/10. - * Hide the `template` element in IE 8/9/11, Safari, and Firefox < 22. - */ - -[hidden], -template { - display: none; -} - -/* Links - ========================================================================== */ - -/** - * Remove the gray background color from active links in IE 10. - */ - -a { - background-color: transparent; -} - -/** - * Improve readability when focused and also mouse hovered in all browsers. - */ - -a:active, -a:hover { - outline: 0; -} - -/* Text-level semantics - ========================================================================== */ - -/** - * Address styling not present in IE 8/9/10/11, Safari, and Chrome. - */ - -abbr[title] { - border-bottom: 1px dotted; -} - -/** - * Address style set to `bolder` in Firefox 4+, Safari, and Chrome. - */ - -b, -strong { - font-weight: bold; -} - -/** - * Address styling not present in Safari and Chrome. - */ - -dfn { - font-style: italic; -} - -/** - * Address variable `h1` font-size and margin within `section` and `article` - * contexts in Firefox 4+, Safari, and Chrome. - */ - -h1 { - font-size: 2em; - margin: 0.67em 0; -} - -/** - * Address styling not present in IE 8/9. - */ - -mark { - background: #ff0; - color: #000; -} - -/** - * Address inconsistent and variable font size in all browsers. - */ - -small { - font-size: 80%; -} - -/** - * Prevent `sub` and `sup` affecting `line-height` in all browsers. - */ - -sub, -sup { - font-size: 75%; - line-height: 0; - position: relative; - vertical-align: baseline; -} - -sup { - top: -0.5em; -} - -sub { - bottom: -0.25em; -} - -/* Embedded content - ========================================================================== */ - -/** - * Remove border when inside `a` element in IE 8/9/10. - */ - -img { - border: 0; -} - -/** - * Correct overflow not hidden in IE 9/10/11. - */ - -svg:not(:root) { - overflow: hidden; -} - -/* Grouping content - ========================================================================== */ - -/** - * Address margin not present in IE 8/9 and Safari. - */ - -figure { - margin: 1em 40px; -} - -/** - * Address differences between Firefox and other browsers. - */ - -hr { - -moz-box-sizing: content-box; - box-sizing: content-box; - height: 0; -} - -/** - * Contain overflow in all browsers. - */ - -pre { - overflow: auto; -} - -/** - * Address odd `em`-unit font size rendering in all browsers. - */ - -code, -kbd, -pre, -samp { - font-family: monospace, monospace; - font-size: 1em; -} - -/* Forms - ========================================================================== */ - -/** - * Known limitation: by default, Chrome and Safari on OS X allow very limited - * styling of `select`, unless a `border` property is set. - */ - -/** - * 1. Correct color not being inherited. - * Known issue: affects color of disabled elements. - * 2. Correct font properties not being inherited. - * 3. Address margins set differently in Firefox 4+, Safari, and Chrome. - */ - -button, -input, -optgroup, -select, -textarea { - color: inherit; /* 1 */ - font: inherit; /* 2 */ - margin: 0; /* 3 */ -} - -/** - * Address `overflow` set to `hidden` in IE 8/9/10/11. - */ - -button { - overflow: visible; -} - -/** - * Address inconsistent `text-transform` inheritance for `button` and `select`. - * All other form control elements do not inherit `text-transform` values. - * Correct `button` style inheritance in Firefox, IE 8/9/10/11, and Opera. - * Correct `select` style inheritance in Firefox. - */ - -button, -select { - text-transform: none; -} - -/** - * 1. Avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio` - * and `video` controls. - * 2. Correct inability to style clickable `input` types in iOS. - * 3. Improve usability and consistency of cursor style between image-type - * `input` and others. - */ - -button, -html input[type="button"], /* 1 */ -input[type="reset"], -input[type="submit"] { - -webkit-appearance: button; /* 2 */ - cursor: pointer; /* 3 */ -} - -/** - * Re-set default cursor for disabled elements. - */ - -button[disabled], -html input[disabled] { - cursor: default; -} - -/** - * Remove inner padding and border in Firefox 4+. - */ - -button::-moz-focus-inner, -input::-moz-focus-inner { - border: 0; - padding: 0; -} - -/** - * Address Firefox 4+ setting `line-height` on `input` using `!important` in - * the UA stylesheet. - */ - -input { - line-height: normal; -} - -/** - * It's recommended that you don't attempt to style these elements. - * Firefox's implementation doesn't respect box-sizing, padding, or width. - * - * 1. Address box sizing set to `content-box` in IE 8/9/10. - * 2. Remove excess padding in IE 8/9/10. - */ - -input[type="checkbox"], -input[type="radio"] { - box-sizing: border-box; /* 1 */ - padding: 0; /* 2 */ -} - -/** - * Fix the cursor style for Chrome's increment/decrement buttons. For certain - * `font-size` values of the `input`, it causes the cursor style of the - * decrement button to change from `default` to `text`. - */ - -input[type="number"]::-webkit-inner-spin-button, -input[type="number"]::-webkit-outer-spin-button { - height: auto; -} - -/** - * 1. Address `appearance` set to `searchfield` in Safari and Chrome. - * 2. Address `box-sizing` set to `border-box` in Safari and Chrome - * (include `-moz` to future-proof). - */ - -input[type="search"] { - -webkit-appearance: textfield; /* 1 */ - -moz-box-sizing: content-box; - -webkit-box-sizing: content-box; /* 2 */ - box-sizing: content-box; -} - -/** - * Remove inner padding and search cancel button in Safari and Chrome on OS X. - * Safari (but not Chrome) clips the cancel button when the search input has - * padding (and `textfield` appearance). - */ - -input[type="search"]::-webkit-search-cancel-button, -input[type="search"]::-webkit-search-decoration { - -webkit-appearance: none; -} - -/** - * Define consistent border, margin, and padding. - */ - -fieldset { - border: 1px solid #c0c0c0; - margin: 0 2px; - padding: 0.35em 0.625em 0.75em; -} - -/** - * 1. Correct `color` not being inherited in IE 8/9/10/11. - * 2. Remove padding so people aren't caught out if they zero out fieldsets. - */ - -legend { - border: 0; /* 1 */ - padding: 0; /* 2 */ -} - -/** - * Remove default vertical scrollbar in IE 8/9/10/11. - */ - -textarea { - overflow: auto; -} - -/** - * Don't inherit the `font-weight` (applied by a rule above). - * NOTE: the default cannot safely be changed in Chrome and Safari on OS X. - */ - -optgroup { - font-weight: bold; -} - -/* Tables - ========================================================================== */ - -/** - * Remove most spacing between table cells. - */ - -table { - border-collapse: collapse; - border-spacing: 0; -} - -td, -th { - padding: 0; -} \ No newline at end of file diff --git a/themes/even/src/css/_common/_utils.scss b/themes/even/src/css/_common/_utils.scss deleted file mode 100644 index 1c7b777..0000000 --- a/themes/even/src/css/_common/_utils.scss +++ /dev/null @@ -1,23 +0,0 @@ -@mixin clearfix() { - &:before, - &:after { - content: " "; - display: table; - } - - &:after { - clear: both; - } -} - -@mixin min-screen($min-width: $global-body-width) { - @media screen and (min-width: $min-width) { - @content; - } -} - -@mixin max-screen($max-width: $global-body-width) { - @media screen and (max-width: $max-width) { - @content; - } -} diff --git a/themes/even/src/css/_custom/_custom.scss b/themes/even/src/css/_custom/_custom.scss deleted file mode 100644 index f7cbb5a..0000000 --- a/themes/even/src/css/_custom/_custom.scss +++ /dev/null @@ -1,4 +0,0 @@ -// ============================== -// Custom style -// ============================== -// You can override the variables in _variables.scss to customize the style diff --git a/themes/even/src/css/_iconfont.scss b/themes/even/src/css/_iconfont.scss deleted file mode 100644 index 03efae6..0000000 --- a/themes/even/src/css/_iconfont.scss +++ /dev/null @@ -1,110 +0,0 @@ -// ============================== -// Iconfont -// ============================== - -@font-face { - font-family: 'iconfont'; /* project id 96542 */ - - src: url('../fonts/iconfont/iconfont.eot'); - src: url('../fonts/iconfont/iconfont.eot#iefix') format('embedded-opentype'), // not '?#iefix', because webpack will add '?hash=[hash]' - url('../fonts/iconfont/iconfont.woff') format('woff'), - url('../fonts/iconfont/iconfont.ttf') format('truetype'), - url('../fonts/iconfont/iconfont.svg#iconfont') format('svg'); - - // Uncomment these code and comment upper code if you want to use alicdn - // src: url('//at.alicdn.com/t/font_96542_ixz9jngnf1sb57b9.eot'); - // src: url('//at.alicdn.com/t/font_96542_ixz9jngnf1sb57b9.eot?#iefix') format('embedded-opentype'), - // url('//at.alicdn.com/t/font_96542_ixz9jngnf1sb57b9.woff') format('woff'), - // url('//at.alicdn.com/t/font_96542_ixz9jngnf1sb57b9.ttf') format('truetype'), - // url('//at.alicdn.com/t/font_96542_ixz9jngnf1sb57b9.svg#iconfont') format('svg'); -} - -.iconfont { - font-family: "iconfont" !important; - font-style: normal; - -webkit-font-smoothing: antialiased; - -webkit-text-stroke-width: 0.2px; - -moz-osx-font-smoothing: grayscale; - cursor: pointer; -} - -.icon-instagram:before { - font-size: .95em; - content: "\e611"; - position: relative; - top: -1px; -} -.icon-douban:before { - content: "\e610"; -} -.icon-tumblr:before { - content: "\e69f"; - font-size: .85em; - position: relative; - top: -4px; -} -.icon-linkedin:before { - content: "\e60d"; - position: relative; - top: -4px; -} -.icon-twitter:before { - content: "\e600"; -} -.icon-weibo:before { - content: "\e602"; -} -.icon-stack-overflow:before { - content: "\e603"; - font-size: .85em; - position: relative; - top: -4px; -} -.icon-email:before { - content: "\e605"; - position: relative; - top: -2px; -} -.icon-facebook:before { - content: "\e601"; - font-size: .95em; - position: relative; - top: -2px; -} -.icon-github:before { - content: "\e606"; - position: relative; - top: -3px; -} -.icon-rss:before { - content: "\e604"; -} -.icon-google:before { - content: "\e609"; -} -.icon-zhihu:before { - content: "\e607"; - font-size: .9em; - position: relative; - top: -2px; -} -.icon-pocket:before { - content: "\e856"; -} - -/* Generic Icon */ -.icon-heart:before { - content: "\e608"; -} -.icon-right:before { - content: "\e60a"; -} -.icon-left:before { - content: "\e60b"; -} -.icon-up:before { - content: "\e60c"; -} -.icon-close:before { - content: "\e60f"; -} diff --git a/themes/even/src/css/_partial/_404.scss b/themes/even/src/css/_partial/_404.scss deleted file mode 100644 index 63eb465..0000000 --- a/themes/even/src/css/_partial/_404.scss +++ /dev/null @@ -1,25 +0,0 @@ -// ============================== -// Archive -// ============================= - -.not-found { - text-align: center; - - .error-emoji { - color: #363636; - font-size: 3rem; - } - - .error-text { - color: #797979; - font-size: 1.25rem; - } - - .error-link { - margin-top: 2rem; - - a { - color: $theme-color; - } - } -} \ No newline at end of file diff --git a/themes/even/src/css/_partial/_archive.scss b/themes/even/src/css/_partial/_archive.scss deleted file mode 100644 index 47fe64a..0000000 --- a/themes/even/src/css/_partial/_archive.scss +++ /dev/null @@ -1,100 +0,0 @@ -// ============================== -// Archive -// ============================= - -.archive { - margin: $archive-margin; - max-width: $archive-max-width; - - .archive-title { - font-family: $global-font-family; - - &.tag, - &.category { - margin: 15px 0; - } - - .archive-name { - margin: 0; - display: inline-block; - font-weight: 400; - font-size: $archive-name-font-size; - line-height: $archive-name-font-size + 2px; - } - - .archive-post-counter { - color: $dark-gray; - } - } - - .collection-title { - font-family: $global-font-family; - - .archive-year { - margin: 15px 0; - font-weight: 400; - font-size: $collection-title-font-size; - line-height: $collection-title-font-size + 2px; - } - } - - .archive-post { - padding: $archive-post-padding; - border-left: $archive-post-border-left; - - .archive-post-time { - margin-right: 10px; - color: $dark-gray; - } - - .archive-post-title { - - .archive-post-link { - color: $theme-color; - } - } - - &::first-child { - margin-top: 10px; - } - - &:hover { - border-left: $archive-post-hover-border-left; - transition: $archive-post-hover-transition; - transform: $archive-post-hover-transform; - - .archive-post-time { - color: darken($dark-gray, 10%); - } - - .archive-post-title .archive-post-link { - color: darken($theme-color, 10%); - } - } - } -} - -@include max-screen() { - .archive { - margin-left: auto; - margin-right: auto; - - .archive-title .archive-name { - font-size: $archive-name-font-size - 4px; - } - - .collection-title .archive-year { - margin: 10px 0; - font-size: $collection-title-font-size - 4px; - } - - .archive-post { - padding: $archive-post-mobile-padding; - - .archive-post-time { - font-size: $archive-post-mobile-time-font-size; - display: block; - } - } - } -} diff --git a/themes/even/src/css/_partial/_back-to-top.scss b/themes/even/src/css/_partial/_back-to-top.scss deleted file mode 100644 index ee67aa2..0000000 --- a/themes/even/src/css/_partial/_back-to-top.scss +++ /dev/null @@ -1,24 +0,0 @@ -// ============================== -// Back to top -// ============================= - -.back-to-top { - display: none; - position: fixed; - right: 20px; - bottom: 20px; - transition-property: transform; - transition-timing-function: ease-out; - transition-duration: 0.3s; - z-index: 10; - - &:hover { - transform: translateY(-5px); - } -} - -@include max-screen() { - .back-to-top { - display: none !important; - } -} \ No newline at end of file diff --git a/themes/even/src/css/_partial/_categories.scss b/themes/even/src/css/_partial/_categories.scss deleted file mode 100644 index 99d95bc..0000000 --- a/themes/even/src/css/_partial/_categories.scss +++ /dev/null @@ -1,43 +0,0 @@ - -.categories { - margin: 2em 0 3em; - text-align: center; - font-family: $global-font-family; - - .categories-title { - display: inline-block; - font-size: $categories-title-size; - color: $theme-color; - border-bottom: $categories-title-border-bottom; - } - - .categories-tags { - margin: 10px 0; - - .category-link { - display: inline-block; - position: relative; - margin: $categories-tags-link-margin; - word-wrap: break-word; - transition-duration: 0.2s; - transition-property: transform; - transition-timing-function: ease-out; - - .category-count { - display: inline-block; - position: relative; - top: -8px; - right: -2px; - color: $theme-color; - font-size: $category-count-font-size; - } - - &:active, - &:focus, - &:hover { - color: $theme-color; - transform: scale(1.1); - } - } - } -} diff --git a/themes/even/src/css/_partial/_footer.scss b/themes/even/src/css/_partial/_footer.scss deleted file mode 100644 index 1f8cdae..0000000 --- a/themes/even/src/css/_partial/_footer.scss +++ /dev/null @@ -1,10 +0,0 @@ -// ============================== -// Post footer -// ============================= - -.footer { - margin-top: $footer-margin-top; - - @import "_footer/social"; - @import "_footer/copyright"; -} \ No newline at end of file diff --git a/themes/even/src/css/_partial/_footer/_copyright.scss b/themes/even/src/css/_partial/_footer/_copyright.scss deleted file mode 100644 index d635354..0000000 --- a/themes/even/src/css/_partial/_footer/_copyright.scss +++ /dev/null @@ -1,23 +0,0 @@ -// ============================== -// Copyright -// ============================= - -.copyright { - margin: $copyright-margin; - color: $dark-gray; - text-align: center; - font-family: $global-font-family; - - .hexo-link, - .theme-link { - color: $theme-color; - } - - .copyright-year { - display: block; - - .heart { - font-size: 14px; - } - } -} diff --git a/themes/even/src/css/_partial/_footer/_social.scss b/themes/even/src/css/_partial/_footer/_social.scss deleted file mode 100644 index a23eb69..0000000 --- a/themes/even/src/css/_partial/_footer/_social.scss +++ /dev/null @@ -1,19 +0,0 @@ -// ============================== -// Social -// ============================= - -.social-links { - text-align: center; - - .iconfont { - font-size: $social-icon-font-size; - - & + .iconfont { - margin-left: $social-link-margin-left; - } - - &:hover { - color: $theme-color; - } - } -} \ No newline at end of file diff --git a/themes/even/src/css/_partial/_header.scss b/themes/even/src/css/_partial/_header.scss deleted file mode 100644 index d81f17c..0000000 --- a/themes/even/src/css/_partial/_header.scss +++ /dev/null @@ -1,19 +0,0 @@ -// ============================== -// Header -// ============================== - -.header { - @include clearfix; - padding: $header-padding; - - @import '_header/logo'; - @import '_header/menu'; -} - - -@include max-screen() { - .header { - padding: 50px 0 0; - text-align: center; - } -} diff --git a/themes/even/src/css/_partial/_header/_logo.scss b/themes/even/src/css/_partial/_header/_logo.scss deleted file mode 100644 index cd6435f..0000000 --- a/themes/even/src/css/_partial/_header/_logo.scss +++ /dev/null @@ -1,18 +0,0 @@ -// ============================== -// Logo -// ============================= - -.logo-wrapper { - float: left; - - .logo { - font-size: $logo-font-size; - font-family: $logo-font-family; - } -} - -@include max-screen() { - .logo-wrapper { - display: none; - } -} diff --git a/themes/even/src/css/_partial/_header/_menu.scss b/themes/even/src/css/_partial/_header/_menu.scss deleted file mode 100644 index 6809fec..0000000 --- a/themes/even/src/css/_partial/_header/_menu.scss +++ /dev/null @@ -1,35 +0,0 @@ -// ============================== -// Menu -// ============================= - -.site-navbar { - float: right; - - .menu { - display: inline-block; - position: relative; - padding-left: 0; - padding-right: 25px; - font-family: $global-font-family; - - .menu-item { - display: inline-block; - - & + .menu-item { - margin-left: $menu-item-margin-left;; - } - - @include underline-from-center; - } - - .menu-item-link { - font-size: $menu-link-font-size; - } - } -} - -@include max-screen() { - .site-navbar { - display: none; - } -} diff --git a/themes/even/src/css/_partial/_mobile.scss b/themes/even/src/css/_partial/_mobile.scss deleted file mode 100644 index 5e342f8..0000000 --- a/themes/even/src/css/_partial/_mobile.scss +++ /dev/null @@ -1,77 +0,0 @@ -// ============================== -// Mobile Navbar -// ============================== - -.mobile-navbar { - display: none; - position: fixed; - top: 0; - left: 0; - width: 100%; - height: $mobile-navbar-height; - background: $white; - box-shadow: 0px 2px 2px $gray; - text-align: center; - transition: transform 300ms ease; - z-index: 99; - - &.fixed-open { - transform: translate3d(180px, 0px, 0px); - } - - .mobile-header-logo { - display: inline-block; - margin-right: 50px; - - .logo { - font-size: 22px; - line-height: $mobile-navbar-height; - font-family: $logo-font-family; - } - } - - .mobile-navbar-icon { - color: $theme-color; - height: $mobile-navbar-height; - width: $mobile-navbar-height; - font-size: 24px; - text-align: center; - float: left; - position: relative; - transition: background 0.5s; - - @include mobile-menu-icon(); - } -} - -.mobile-menu { - background-color: rgba($deputy-color, 0.5); - - .mobile-menu-list { - position: relative; - list-style: none; - margin-top: 50px; - padding: 0; - border-top: 1px solid $deputy-color; - - .mobile-menu-item { - padding: 10px 30px; - border-bottom: 1px solid $deputy-color; - } - - a { - font-size: 18px; - font-family: $global-font-family; - - &:hover { - color: $theme-color; - } - } - } -} - -@include max-screen() { - .mobile-navbar { - display: block; - } -} diff --git a/themes/even/src/css/_partial/_pagination.scss b/themes/even/src/css/_partial/_pagination.scss deleted file mode 100644 index 6bbdb06..0000000 --- a/themes/even/src/css/_partial/_pagination.scss +++ /dev/null @@ -1,36 +0,0 @@ -// ============================== -// Pagination -// ============================== - -.pagination { - margin: $pagination-margin; - @include clearfix; - - .prev, - .next { - font-weight: 600; - font-size: $pagination-font-size; - font-family: $global-font-family; - transition-property: transform; - transition-timing-function: ease-out; - transition-duration: 0.3s; - } - - .prev { - float: left; - - &:hover { - color: $theme-color; - transform: translateX(-4px); - } - } - - .next { - float: right; - - &:hover { - color: $theme-color; - transform: translateX(4px); - } - } -} diff --git a/themes/even/src/css/_partial/_post.scss b/themes/even/src/css/_partial/_post.scss deleted file mode 100644 index a980b29..0000000 --- a/themes/even/src/css/_partial/_post.scss +++ /dev/null @@ -1,24 +0,0 @@ -// ============================== -// Post -// ============================== - -.posts { - margin-bottom: $post-list-margin-bottom; - border-bottom: $post-border; -} - -.post { - padding: $post-padding; - - & + .post { - border-top: $post-border; - } - - @import '_post/header'; - @import '_post/toc'; - @import '_post/content'; - @import '_post/copyright'; - @import '_post/reward'; - @import '_post/footer'; - @import '_post/outdated'; -} diff --git a/themes/even/src/css/_partial/_post/_code.scss b/themes/even/src/css/_partial/_post/_code.scss deleted file mode 100644 index 2a23a77..0000000 --- a/themes/even/src/css/_partial/_post/_code.scss +++ /dev/null @@ -1,140 +0,0 @@ -code, pre { - padding: 7px; - font-size: $code-font-size; - font-family: $code-font-family; - background: $code-background; -} - -code { - padding: 3px 5px; - border-radius: 4px; - color: $code-color; -} - -figure.highlight { - margin: 1em 0; - border-radius: 5px; - overflow-x: auto; - box-shadow: 1px 1px 2px rgba(0,0,0,0.125); - position: relative; - - table { - position: relative; - - &::after { - position: absolute; - top: 0; - right: 0; - left: 0; - padding: 2px 7px; - font-size: $code-font-size; - font-weight: bold; - color: darken($gray, 10%); - background: darken($code-background, 3%); - content: 'Code'; - } - } - - @each $sign, $text in $code-type-list { - &.#{$sign} > table::after { - content: $text; - } - } - - .code { - pre { - margin: 0; - padding: 30px 10px 10px; - } - } - - .gutter { - width: 10px; - color: $gray; - - pre { - margin: 0; - padding: 30px 7px 10px; - } - } - - .line { - // Fix code block null line height and - // Synchronous gutter and code line highly. - height: round($code-font-size * 1.5); - } - - table, tr, td { - margin: 0; - padding: 0; - width: 100%; - border-collapse: collapse; - } - - .code { - .hljs-comment, - .hljs-quote { - color: map-get($code-highlight-color, comment); - } - - .hljs-keyword, - .hljs-selector-tag, - .hljs-addition { - color: map-get($code-highlight-color, keyword); - } - - .hljs-number, - .hljs-string, - .hljs-meta .hljs-meta-string, - .hljs-literal, - .hljs-doctag, - .hljs-regexp { - color: map-get($code-highlight-color, number); - } - - .hljs-title, - .hljs-section, - .hljs-name, - .hljs-selector-id, - .hljs-selector-class { - color: map-get($code-highlight-color, title); - } - - .hljs-attribute, - .hljs-attr, - .hljs-variable, - .hljs-template-variable, - .hljs-class .hljs-title, - .hljs-type { - color: map-get($code-highlight-color, attribute); - } - - .hljs-symbol, - .hljs-bullet, - .hljs-subst, - .hljs-meta, - .hljs-meta .hljs-keyword, - .hljs-selector-attr, - .hljs-selector-pseudo, - .hljs-link { - color: map-get($code-highlight-color, symbol); - } - - .hljs-built_in, - .hljs-deletion { - color: map-get($code-highlight-color, built_in); - } - - .hljs-formula { - background: map-get($code-highlight-color, formula); - } - - .hljs-emphasis { - font-style: italic; - } - - .hljs-strong { - font-weight: bold; - } - } -} diff --git a/themes/even/src/css/_partial/_post/_content.scss b/themes/even/src/css/_partial/_post/_content.scss deleted file mode 100644 index 04c236e..0000000 --- a/themes/even/src/css/_partial/_post/_content.scss +++ /dev/null @@ -1,143 +0,0 @@ -// ============================== -// Post content -// ============================== - -.post-content { - word-wrap: break-word; - - @for $i from 1 through 6 { - h#{$i} { - font-weight: 400; - font-family: $global-font-family; - } - } - - a { - color: $theme-color; - word-break: break-all; - - &:hover { - border-bottom: $content-link-border; - } - - &.fancybox { - border: 0; - } - } - - blockquote { - margin: 2em 0; - padding: 10px 20px; - position: relative; - color: rgba(#34495e, 0.8); - background-color: $content-blockquote-backgroud; - border-left: $content-blockquote-border-left; - box-shadow: 1px 1px 2px rgba(0,0,0,0.125); - - p { - margin: 0; - } - } - - img { - display: inline-block; - max-width: 100%; - } - - > table { - max-width: 100%; - margin: 10px 0; - border-spacing: 0; - box-shadow: 2px 2px 3px rgba(0,0,0,.125); - - thead { - background: $deputy-color; - } - - th, td { - padding: 5px 15px; - border: 1px double $content-table-border-color; - } - - tr:hover { - background-color: $deputy-color; - } - } - - @import 'code'; - - .post-summary { - margin-bottom: 1em; - } - - .read-more { - .read-more-link { - color: $theme-color; - font-size: 1.1em; - font-family: $global-font-family; - - &:hover { - border-bottom: $post-readMore-border-bottom; - } - } - } - - kbd { - display: inline-block; - padding: 0.25em; - background-color: #fafafa; - border: 1px solid #dbdbdb; - border-bottom-color: #b5b5b5; - border-radius: 3px; - box-shadow: inset 0 -1px 0 #b5b5b5; - font-size: 0.8em; - line-height: 1.25; - font-family: "SFMono-Regular","Liberation Mono","Roboto Mono",Menlo,Monaco,Consolas,"Courier New",Courier,monospace; - color: #4a4a4a; - } - - dl dt::after { - content: ':'; - } - - figure { - &.center { - text-align: center; - } - - &.right { - text-align: right; - } - - &.left { - text-align: left; - } - - figcaption h4 { - color: #b5b5b5; - font-size: 0.9rem; - } - } - - .task-list { - list-style: none; - padding-left: 1.5rem; - } - - .align-center { - text-align: center; - } - - .align-right { - text-align: right; - } - - .align-left { - text-align: left; - } - - .MJXc-display { - overflow-x: auto; - overflow-y: hidden; - } -} diff --git a/themes/even/src/css/_partial/_post/_copyright.scss b/themes/even/src/css/_partial/_post/_copyright.scss deleted file mode 100644 index 374061f..0000000 --- a/themes/even/src/css/_partial/_post/_copyright.scss +++ /dev/null @@ -1,29 +0,0 @@ -.post-copyright { - margin-top: 20px; - padding-top: 10px; - border-top: 1px dashed $light-gray; - - .copyright-item { - margin: 5px 0; - - a { - color: $theme-color; - word-wrap: break-word; - - &:hover { - border-bottom: $content-link-border; - } - } - - .item-title { - display: inline-block; - min-width: 5rem; - margin-right: .5rem; - text-align: right; - - &:after { - content: " :"; - } - } - } -} diff --git a/themes/even/src/css/_partial/_post/_footer.scss b/themes/even/src/css/_partial/_post/_footer.scss deleted file mode 100644 index 8a2a443..0000000 --- a/themes/even/src/css/_partial/_post/_footer.scss +++ /dev/null @@ -1,87 +0,0 @@ -// ============================== -// Post footer -// ============================== -.post-tags { - padding: $post-tags-padding; - - a { - margin-right: 5px; - color: $theme-color; - word-break: break-all; - - &::before { - content: '#'; - } - } -} - -.post-footer { - margin-top: $post-footer-margin-top; - border-top: $post-footer-border-top; - font-family: $global-font-family; - - .post-tags { - padding: $post-tags-padding; - - a { - margin-right: 5px; - color: $theme-color; - word-break: break-all; - - &::before { - content: '#'; - } - } - } - - .post-nav { - margin: 1em 0; - @include clearfix; - - .prev, - .next { - font-weight: 600; - font-size: $post-nav-font-size; - font-family: $global-font-family; - transition-property: transform; - transition-timing-function: ease-out; - transition-duration: 0.3s; - } - - .prev { - float: left; - - &:hover { - color: $theme-color; - transform: translateX(-4px); - } - } - - .next { - float: right; - - &:hover { - color: $theme-color; - transform: translateX(4px); - } - } - - .nav-mobile { - display: none; - } - } -} - -@include max-screen() { - .post-footer { - .post-nav { - .nav-default { - display: none; - } - - .nav-mobile { - display: inline; - } - } - } -} diff --git a/themes/even/src/css/_partial/_post/_header.scss b/themes/even/src/css/_partial/_post/_header.scss deleted file mode 100644 index d2a3cd5..0000000 --- a/themes/even/src/css/_partial/_post/_header.scss +++ /dev/null @@ -1,46 +0,0 @@ -.post-header { - margin-bottom: 20px; - - .post-title { - margin: 0; - font-size: $post-title-font-size; - font-weight: $post-title-font-weight; - font-family: $global-font-family; - } - - .post-link { - @include underline-from-center; - } - - .post-meta { - font-size: 14px; - color: $post-meta-font-color; - - .post-time { - font-size: 15px; - } - - .post-category { - display: inline; - - a { - color: inherit; - - &::before { - content: '·'; - } - - &:hover { - color: $theme-color; - } - } - } - - .more-meta { - &::before { - content: '·'; - } - } - - } -} diff --git a/themes/even/src/css/_partial/_post/_outdated.scss b/themes/even/src/css/_partial/_post/_outdated.scss deleted file mode 100644 index be7b5ea..0000000 --- a/themes/even/src/css/_partial/_post/_outdated.scss +++ /dev/null @@ -1,25 +0,0 @@ -.post-outdated { - .hint { - position: relative; - margin-top: 20px; - margin-bottom: 20px; - padding: 5px 10px; - border-left: 4px solid rgb(66, 172, 243); - background-color: rgb(239, 245, 255); - border-color: rgb(66, 172, 243); - } - - .warn { - position: relative; - margin-top: 20px; - margin-bottom: 20px; - padding: 5px 10px; - border-left: 4px solid #f9cf63; - background-color: #ffffc0; - border-color: #f9cf63; - } -} - - - - diff --git a/themes/even/src/css/_partial/_post/_reward.scss b/themes/even/src/css/_partial/_post/_reward.scss deleted file mode 100644 index 3a03a9f..0000000 --- a/themes/even/src/css/_partial/_post/_reward.scss +++ /dev/null @@ -1,54 +0,0 @@ -.post-reward { - margin-top: 20px; - padding-top: 10px; - text-align: center; - border-top: 1px dashed $light-gray; - - .reward-button { - margin: 15px 0; - padding: 3px 7px; - display: inline-block; - color: $theme-color; - border: 1px solid $theme-color; - border-radius: 5px; - cursor: pointer; - - &:hover { - color: $white; - background-color: $theme-color; - transition: 0.5s; - } - } - - #reward:checked { - & ~ .qr-code { - display: block; - } - - & ~ .reward-button { - display: none; - } - } - - .qr-code { - display: none; - - .qr-code-image { - display: inline-block; - min-width: 200px; - width: 40%; - margin-top: 15px; - - span { - display: inline-block; - width: 100%; - margin: 8px 0; - } - } - - .image { - width: 200px; - height: 200px; - } - } -} \ No newline at end of file diff --git a/themes/even/src/css/_partial/_post/_toc.scss b/themes/even/src/css/_partial/_post/_toc.scss deleted file mode 100644 index 5bc800e..0000000 --- a/themes/even/src/css/_partial/_post/_toc.scss +++ /dev/null @@ -1,55 +0,0 @@ -.post-toc { - position: absolute; - width: $post-toc-width; - margin-left: $post-toc-margin-left; - padding: 10px; - font-family: $global-font-family; - border-radius: 5px; - background: $post-toc-backgroud; - box-shadow: 1px 1px 2px rgba(0,0,0,0.125); - word-wrap: break-word; - box-sizing: border-box; - - .post-toc-title { - margin: 0 10px; - font-size: $post-toc-title-size; - font-weight: 400; - text-transform: uppercase; - } - - .post-toc-content { - font-size: $post-toc-content; - - &.always-active ul { - display: block; - } - - >nav>ul { - margin: 10px 0; - } - - ul { - padding-left: 20px; - list-style: $post-toc-list-style; - - ul { - padding-left: 15px; - display: none; - } - - .has-active > ul { - display: block; - } - } - - .toc-link.active { - color: $theme-color; - } - } -} - -@include max-screen($toc-max-sreen-width) { - .post-toc { - display: none; - } -} diff --git a/themes/even/src/css/_partial/_slideout.scss b/themes/even/src/css/_partial/_slideout.scss deleted file mode 100644 index 2dc757d..0000000 --- a/themes/even/src/css/_partial/_slideout.scss +++ /dev/null @@ -1,33 +0,0 @@ -// ============================== -// slideout (https://github.com/mango/slideout) -// ============================== - -.slideout-menu { - position: fixed; - top: 0; - left: 0px; - bottom: 0; - width: 180px; - min-height: 100vh; - overflow-y: hidden; - -webkit-overflow-scrolling: touch; - z-index: 0; - display: none; -} - -.slideout-panel { - position: relative; - z-index: 1; - background-color: $white; - min-height: 100vh; -} - -.slideout-open, -.slideout-open body, -.slideout-open .slideout-panel { - overflow: hidden; -} - -.slideout-open .slideout-menu { - display: block; -} diff --git a/themes/even/src/css/_partial/_tags.scss b/themes/even/src/css/_partial/_tags.scss deleted file mode 100644 index 72786b4..0000000 --- a/themes/even/src/css/_partial/_tags.scss +++ /dev/null @@ -1,46 +0,0 @@ -// ============================== -// Tags -// ============================= - -.tag-cloud { - margin: 2em 0 3em; - text-align: center; - font-family: $global-font-family; - - .tag-cloud-title { - display: inline-block; - font-size: $tag-cloud-title-size; - color: $theme-color; - border-bottom: $tag-cloud-title-border-bottom; - } - - .tag-cloud-tags { - margin: 10px 0; - - a { - display: inline-block; - position: relative; - margin: $tag-cloud-tags-link-margin; - word-wrap: break-word; - transition-duration: 0.2s; - transition-property: transform; - transition-timing-function: ease-out; - - .tag-count { - display: inline-block; - position: relative; - top: -8px; - right: -2px; - color: $theme-color; - font-size: $category-count-font-size; - } - - &:active, - &:focus, - &:hover { - color: $theme-color; - transform: scale(1.1); - } - } - } -} diff --git a/themes/even/src/css/_variables.scss b/themes/even/src/css/_variables.scss deleted file mode 100644 index 6dc4b99..0000000 --- a/themes/even/src/css/_variables.scss +++ /dev/null @@ -1,320 +0,0 @@ -// ============================== -// Variables -// ============================== - -// ========== Theme Color ========== // -// Config here to change theme color -// Default | Mint Green | Cobalt Blue | Hot Pink | Dark Violet -$theme-color-config: 'Mint Green'; - -// Default theme color map -$theme-color-map: ( - 'Default': #c05b4d #f8f5ec, - 'Mint Green': #16982B #f5f5f5, - 'Cobalt Blue': #0047AB #f0f2f5, - 'Hot Pink': #FF69B4 #f8f5f5, - 'Dark Violet': #9932CC #f5f4fa -); - -// Check theme color config. -// if it does not exist, use default theme color. -@if not(map-has-key($theme-color-map, $theme-color-config)) { - $theme-color-config: 'Default'; -} -$theme-color-list: map-get($theme-color-map, $theme-color-config); - -// Default theme color of the site. -$theme-color: nth($theme-color-list, 1) !default; - -// Deputy theme color of the site. -$deputy-color: nth($theme-color-list, 2) !default; - - -// ========== Color ========== // -$black: #0a0a0a !default; -$white: #fefefe !default; -$light-gray: #e6e6e6 !default; -$gray: #cacaca !default; -$dark-gray: #8a8a8a !default; - - -// ========== Global ========== // -// Text color of the body. -$global-font-color: #34495e !default; - -// Font size attribute applied to '' and ''. -$global-font-size: 16px !default; - -// Global width of ''. -$global-body-width: 800px !default; - -// Padding of container main -$global-container-padding: 0 20px !default; - -// Default line height for all type. `$global-lineheight` is 24px while `$global-font-size` is 16px. -$global-lineheight: 1.5 !default; - -// Font family of the site. -$global-font-family: 'Source Sans Pro', 'Helvetica Neue', Arial, sans-serif !default; - -// Background color of the site. -$global-background: $white !default; - -// Headings font size of the site. -$global-headings: ( - h1: 26px, - h2: 24px, - h3: 20px, - h4: 16px, - h5: 14px, - h6: 14px -) !default; - - -// ========== Header ========== // -// Padding of the site header. -$header-padding: 20px 20px !default; - -// Font size of the logo. -$logo-font-size: 48px !default; - -// Font family of the logo. -$logo-font-family: sans-serif !default; - -// Margin of menu item. -$menu-item-margin-left: 10px !default; - -// Margin of menu item in mobile. -$menu-item-mobile-margin: 5px !default; - -// Font size of menu item link. -$menu-link-font-size: 18px !default; - -// Height of the mobile header. -$mobile-navbar-height: 50px !default; - -// ========== Post ========== // -// Margin bottom of post list. -$post-list-margin-bottom: 20px !default; - -// Padding of the post. -$post-padding: 1.5em 0 !default; - -// Border top of the post + post. -$post-border: 1px solid $light-gray !default; - -// Font size of post title. -$post-title-font-size: 27px !default; - -// Font weight of post title. -$post-title-font-weight: 400 !default; - -// Margin top of the post meta (post time). -$post-meta-margin-top: 5px !default; - -// Font color of the post meta. -$post-meta-font-color: $dark-gray !default; - -// Border bottom of the read more link when hover it. -$post-readMore-border-bottom: 1px solid $theme-color !default; - -// Margin top of the post footer. -$post-footer-margin-top: 20px !default; - -// Border top of post footer. -$post-footer-border-top: 1px solid $light-gray !default; - -// Padding of the post tags. -$post-tags-padding: 15px 0 !default; - -// Font size of post pagination. -$post-nav-font-size: 18px !default; - - -// ========== TOC ========== // -// Width of the post toc. -$post-toc-width: 200px !default; - -// Backgroud color of the post toc. -$post-toc-backgroud: rgba($deputy-color, 0.6) !default; - -// Margin left of the post toc. -$post-toc-margin-left: $global-body-width - 15px !default; - -// Font size of the post toc title. -$post-toc-title-size: 20px !default; - -// Font size of the post toc content. -$post-toc-content: 15px !default; - -// List style of the post toc list. -$post-toc-list-style: square !default; - -// Max screen media of the post toc. -$toc-max-sreen-width: 2 * $post-toc-width + $post-toc-margin-left !default; - -// ========== Content ========== // -// Headings anchor. -$content-headings-anchor: "" !default; - -// Border bottom of the link when hover it. -$content-link-border: 1px solid $theme-color !default; - -// Background color of the blockquote. -$content-blockquote-backgroud: rgba($theme-color, 0.05) !default; - -// Border left of the blockquote. -$content-blockquote-border-left: 3px solid rgba($theme-color, 0.3) !default; - -// Border color of the table. -$content-table-border-color: darken($deputy-color, 3%) !default; - -// ========== Code ========== // -// Color of the code. -$code-color: #c7254e !default; - -// Font size of code. -$code-font-size: 13px !default; - -// Font family of the code. -$code-font-family: Consolas, Monaco, Menlo, Consolas, monospace !default; - -// Color of code highlight, solarized. -$code-highlight-color: ( - comment: #93a1a1, - keyword: #859900, - number: #2aa198, - title: #268bd2, - attribute: #b58900, - symbol: #cb4b16, - built_in: #dc322f, - formula: #eee8d5 -) !default; - -// Code type list. -$code-type-list: ( - // Custom code type - language-bash: "Bash", - language-c: "C", - language-cs: "C#", - language-cpp: "C++", - language-css: "CSS", - language-coffeescript: "CoffeeScript", - language-html: "HTML", - language-xml: "XML", - language-http: "HTTP", - language-json: "JSON", - language-java: "Java", - language-js: "JavaScript", - language-javascript: "JavaScript", - language-makefile: "Makefile", - language-markdown: "Markdown", - language-objectivec: "Objective-C", - language-php: "PHP", - language-perl: "Perl", - language-python: "Python", - language-ruby: "Ruby", - language-sql: "SQL", - language-shell: "Shell", - - language-erlang: "Erlang", - language-go: "Go", - language-groovy: "Groovy", - language-haskell: "Haskell", - language-kotlin: "Kotlin", - language-less: "Less", - language-lisp: "Lisp", - language-lua: "Lua", - language-matlab: "Matlab", - language-rust: "Rust", - language-scss: "Scss", - language-scala: "Scala", - language-swift: "Swift", - language-typescript: "TypeScript", - language-yml: "YAML", - language-yaml: "YAML", - language-toml: "TOML" -) !default; - -// Color of the code background. -$code-background: $deputy-color !default; - - -// ========== Pagination ========== // -// Margin of the pagination. -$pagination-margin: 2em 0 !default; - -// Font size of the pagination (Without post, post pagination see line 140). -$pagination-font-size: 20px !default; - - -// ========== Footer ========== // -// Margin top of the footer. -$footer-margin-top: 2em !default; - -// Margin left of the social link. -$social-link-margin-left: 10px !default; - -// Font size of the social icon. -$social-icon-font-size: 30px !default; - -// Margin of the copyright. -$copyright-margin: 10px 0 !default; - - -// ========== Archive ========== // -// Margin of the archive. -$archive-margin: 2em 0px !default; - -// Max width of the archive. -$archive-max-width: 550px !default; - -// Font size of the archive name. -$archive-name-font-size: 30px !default; - -// Font size of the collection title. -$collection-title-font-size: 28px !default; - -// Padding of the archive post. -$archive-post-padding: 3px 20px !default; - -// Padding of the archive post in mobile. -$archive-post-mobile-padding: 5px 10px !default; - -// Font size of the archive post time in mobile. -$archive-post-mobile-time-font-size: 13px !default; - -// Border left of the archive post, use $archive-post-hover-border-left when hover it. -$archive-post-border-left: 1px solid $gray !default; -$archive-post-hover-border-left: 3px solid $theme-color !default; - -// Transition of the archive post when hover it. -$archive-post-hover-transition: 0.2s ease-out !default; - -// Transform of the archive post when hover it. -$archive-post-hover-transform: translateX(4px) !default; - - -// ========== Tags ========== // -// Font soze of the tag cloud title. -$tag-cloud-title-size: 18px !default; - -// Border bottom of the tag cloud title. -$tag-cloud-title-border-bottom: 2px solid $theme-color !default; - -// Margin of the tag cloud tags link. -$tag-cloud-tags-link-margin: 5px 10px !default; - - -// ========== Categories ========== // -// Font soze of the categories title. -$categories-title-size: 18px !default; - -// Border bottom of the categories title. -$categories-title-border-bottom: 2px solid $theme-color !default; - -// Margin of the categories tags link. -$categories-tags-link-margin: 5px 10px !default; - -// Font size of the category count -$category-count-font-size: 12px !default; diff --git a/themes/even/src/css/style.scss b/themes/even/src/css/style.scss deleted file mode 100644 index 50fcf7a..0000000 --- a/themes/even/src/css/style.scss +++ /dev/null @@ -1,19 +0,0 @@ -@import "_custom/custom"; -@import "_variables"; - -@import "_common/utils"; -@import "_common/animation"; - -@import "_base"; -@import "_iconfont"; -@import "_partial/header"; -@import "_partial/post"; -@import "_partial/pagination"; -@import "_partial/footer"; -@import "_partial/archive"; -@import "_partial/tags"; -@import "_partial/categories"; -@import "_partial/slideout"; -@import "_partial/mobile"; -@import "_partial/back-to-top"; -@import "_partial/404"; diff --git a/themes/even/src/fonts/iconfont/iconfont.eot b/themes/even/src/fonts/iconfont/iconfont.eot deleted file mode 100644 index 912bca3..0000000 Binary files a/themes/even/src/fonts/iconfont/iconfont.eot and /dev/null differ diff --git a/themes/even/src/fonts/iconfont/iconfont.svg b/themes/even/src/fonts/iconfont/iconfont.svg deleted file mode 100644 index a13a862..0000000 --- a/themes/even/src/fonts/iconfont/iconfont.svg +++ /dev/null @@ -1,93 +0,0 @@ - - - - - -Created by iconfont - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/themes/even/src/fonts/iconfont/iconfont.ttf b/themes/even/src/fonts/iconfont/iconfont.ttf deleted file mode 100644 index f6765c5..0000000 Binary files a/themes/even/src/fonts/iconfont/iconfont.ttf and /dev/null differ diff --git a/themes/even/src/fonts/iconfont/iconfont.woff b/themes/even/src/fonts/iconfont/iconfont.woff deleted file mode 100644 index 526da66..0000000 Binary files a/themes/even/src/fonts/iconfont/iconfont.woff and /dev/null differ diff --git a/themes/even/src/js/even.js b/themes/even/src/js/even.js deleted file mode 100644 index 6b544a4..0000000 --- a/themes/even/src/js/even.js +++ /dev/null @@ -1,246 +0,0 @@ -'use strict' - -const Even = {} - -Even.backToTop = function () { - const $backToTop = $('#back-to-top') - - $(window).scroll(function () { - if ($(window).scrollTop() > 100) { - $backToTop.fadeIn(1000) - } else { - $backToTop.fadeOut(1000) - } - }) - - $backToTop.click(function () { - $('body,html').animate({ scrollTop: 0 }) - }) -} - -Even.mobileNavbar = function () { - const $mobileNav = $('#mobile-navbar') - const $mobileNavIcon = $('.mobile-navbar-icon') - const slideout = new Slideout({ - 'panel': document.getElementById('mobile-panel'), - 'menu': document.getElementById('mobile-menu'), - 'padding': 180, - 'tolerance': 70 - }) - slideout.disableTouch() - - $mobileNavIcon.click(function () { - slideout.toggle() - }) - - slideout.on('beforeopen', function () { - $mobileNav.addClass('fixed-open') - $mobileNavIcon.addClass('icon-click').removeClass('icon-out') - }) - - slideout.on('beforeclose', function () { - $mobileNav.removeClass('fixed-open') - $mobileNavIcon.addClass('icon-out').removeClass('icon-click') - }) - - $('#mobile-panel').on('touchend', function () { - slideout.isOpen() && $mobileNavIcon.click() - }) -} - -Even._initToc = function () { - const SPACING = 20 - const $toc = $('.post-toc') - const $footer = $('.post-footer') - - if ($toc.length) { - const minScrollTop = $toc.offset().top - SPACING - const maxScrollTop = $footer.offset().top - $toc.height() - SPACING - - const tocState = { - start: { - 'position': 'absolute', - 'top': minScrollTop - }, - process: { - 'position': 'fixed', - 'top': SPACING - }, - end: { - 'position': 'absolute', - 'top': maxScrollTop - } - } - - $(window).scroll(function () { - const scrollTop = $(window).scrollTop() - - if (scrollTop < minScrollTop) { - $toc.css(tocState.start) - } else if (scrollTop > maxScrollTop) { - $toc.css(tocState.end) - } else { - $toc.css(tocState.process) - } - }) - } - - const HEADERFIX = 30 - const $toclink = $('.toc-link') - const $headerlink = $('.headerlink') - const $tocLinkLis = $('.post-toc-content li') - - const headerlinkTop = $.map($headerlink, function (link) { - return $(link).offset().top - }) - - const headerLinksOffsetForSearch = $.map(headerlinkTop, function (offset) { - return offset - HEADERFIX - }) - - const searchActiveTocIndex = function (array, target) { - for (let i = 0; i < array.length - 1; i++) { - if (target > array[i] && target <= array[i + 1]) return i - } - if (target > array[array.length - 1]) return array.length - 1 - return -1 - } - - $(window).scroll(function () { - const scrollTop = $(window).scrollTop() - const activeTocIndex = searchActiveTocIndex(headerLinksOffsetForSearch, scrollTop) - - $($toclink).removeClass('active') - $($tocLinkLis).removeClass('has-active') - - if (activeTocIndex !== -1) { - $($toclink[activeTocIndex]).addClass('active') - let ancestor = $toclink[activeTocIndex].parentNode - while (ancestor.tagName !== 'NAV') { - $(ancestor).addClass('has-active') - ancestor = ancestor.parentNode.parentNode - } - } - }) -} - -Even.fancybox = function () { - if ($.fancybox) { - $('.post-content').each(function () { - $(this).find('img').each(function () { - $(this).wrap(``) - }) - }) - - $('.fancybox').fancybox({ - selector: '.fancybox', - protect: true - }) - } -} - -Even.highlight = function () { - const blocks = document.querySelectorAll('pre code') - for (let i = 0; i < blocks.length; i++) { - const block = blocks[i] - const rootElement = block.parentElement - const lineCodes = block.innerHTML.split(/\n/) - if (lineCodes[lineCodes.length - 1] === '') lineCodes.pop() - const lineLength = lineCodes.length - - let codeLineHtml = '' - for (let i = 0; i < lineLength; i++) { - codeLineHtml += `
${i + 1}
` - } - - let codeHtml = '' - for (let i = 0; i < lineLength; i++) { - codeHtml += `
${lineCodes[i]}
` - } - - block.className += ' highlight' - const figure = document.createElement('figure') - figure.className = block.className - figure.innerHTML = `
${codeLineHtml}
${codeHtml}
` - - rootElement.parentElement.replaceChild(figure, rootElement) - } -} - -Even.toc = function () { - const tocContainer = document.getElementById('post-toc') - if (tocContainer !== null) { - const toc = document.getElementById('TableOfContents') - if (toc === null) { - // toc = true, but there are no headings - tocContainer.parentNode.removeChild(tocContainer) - } else { - this._refactorToc(toc) - this._linkToc() - this._initToc() - } - } -} - -Even._refactorToc = function (toc) { - // when headings do not start with `h1` - const oldTocList = toc.children[0] - let newTocList = oldTocList - let temp - while (newTocList.children.length === 1 && (temp = newTocList.children[0].children[0]).tagName === 'UL') newTocList = temp - - if (newTocList !== oldTocList) toc.replaceChild(newTocList, oldTocList) -} - -Even._linkToc = function () { - const links = document.querySelectorAll('#TableOfContents a:first-child') - for (let i = 0; i < links.length; i++) links[i].className += ' toc-link' - - for (let num = 1; num <= 6; num++) { - const headers = document.querySelectorAll('.post-content>h' + num) - for (let i = 0; i < headers.length; i++) { - const header = headers[i] - header.innerHTML = `${header.innerHTML}` - } - } -} - -Even.flowchart = function () { - if (!window.flowchart) return - - const blocks = document.querySelectorAll('pre code.language-flowchart') - for (let i = 0; i < blocks.length; i++) { - const block = blocks[i] - const rootElement = block.parentElement - - const container = document.createElement('div') - const id = `js-flowchart-diagrams-${i}` - container.id = id - container.className = 'align-center' - rootElement.parentElement.replaceChild(container, rootElement) - - const diagram = flowchart.parse(block.childNodes[0].nodeValue) - diagram.drawSVG(id, window.flowchartDiagramsOptions ? window.flowchartDiagramsOptions : {}) - } -} - -Even.sequence = function () { - if (!window.Diagram) return - - const blocks = document.querySelectorAll('pre code.language-sequence') - for (let i = 0; i < blocks.length; i++) { - const block = blocks[i] - const rootElement = block.parentElement - - const container = document.createElement('div') - const id = `js-sequence-diagrams-${i}` - container.id = id - container.className = 'align-center' - rootElement.parentElement.replaceChild(container, rootElement) - - const diagram = Diagram.parse(block.childNodes[0].nodeValue) - diagram.drawSVG(id, window.sequenceDiagramsOptions ? window.sequenceDiagramsOptions : {theme: 'simple'}) - } -} - -export {Even} diff --git a/themes/even/src/js/main.js b/themes/even/src/js/main.js deleted file mode 100644 index 289b8dc..0000000 --- a/themes/even/src/js/main.js +++ /dev/null @@ -1,16 +0,0 @@ -import {Even} from './even.js' - -import '../css/style.scss' - -$(document).ready(function () { - Even.backToTop() - Even.mobileNavbar() - Even.toc() - Even.fancybox() -}) - -Even.flowchart() -Even.sequence() - -hljs.initHighlighting() -Even.highlight() diff --git a/themes/even/src/package.json b/themes/even/src/package.json deleted file mode 100644 index 2f436b7..0000000 --- a/themes/even/src/package.json +++ /dev/null @@ -1,31 +0,0 @@ -{ - "name": "even-src", - "version": "1.0.0", - "description": "even source file", - "main": "index.js", - "scripts": { - "start": "webpack", - "build": "webpack" - }, - "author": "ahonn, olOwOlo", - "license": "MIT", - "devDependencies": { - "autoprefixer": "^7.2.4", - "babel-core": "^6.26.0", - "babel-loader": "^7.1.2", - "babel-plugin-transform-runtime": "^6.23.0", - "babel-preset-es2015": "^6.24.1", - "babel-preset-stage-2": "^6.24.1", - "css-loader": "^0.28.8", - "expose-loader": "^0.7.4", - "extract-text-webpack-plugin": "^3.0.2", - "file-loader": "^1.1.6", - "node-sass": "^4.7.2", - "postcss-loader": "^2.0.10", - "sass-loader": "^6.0.6", - "style-loader": "^0.19.1", - "uglifyjs-webpack-plugin": "^1.1.6", - "url-loader": "^0.6.2", - "webpack": "^3.10.0" - } -} diff --git a/themes/even/src/postcss.config.js b/themes/even/src/postcss.config.js deleted file mode 100644 index 7c5b1be..0000000 --- a/themes/even/src/postcss.config.js +++ /dev/null @@ -1,7 +0,0 @@ -module.exports = { - plugins: [ - require('autoprefixer')({ - browsers: ['> 1%', 'last 2 versions', 'ie >= 9'] - }) - ] -} \ No newline at end of file diff --git a/themes/even/src/webpack.config.js b/themes/even/src/webpack.config.js deleted file mode 100644 index 0e47863..0000000 --- a/themes/even/src/webpack.config.js +++ /dev/null @@ -1,50 +0,0 @@ -const path = require('path') -const ExtractTextPlugin = require('extract-text-webpack-plugin') -const UglifyJSPlugin = require('uglifyjs-webpack-plugin') - -const extractSass = new ExtractTextPlugin({ - filename: `even.min.css` -}) - -module.exports = { - devtool: 'source-map', - entry: { - even: './js/main.js' - }, - output: { - path: path.join(__dirname, '../static/dist'), - filename: `[name].min.js` - }, - module: { - rules: [ - { - test: /\.js$/, - exclude: /node_modules/, - loader: 'babel-loader' - }, - { - test: /\.scss$/, - use: extractSass.extract({ - use: [{ - loader: 'css-loader', options: {minimize: true, sourceMap: true} - }, { - loader: 'postcss-loader', options: {sourceMap: true} - }, { - loader: 'sass-loader', options: {sourceMap: true} - }], - fallback: 'style-loader' - }) - }, - { - test: /iconfont\.(woff|woff2|eot|ttf|otf|svg)$/, - use: ['file-loader?name=[path][name].[ext]?hash=[hash:7]'] - } - ] - }, - plugins: [ - extractSass, - new UglifyJSPlugin({ - sourceMap: true - }) - ] -} diff --git a/themes/even/static/android-chrome-192x192.png b/themes/even/static/android-chrome-192x192.png deleted file mode 100644 index 939d110..0000000 Binary files a/themes/even/static/android-chrome-192x192.png and /dev/null differ diff --git a/themes/even/static/android-chrome-512x512.png b/themes/even/static/android-chrome-512x512.png deleted file mode 100644 index 5d0adb6..0000000 Binary files a/themes/even/static/android-chrome-512x512.png and /dev/null differ diff --git a/themes/even/static/apple-touch-icon.png b/themes/even/static/apple-touch-icon.png deleted file mode 100644 index 140d7f6..0000000 Binary files a/themes/even/static/apple-touch-icon.png and /dev/null differ diff --git a/themes/even/static/browserconfig.xml b/themes/even/static/browserconfig.xml deleted file mode 100644 index e8b57e5..0000000 --- a/themes/even/static/browserconfig.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - - - - #b91d47 - - - diff --git a/themes/even/static/dist/even.min.css b/themes/even/static/dist/even.min.css deleted file mode 100644 index da5e891..0000000 --- a/themes/even/static/dist/even.min.css +++ /dev/null @@ -1,2 +0,0 @@ -/*! normalize.css v3.0.2 | MIT License | git.io/normalize */html{font-family:sans-serif;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%}article,aside,details,figcaption,figure,footer,header,hgroup,main,menu,nav,section,summary{display:block}audio,canvas,progress,video{display:inline-block;vertical-align:baseline}audio:not([controls]){display:none;height:0}[hidden],template{display:none}a{background-color:transparent}a:active,a:hover{outline:0}abbr[title]{border-bottom:1px dotted}b,strong{font-weight:700}dfn{font-style:italic}h1{font-size:2em;margin:.67em 0}mark{background:#ff0;color:#000}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sup{top:-.5em}sub{bottom:-.25em}img{border:0}svg:not(:root){overflow:hidden}figure{margin:1em 40px}hr{-webkit-box-sizing:content-box;box-sizing:content-box;height:0}pre{overflow:auto}code,kbd,pre,samp{font-family:monospace,monospace;font-size:1em}button,input,optgroup,select,textarea{color:inherit;font:inherit;margin:0}button{overflow:visible}button,select{text-transform:none}button,html input[type=button],input[type=reset],input[type=submit]{-webkit-appearance:button;cursor:pointer}button[disabled],html input[disabled]{cursor:default}button::-moz-focus-inner,input::-moz-focus-inner{border:0;padding:0}input{line-height:normal}input[type=checkbox],input[type=radio]{-webkit-box-sizing:border-box;box-sizing:border-box;padding:0}input[type=number]::-webkit-inner-spin-button,input[type=number]::-webkit-outer-spin-button{height:auto}input[type=search]{-webkit-appearance:textfield;-webkit-box-sizing:content-box;box-sizing:content-box}input[type=search]::-webkit-search-cancel-button,input[type=search]::-webkit-search-decoration{-webkit-appearance:none}fieldset{border:1px solid silver;margin:0 2px;padding:.35em .625em .75em}legend{border:0;padding:0}textarea{overflow:auto}optgroup{font-weight:700}table{border-collapse:collapse;border-spacing:0}td,th{padding:0}html{font-size:16px;-webkit-box-sizing:border-box;box-sizing:border-box}body{padding:0;margin:0;font-family:Source Sans Pro,Helvetica Neue,Arial,sans-serif;font-weight:400;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;line-height:1.5;color:#34495e;background:#fefefe;scroll-behavior:smooth;border-top:3px solid #16982b}@media screen and (max-width:800px){body{border-top:0}}::-moz-selection{background:#16982b;color:#fff}::selection{background:#16982b;color:#fff}img{max-width:100%;height:auto;display:inline-block;vertical-align:middle}a{color:#34495e;text-decoration:none}h1{font-size:26px}h1,h2{font-family:Source Sans Pro,Helvetica Neue,Arial,sans-serif}h2{font-size:24px}h3{font-size:20px}h3,h4{font-family:Source Sans Pro,Helvetica Neue,Arial,sans-serif}h4{font-size:16px}h5,h6{font-size:14px;font-family:Source Sans Pro,Helvetica Neue,Arial,sans-serif}.container{margin:0 auto;width:800px}@media screen and (max-width:800px){.container{width:100%;-webkit-box-shadow:-1px -5px 5px #cacaca;box-shadow:-1px -5px 5px #cacaca}}.content-wrapper{padding:0 20px}.video-container{position:relative;padding-bottom:56.25%;padding-top:25px;height:0}.video-container iframe{position:absolute;top:0;left:0;width:100%;height:100%}.svg-icon{width:40px;height:40px;display:inline-block}.svg-icon.email{background-image:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNDBweCIgaGVpZ2h0PSI0MHB4IiB2aWV3Qm94PSIwIDAgNjAgNjAiIHZlcnNpb249IjEuMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgeG1sbnM6c2tldGNoPSJodHRwOi8vd3d3LmJvaGVtaWFuY29kaW5nLmNvbS9za2V0Y2gvbnMiPg0KICAgIDxwYXRoIGQ9Ik0wLjIyNDU4MDY4OCwzMCBDMC4yMjQ1ODA2ODgsMTMuNDMx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TI3LDMuNDI5IDAuNDYsNC41NjEgbCA2Ljk2OSw1LjY5MyAtMTQuMzQzLDE3LjYwNCBjIC0xLjQ2OCwxLjggLTEuMTk5LDQuNDQ3IDAuNTk4LDUuOTE1IDAuNzg1LDAuNjQgMS43MjYsMC45NSAyLjY2LDAuOTUiICAgICAgICAgICAgIHN0eWxlPSJmaWxsOiMyODI4Mjg7ZmlsbC1vcGFjaXR5OjE7ZmlsbC1ydWxlOm5vbnplcm87c3Ryb2tlOm5vbmUiICAgICAgICAgICAgIGlkPSJwYXRoMzgwNCIgICAgICAgICAgICAgaW5rc2NhcGU6Y29ubmVjdG9yLWN1cnZhdHVyZT0iMCIgLz4gICAgICAgIDwvZz4gICAgICA8L2c+ICAgIDwvZz4gIDwvZz48L3N2Zz4=)}@font-face{font-family:iconfont;src:url(fonts/iconfont/iconfont.eot?hash=c2af3bb);src:url(fonts/iconfont/iconfont.eot?hash=c2af3bb#iefix) format("embedded-opentype"),url(fonts/iconfont/iconfont.woff?hash=5d21a10) format("woff"),url(fonts/iconfont/iconfont.ttf?hash=0e6028a) format("truetype"),url(fonts/iconfont/iconfont.svg?hash=566e23f#iconfont) format("svg")}.iconfont{font-family:iconfont!important;font-style:normal;-webkit-font-smoothing:antialiased;-webkit-text-stroke-width:.2px;-moz-osx-font-smoothing:grayscale;cursor:pointer}.icon-instagram:before{font-size:.95em;content:"\E611";position:relative;top:-1px}.icon-douban:before{content:"\E610"}.icon-tumblr:before{content:"\E69F";font-size:.85em;position:relative;top:-4px}.icon-linkedin:before{content:"\E60D";position:relative;top:-4px}.icon-twitter:before{content:"\E600"}.icon-weibo:before{content:"\E602"}.icon-stack-overflow:before{content:"\E603";font-size:.85em;position:relative;top:-4px}.icon-email:before{content:"\E605";position:relative;top:-2px}.icon-facebook:before{content:"\E601";font-size:.95em;position:relative;top:-2px}.icon-github:before{content:"\E606";position:relative;top:-3px}.icon-rss:before{content:"\E604"}.icon-google:before{content:"\E609"}.icon-zhihu:before{content:"\E607";font-size:.9em;position:relative;top:-2px}.icon-pocket:before{content:"\E856"}.icon-heart:before{content:"\E608"}.icon-right:before{content:"\E60A"}.icon-left:before{content:"\E60B"}.icon-up:before{content:"\E60C"}.icon-close:before{content:"\E60F"}.header{padding:20px}.header:after,.header:before{content:" ";display:table}.header:after{clear:both}.header .logo-wrapper{float:left}.header .logo-wrapper .logo{font-size:48px;font-family:sans-serif}@media screen and (max-width:800px){.header .logo-wrapper{display:none}}.header .site-navbar{float:right}.header .site-navbar .menu{display:inline-block;position:relative;padding-left:0;padding-right:25px;font-family:Source Sans Pro,Helvetica Neue,Arial,sans-serif}.header .site-navbar .menu .menu-item{display:inline-block;vertical-align:middle;-webkit-transform:translateZ(0);transform:translateZ(0);-webkit-backface-visibility:hidden;backface-visibility:hidden;-webkit-box-shadow:0 0 1px transparent;box-shadow:0 0 1px transparent;position:relative;overflow:hidden}.header .site-navbar .menu .menu-item+.menu-item{margin-left:10px}.header .site-navbar .menu .menu-item:before{content:"";position:absolute;z-index:-1;height:2px;bottom:0;left:51%;right:51%;background:#16982b;-webkit-transition-duration:.2s;transition-duration:.2s;-webkit-transition-property:right,left;transition-property:right,left;-webkit-transition-timing-function:ease-out;transition-timing-function:ease-out}.header .site-navbar .menu .menu-item.active:before,.header .site-navbar .menu .menu-item:active:before,.header .site-navbar .menu .menu-item:focus:before,.header .site-navbar .menu .menu-item:hover:before{right:0;left:0}.header .site-navbar .menu .menu-item-link{font-size:18px}@media screen and (max-width:800px){.header .site-navbar{display:none}}@media screen and (max-width:800px){.header{padding:50px 0 0;text-align:center}}.posts{margin-bottom:20px;border-bottom:1px solid #e6e6e6}.post{padding:1.5em 0}.post+.post{border-top:1px solid #e6e6e6}.post .post-header{margin-bottom:20px}.post .post-header .post-title{margin:0;font-size:27px;font-weight:400;font-family:Source Sans Pro,Helvetica Neue,Arial,sans-serif}.post .post-header .post-link{display:inline-block;vertical-align:middle;-webkit-transform:translateZ(0);transform:translateZ(0);-webkit-backface-visibility:hidden;backface-visibility:hidden;-webkit-box-shadow:0 0 1px transparent;box-shadow:0 0 1px transparent;position:relative;overflow:hidden}.post .post-header .post-link:before{content:"";position:absolute;z-index:-1;height:2px;bottom:0;left:51%;right:51%;background:#16982b;-webkit-transition-duration:.2s;transition-duration:.2s;-webkit-transition-property:right,left;transition-property:right,left;-webkit-transition-timing-function:ease-out;transition-timing-function:ease-out}.post .post-header .post-link.active:before,.post .post-header .post-link:active:before,.post .post-header .post-link:focus:before,.post .post-header .post-link:hover:before{right:0;left:0}.post .post-header .post-meta{font-size:14px;color:#8a8a8a}.post .post-header .post-meta .post-time{font-size:15px}.post .post-header .post-meta .post-category{display:inline}.post .post-header .post-meta .post-category a{color:inherit}.post .post-header .post-meta .post-category a:before{content:"\B7"}.post .post-header .post-meta .post-category a:hover{color:#16982b}.post .post-header .post-meta .more-meta:before{content:"\B7"}.post .post-toc{position:absolute;width:200px;margin-left:785px;padding:10px;font-family:Source Sans Pro,Helvetica Neue,Arial,sans-serif;border-radius:5px;background:hsla(0,0%,96%,.6);-webkit-box-shadow:1px 1px 2px rgba(0,0,0,.125);box-shadow:1px 1px 2px rgba(0,0,0,.125);word-wrap:break-word;-webkit-box-sizing:border-box;box-sizing:border-box}.post .post-toc .post-toc-title{margin:0 10px;font-size:20px;font-weight:400;text-transform:uppercase}.post .post-toc .post-toc-content{font-size:15px}.post .post-toc .post-toc-content.always-active ul{display:block}.post .post-toc .post-toc-content>nav>ul{margin:10px 0}.post .post-toc .post-toc-content ul{padding-left:20px;list-style:square}.post .post-toc .post-toc-content ul ul{padding-left:15px;display:none}.post .post-toc .post-toc-content ul .has-active>ul{display:block}.post .post-toc .post-toc-content .toc-link.active{color:#16982b}@media screen and (max-width:1185px){.post .post-toc{display:none}}.post .post-content{word-wrap:break-word}.post .post-content h1,.post .post-content h2,.post .post-content h3,.post .post-content h4,.post .post-content h5,.post .post-content h6{font-weight:400;font-family:Source Sans Pro,Helvetica Neue,Arial,sans-serif}.post .post-content a{color:#16982b;word-break:break-all}.post .post-content a:hover{border-bottom:1px solid #16982b}.post .post-content a.fancybox{border:0}.post .post-content blockquote{margin:2em 0;padding:10px 20px;position:relative;color:rgba(52,73,94,.8);background-color:rgba(22,152,43,.05);border-left:3px solid rgba(22,152,43,.3);-webkit-box-shadow:1px 1px 2px rgba(0,0,0,.125);box-shadow:1px 1px 2px rgba(0,0,0,.125)}.post .post-content blockquote p{margin:0}.post .post-content img{display:inline-block;max-width:100%}.post .post-content>table{max-width:100%;margin:10px 0;border-spacing:0;-webkit-box-shadow:2px 2px 3px rgba(0,0,0,.125);box-shadow:2px 2px 3px rgba(0,0,0,.125)}.post .post-content>table thead{background:#f5f5f5}.post .post-content>table td,.post .post-content>table th{padding:5px 15px;border:1px double #ededed}.post .post-content>table tr:hover{background-color:#f5f5f5}.post .post-content code,.post .post-content pre{padding:7px;font-size:13px;font-family:Consolas,Monaco,Menlo,monospace;background:#f5f5f5}.post .post-content code{padding:3px 5px;border-radius:4px;color:#c7254e}.post .post-content figure.highlight{margin:1em 0;border-radius:5px;overflow-x:auto;-webkit-box-shadow:1px 1px 2px rgba(0,0,0,.125);box-shadow:1px 1px 2px rgba(0,0,0,.125);position:relative}.post .post-content figure.highlight table{position:relative}.post .post-content figure.highlight table:after{position:absolute;top:0;right:0;left:0;padding:2px 7px;font-size:13px;font-weight:700;color:#b1b1b1;background:#ededed;content:"Code"}.post .post-content figure.highlight.language-bash>table:after{content:"Bash"}.post .post-content figure.highlight.language-c>table:after{content:"C"}.post .post-content figure.highlight.language-cs>table:after{content:"C#"}.post .post-content figure.highlight.language-cpp>table:after{content:"C++"}.post .post-content figure.highlight.language-css>table:after{content:"CSS"}.post .post-content figure.highlight.language-coffeescript>table:after{content:"CoffeeScript"}.post .post-content figure.highlight.language-html>table:after{content:"HTML"}.post .post-content figure.highlight.language-xml>table:after{content:"XML"}.post .post-content figure.highlight.language-http>table:after{content:"HTTP"}.post .post-content figure.highlight.language-json>table:after{content:"JSON"}.post .post-content figure.highlight.language-java>table:after{content:"Java"}.post .post-content figure.highlight.language-javascript>table:after,.post .post-content figure.highlight.language-js>table:after{content:"JavaScript"}.post .post-content figure.highlight.language-makefile>table:after{content:"Makefile"}.post .post-content figure.highlight.language-markdown>table:after{content:"Markdown"}.post .post-content figure.highlight.language-objectivec>table:after{content:"Objective-C"}.post .post-content figure.highlight.language-php>table:after{content:"PHP"}.post .post-content figure.highlight.language-perl>table:after{content:"Perl"}.post .post-content figure.highlight.language-python>table:after{content:"Python"}.post .post-content figure.highlight.language-ruby>table:after{content:"Ruby"}.post .post-content figure.highlight.language-sql>table:after{content:"SQL"}.post .post-content figure.highlight.language-shell>table:after{content:"Shell"}.post .post-content figure.highlight.language-erlang>table:after{content:"Erlang"}.post .post-content figure.highlight.language-go>table:after{content:"Go"}.post .post-content figure.highlight.language-groovy>table:after{content:"Groovy"}.post .post-content figure.highlight.language-haskell>table:after{content:"Haskell"}.post .post-content figure.highlight.language-kotlin>table:after{content:"Kotlin"}.post .post-content figure.highlight.language-less>table:after{content:"Less"}.post .post-content figure.highlight.language-lisp>table:after{content:"Lisp"}.post .post-content figure.highlight.language-lua>table:after{content:"Lua"}.post .post-content figure.highlight.language-matlab>table:after{content:"Matlab"}.post .post-content figure.highlight.language-rust>table:after{content:"Rust"}.post .post-content figure.highlight.language-scss>table:after{content:"Scss"}.post .post-content figure.highlight.language-scala>table:after{content:"Scala"}.post .post-content figure.highlight.language-swift>table:after{content:"Swift"}.post .post-content figure.highlight.language-typescript>table:after{content:"TypeScript"}.post .post-content figure.highlight.language-yaml>table:after,.post .post-content figure.highlight.language-yml>table:after{content:"YAML"}.post .post-content figure.highlight.language-toml>table:after{content:"TOML"}.post .post-content figure.highlight .code pre{margin:0;padding:30px 10px 10px}.post .post-content figure.highlight .gutter{width:10px;color:#cacaca}.post .post-content figure.highlight .gutter pre{margin:0;padding:30px 7px 10px}.post .post-content figure.highlight .line{height:20px}.post .post-content figure.highlight table,.post .post-content figure.highlight td,.post .post-content figure.highlight tr{margin:0;padding:0;width:100%;border-collapse:collapse}.post .post-content figure.highlight .code .hljs-comment,.post .post-content figure.highlight .code .hljs-quote{color:#93a1a1}.post .post-content figure.highlight .code .hljs-addition,.post .post-content figure.highlight .code .hljs-keyword,.post .post-content figure.highlight .code .hljs-selector-tag{color:#859900}.post .post-content figure.highlight .code .hljs-doctag,.post .post-content figure.highlight .code .hljs-literal,.post .post-content figure.highlight .code .hljs-meta .hljs-meta-string,.post .post-content figure.highlight .code .hljs-number,.post .post-content figure.highlight .code .hljs-regexp,.post .post-content figure.highlight .code .hljs-string{color:#2aa198}.post .post-content figure.highlight .code .hljs-name,.post .post-content figure.highlight .code .hljs-section,.post .post-content figure.highlight .code .hljs-selector-class,.post .post-content figure.highlight .code .hljs-selector-id,.post .post-content figure.highlight .code .hljs-title{color:#268bd2}.post .post-content figure.highlight .code .hljs-attr,.post .post-content figure.highlight .code .hljs-attribute,.post .post-content figure.highlight .code .hljs-class .hljs-title,.post .post-content figure.highlight .code .hljs-template-variable,.post .post-content figure.highlight .code .hljs-type,.post .post-content figure.highlight .code .hljs-variable{color:#b58900}.post .post-content figure.highlight .code .hljs-bullet,.post .post-content figure.highlight .code .hljs-link,.post .post-content figure.highlight .code .hljs-meta,.post .post-content figure.highlight .code .hljs-meta .hljs-keyword,.post .post-content figure.highlight .code .hljs-selector-attr,.post .post-content figure.highlight .code .hljs-selector-pseudo,.post .post-content figure.highlight .code .hljs-subst,.post .post-content figure.highlight .code .hljs-symbol{color:#cb4b16}.post .post-content figure.highlight .code .hljs-built_in,.post .post-content figure.highlight .code .hljs-deletion{color:#dc322f}.post .post-content figure.highlight .code .hljs-formula{background:#eee8d5}.post .post-content figure.highlight .code .hljs-emphasis{font-style:italic}.post .post-content figure.highlight .code .hljs-strong{font-weight:700}.post .post-content .post-summary{margin-bottom:1em}.post .post-content .read-more .read-more-link{color:#16982b;font-size:1.1em;font-family:Source Sans Pro,Helvetica Neue,Arial,sans-serif}.post .post-content .read-more .read-more-link:hover{border-bottom:1px solid #16982b}.post .post-content kbd{display:inline-block;padding:.25em;background-color:#fafafa;border:1px solid #dbdbdb;border-bottom-color:#b5b5b5;border-radius:3px;-webkit-box-shadow:inset 0 -1px 0 #b5b5b5;box-shadow:inset 0 -1px 0 #b5b5b5;font-size:.8em;line-height:1.25;font-family:SFMono-Regular,Liberation Mono,Roboto Mono,Menlo,Monaco,Consolas,Courier New,Courier,monospace;color:#4a4a4a}.post .post-content dl dt:after{content:":"}.post .post-content figure.center{text-align:center}.post .post-content figure.right{text-align:right}.post .post-content figure.left{text-align:left}.post .post-content figure figcaption h4{color:#b5b5b5;font-size:.9rem}.post .post-content .task-list{list-style:none;padding-left:1.5rem}.post .post-content .align-center{text-align:center}.post .post-content .align-right{text-align:right}.post .post-content .align-left{text-align:left}.post .post-content .MJXc-display{overflow-x:auto;overflow-y:hidden}.post .post-copyright{margin-top:20px;padding-top:10px;border-top:1px dashed #e6e6e6}.post .post-copyright .copyright-item{margin:5px 0}.post .post-copyright .copyright-item a{color:#16982b;word-wrap:break-word}.post .post-copyright .copyright-item a:hover{border-bottom:1px solid #16982b}.post .post-copyright .copyright-item .item-title{display:inline-block;min-width:5rem;margin-right:.5rem;text-align:right}.post .post-copyright .copyright-item .item-title:after{content:" :"}.post .post-reward{margin-top:20px;padding-top:10px;text-align:center;border-top:1px dashed #e6e6e6}.post .post-reward .reward-button{margin:15px 0;padding:3px 7px;display:inline-block;color:#16982b;border:1px solid #16982b;border-radius:5px;cursor:pointer}.post .post-reward .reward-button:hover{color:#fefefe;background-color:#16982b;-webkit-transition:.5s;transition:.5s}.post .post-reward #reward:checked~.qr-code{display:block}.post .post-reward #reward:checked~.reward-button,.post .post-reward .qr-code{display:none}.post .post-reward .qr-code .qr-code-image{display:inline-block;min-width:200px;width:40%;margin-top:15px}.post .post-reward .qr-code .qr-code-image span{display:inline-block;width:100%;margin:8px 0}.post .post-reward .qr-code .image{width:200px;height:200px}.post .post-tags{padding:15px 0}.post .post-tags a{margin-right:5px;color:#16982b;word-break:break-all}.post .post-tags a:before{content:"#"}.post .post-footer{margin-top:20px;border-top:1px solid #e6e6e6;font-family:Source Sans Pro,Helvetica Neue,Arial,sans-serif}.post .post-footer .post-tags{padding:15px 0}.post .post-footer .post-tags a{margin-right:5px;color:#16982b;word-break:break-all}.post .post-footer .post-tags a:before{content:"#"}.post .post-footer .post-nav{margin:1em 0}.post .post-footer .post-nav:after,.post .post-footer .post-nav:before{content:" ";display:table}.post .post-footer .post-nav:after{clear:both}.post .post-footer .post-nav .next,.post .post-footer .post-nav .prev{font-weight:600;font-size:18px;font-family:Source Sans Pro,Helvetica Neue,Arial,sans-serif;-webkit-transition-property:-webkit-transform;transition-property:-webkit-transform;transition-property:transform;transition-property:transform,-webkit-transform;-webkit-transition-timing-function:ease-out;transition-timing-function:ease-out;-webkit-transition-duration:.3s;transition-duration:.3s}.post .post-footer .post-nav .prev{float:left}.post .post-footer .post-nav .prev:hover{color:#16982b;-webkit-transform:translateX(-4px);-ms-transform:translateX(-4px);transform:translateX(-4px)}.post .post-footer .post-nav .next{float:right}.post .post-footer .post-nav .next:hover{color:#16982b;-webkit-transform:translateX(4px);-ms-transform:translateX(4px);transform:translateX(4px)}.post .post-footer .post-nav .nav-mobile{display:none}@media screen and (max-width:800px){.post .post-footer .post-nav .nav-default{display:none}.post .post-footer .post-nav .nav-mobile{display:inline}}.post .post-outdated .hint{border-left:4px solid #42acf3;background-color:#eff5ff;border-color:#42acf3}.post .post-outdated .hint,.post .post-outdated .warn{position:relative;margin-top:20px;margin-bottom:20px;padding:5px 10px}.post .post-outdated .warn{border-left:4px solid #f9cf63;background-color:#ffffc0;border-color:#f9cf63}.pagination{margin:2em 0}.pagination:after,.pagination:before{content:" ";display:table}.pagination:after{clear:both}.pagination .next,.pagination .prev{font-weight:600;font-size:20px;font-family:Source Sans Pro,Helvetica Neue,Arial,sans-serif;-webkit-transition-property:-webkit-transform;transition-property:-webkit-transform;transition-property:transform;transition-property:transform,-webkit-transform;-webkit-transition-timing-function:ease-out;transition-timing-function:ease-out;-webkit-transition-duration:.3s;transition-duration:.3s}.pagination .prev{float:left}.pagination .prev:hover{color:#16982b;-webkit-transform:translateX(-4px);-ms-transform:translateX(-4px);transform:translateX(-4px)}.pagination .next{float:right}.pagination .next:hover{color:#16982b;-webkit-transform:translateX(4px);-ms-transform:translateX(4px);transform:translateX(4px)}.footer{margin-top:2em}.footer .social-links{text-align:center}.footer .social-links .iconfont{font-size:30px}.footer .social-links .iconfont+.iconfont{margin-left:10px}.footer .social-links .iconfont:hover{color:#16982b}.footer .copyright{margin:10px 0;color:#8a8a8a;text-align:center;font-family:Source Sans Pro,Helvetica Neue,Arial,sans-serif}.footer .copyright .hexo-link,.footer .copyright .theme-link{color:#16982b}.footer .copyright .copyright-year{display:block}.footer .copyright .copyright-year .heart{font-size:14px}.archive{margin:2em 0;max-width:550px}.archive .archive-title{font-family:Source Sans Pro,Helvetica Neue,Arial,sans-serif}.archive .archive-title.category,.archive .archive-title.tag{margin:15px 0}.archive .archive-title .archive-name{margin:0;display:inline-block;font-weight:400;font-size:30px;line-height:32px}.archive .archive-title .archive-post-counter{color:#8a8a8a}.archive .collection-title{font-family:Source Sans Pro,Helvetica Neue,Arial,sans-serif}.archive .collection-title .archive-year{margin:15px 0;font-weight:400;font-size:28px;line-height:30px}.archive .archive-post{padding:3px 20px;border-left:1px solid #cacaca}.archive .archive-post .archive-post-time{margin-right:10px;color:#8a8a8a}.archive .archive-post .archive-post-title .archive-post-link{color:#16982b}.archive .archive-post::first-child{margin-top:10px}.archive .archive-post:hover{border-left:3px solid #16982b;-webkit-transition:.2s ease-out;transition:.2s ease-out;-webkit-transform:translateX(4px);-ms-transform:translateX(4px);transform:translateX(4px)}.archive .archive-post:hover .archive-post-time{color:#717171}.archive .archive-post:hover .archive-post-title .archive-post-link{color:#106b1e}@media screen and (max-width:800px){.archive{margin-left:auto;margin-right:auto}.archive .archive-title .archive-name{font-size:26px}.archive .collection-title .archive-year{margin:10px 0;font-size:24px}.archive .archive-post{padding:5px 10px}.archive .archive-post .archive-post-time{font-size:13px;display:block}}.tag-cloud{margin:2em 0 3em;text-align:center;font-family:Source Sans Pro,Helvetica Neue,Arial,sans-serif}.tag-cloud .tag-cloud-title{display:inline-block;font-size:18px;color:#16982b;border-bottom:2px solid #16982b}.tag-cloud .tag-cloud-tags{margin:10px 0}.tag-cloud .tag-cloud-tags a{display:inline-block;position:relative;margin:5px 10px;word-wrap:break-word;-webkit-transition-duration:.2s;transition-duration:.2s;-webkit-transition-property:-webkit-transform;transition-property:-webkit-transform;transition-property:transform;transition-property:transform,-webkit-transform;-webkit-transition-timing-function:ease-out;transition-timing-function:ease-out}.tag-cloud .tag-cloud-tags a .tag-count{display:inline-block;position:relative;top:-8px;right:-2px;color:#16982b;font-size:12px}.tag-cloud .tag-cloud-tags a:active,.tag-cloud .tag-cloud-tags a:focus,.tag-cloud .tag-cloud-tags a:hover{color:#16982b;-webkit-transform:scale(1.1);-ms-transform:scale(1.1);transform:scale(1.1)}.categories{margin:2em 0 3em;text-align:center;font-family:Source Sans Pro,Helvetica Neue,Arial,sans-serif}.categories .categories-title{display:inline-block;font-size:18px;color:#16982b;border-bottom:2px solid #16982b}.categories .categories-tags{margin:10px 0}.categories .categories-tags .category-link{display:inline-block;position:relative;margin:5px 10px;word-wrap:break-word;-webkit-transition-duration:.2s;transition-duration:.2s;-webkit-transition-property:-webkit-transform;transition-property:-webkit-transform;transition-property:transform;transition-property:transform,-webkit-transform;-webkit-transition-timing-function:ease-out;transition-timing-function:ease-out}.categories .categories-tags .category-link .category-count{display:inline-block;position:relative;top:-8px;right:-2px;color:#16982b;font-size:12px}.categories .categories-tags .category-link:active,.categories .categories-tags .category-link:focus,.categories .categories-tags .category-link:hover{color:#16982b;-webkit-transform:scale(1.1);-ms-transform:scale(1.1);transform:scale(1.1)}.slideout-menu{position:fixed;top:0;left:0;bottom:0;width:180px;min-height:100vh;overflow-y:hidden;-webkit-overflow-scrolling:touch;z-index:0;display:none}.slideout-panel{position:relative;z-index:1;background-color:#fefefe;min-height:100vh}.slideout-open,.slideout-open .slideout-panel,.slideout-open body{overflow:hidden}.slideout-open .slideout-menu{display:block}.mobile-navbar{display:none;position:fixed;top:0;left:0;width:100%;height:50px;background:#fefefe;-webkit-box-shadow:0 2px 2px #cacaca;box-shadow:0 2px 2px #cacaca;text-align:center;-webkit-transition:-webkit-transform .3s ease;transition:-webkit-transform .3s ease;transition:transform .3s ease;transition:transform .3s ease,-webkit-transform .3s ease;z-index:99}.mobile-navbar.fixed-open{-webkit-transform:translate3d(180px,0,0);transform:translate3d(180px,0,0)}.mobile-navbar .mobile-header-logo{display:inline-block;margin-right:50px}.mobile-navbar .mobile-header-logo .logo{font-size:22px;line-height:50px;font-family:sans-serif}.mobile-navbar .mobile-navbar-icon{color:#16982b;height:50px;width:50px;font-size:24px;text-align:center;float:left;position:relative;-webkit-transition:background .5s;transition:background .5s}@-webkit-keyframes clickfirst{0%{-webkit-transform:translateY(6px) rotate(0deg);transform:translateY(6px) rotate(0deg)}to{-webkit-transform:translateY(0) rotate(45deg);transform:translateY(0) rotate(45deg)}}@keyframes clickfirst{0%{-webkit-transform:translateY(6px) rotate(0deg);transform:translateY(6px) rotate(0deg)}to{-webkit-transform:translateY(0) rotate(45deg);transform:translateY(0) rotate(45deg)}}@-webkit-keyframes clickmid{0%{opacity:1}to{opacity:0}}@keyframes clickmid{0%{opacity:1}to{opacity:0}}@-webkit-keyframes clicklast{0%{-webkit-transform:translateY(-6px) rotate(0deg);transform:translateY(-6px) rotate(0deg)}to{-webkit-transform:translateY(0) rotate(-45deg);transform:translateY(0) rotate(-45deg)}}@keyframes clicklast{0%{-webkit-transform:translateY(-6px) rotate(0deg);transform:translateY(-6px) rotate(0deg)}to{-webkit-transform:translateY(0) rotate(-45deg);transform:translateY(0) rotate(-45deg)}}@-webkit-keyframes outfirst{0%{-webkit-transform:translateY(0) rotate(-45deg);transform:translateY(0) rotate(-45deg)}to{-webkit-transform:translateY(-6px) rotate(0deg);transform:translateY(-6px) rotate(0deg)}}@keyframes outfirst{0%{-webkit-transform:translateY(0) rotate(-45deg);transform:translateY(0) rotate(-45deg)}to{-webkit-transform:translateY(-6px) rotate(0deg);transform:translateY(-6px) rotate(0deg)}}@-webkit-keyframes outmid{0%{opacity:0}to{opacity:1}}@keyframes outmid{0%{opacity:0}to{opacity:1}}@-webkit-keyframes outlast{0%{-webkit-transform:translateY(0) rotate(45deg);transform:translateY(0) rotate(45deg)}to{-webkit-transform:translateY(6px) rotate(0deg);transform:translateY(6px) rotate(0deg)}}@keyframes outlast{0%{-webkit-transform:translateY(0) rotate(45deg);transform:translateY(0) rotate(45deg)}to{-webkit-transform:translateY(6px) rotate(0deg);transform:translateY(6px) rotate(0deg)}}.mobile-navbar .mobile-navbar-icon span{position:absolute;left:15px;top:25px;left:calc((100% - 20px) / 2);top:calc((100% - 1px) / 2);width:20px;height:1px;background-color:#16982b}.mobile-navbar .mobile-navbar-icon span:first-child{-webkit-transform:translateY(6px) rotate(0deg);-ms-transform:translateY(6px) rotate(0deg);transform:translateY(6px) rotate(0deg)}.mobile-navbar .mobile-navbar-icon span:nth-child(3){-webkit-transform:translateY(-6px) rotate(0deg);-ms-transform:translateY(-6px) rotate(0deg);transform:translateY(-6px) rotate(0deg)}.mobile-navbar .mobile-navbar-icon.icon-click span:first-child{-webkit-animation-duration:.5s;animation-duration:.5s;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-name:clickfirst;animation-name:clickfirst}.mobile-navbar .mobile-navbar-icon.icon-click span:nth-child(2){-webkit-animation-duration:.2s;animation-duration:.2s;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-name:clickmid;animation-name:clickmid}.mobile-navbar .mobile-navbar-icon.icon-click span:nth-child(3){-webkit-animation-duration:.5s;animation-duration:.5s;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-name:clicklast;animation-name:clicklast}.mobile-navbar .mobile-navbar-icon.icon-out span:first-child{-webkit-animation-duration:.5s;animation-duration:.5s;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-name:outfirst;animation-name:outfirst}.mobile-navbar .mobile-navbar-icon.icon-out span:nth-child(2){-webkit-animation-duration:.2s;animation-duration:.2s;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-name:outmid;animation-name:outmid}.mobile-navbar .mobile-navbar-icon.icon-out span:nth-child(3){-webkit-animation-duration:.5s;animation-duration:.5s;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-name:outlast;animation-name:outlast}.mobile-menu{background-color:hsla(0,0%,96%,.5)}.mobile-menu .mobile-menu-list{position:relative;list-style:none;margin-top:50px;padding:0;border-top:1px solid #f5f5f5}.mobile-menu .mobile-menu-list .mobile-menu-item{padding:10px 30px;border-bottom:1px solid #f5f5f5}.mobile-menu .mobile-menu-list a{font-size:18px;font-family:Source Sans Pro,Helvetica Neue,Arial,sans-serif}.mobile-menu .mobile-menu-list a:hover{color:#16982b}@media screen and (max-width:800px){.mobile-navbar{display:block}}.back-to-top{display:none;position:fixed;right:20px;bottom:20px;-webkit-transition-property:-webkit-transform;transition-property:-webkit-transform;transition-property:transform;transition-property:transform,-webkit-transform;-webkit-transition-timing-function:ease-out;transition-timing-function:ease-out;-webkit-transition-duration:.3s;transition-duration:.3s;z-index:10}.back-to-top:hover{-webkit-transform:translateY(-5px);-ms-transform:translateY(-5px);transform:translateY(-5px)}@media screen and (max-width:800px){.back-to-top{display:none!important}}.not-found{text-align:center}.not-found .error-emoji{color:#363636;font-size:3rem}.not-found .error-text{color:#797979;font-size:1.25rem}.not-found .error-link{margin-top:2rem}.not-found .error-link a{color:#16982b} -/*# sourceMappingURL=even.min.css.map*/ \ No newline at end of file diff --git a/themes/even/static/dist/even.min.css.map b/themes/even/static/dist/even.min.css.map deleted file mode 100644 index a0722c9..0000000 --- a/themes/even/static/dist/even.min.css.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"sources":["webpack:///./css/_common/_normalize.scss","webpack:///./css/style.scss","webpack:///./css/_base.scss","webpack:///./css/_variables.scss","webpack:///./css/_common/_utils.scss","webpack:///./css/_iconfont.scss","webpack:///./css/_partial/_header.scss","webpack:///./css/_partial/_header/_logo.scss","webpack:///./css/_partial/_header/_menu.scss","webpack:///./css/_common/_animation.scss","webpack:///./css/_partial/_post.scss","webpack:///./css/_partial/_post/_header.scss","webpack:///./css/_partial/_post/_toc.scss","webpack:///./css/_partial/_post/_content.scss","webpack:///./css/_partial/_post/_code.scss","webpack:///./css/_partial/_post/_copyright.scss","webpack:///./css/_partial/_post/_reward.scss","webpack:///./css/_partial/_post/_footer.scss","webpack:///./css/_partial/_post/_outdated.scss","webpack:///./css/_partial/_pagination.scss","webpack:///./css/_partial/_footer.scss","webpack:///./css/_partial/_footer/_social.scss","webpack:///./css/_partial/_footer/_copyright.scss","webpack:///./css/_partial/_archive.scss","webpack:///./css/_partial/_tags.scss","webpack:///./css/_partial/_categories.scss","webpack:///./css/_partial/_slideout.scss","webpack:///./css/_partial/_mobile.scss","webpack:///./css/_partial/_back-to-top.scss","webpack:///./css/_partial/_404.scss"],"names":[],"mappings":"AAAA,4DAQA,KACE,uBACA,0BACA,6BAA8B,CAqBhC,2FAaE,aAAc,CAQhB,4BAIE,qBACA,uBAAwB,CAQ1B,sBACE,aACA,QAAS,CCCX,kBDSE,YAAa,CAUf,EACE,4BAA6B,CAO/B,iBAEE,SAAU,CAUZ,YACE,wBAAyB,CAO3B,SAEE,eAAiB,CAOnB,IACE,iBAAkB,CAQpB,GACE,cACA,cAAgB,CAOlB,KACE,gBACA,UAAW,CAOb,MACE,aAAc,CAOhB,QAEE,cACA,cACA,kBACA,uBAAwB,CAG1B,IACE,SAAW,CAGb,IACE,aAAe,CAUjB,IACE,QAAS,CAOX,eACE,eAAgB,CAUlB,OACE,eAAgB,CAOlB,GAEE,+BAAuB,uBACvB,QAAS,CAOX,IACE,aAAc,CAOhB,kBAIE,gCACA,aAAc,CAkBhB,sCAKE,cACA,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,wCAI3C,wCACE,kBAEA,UACA,SACA,6BACA,2BACA,WACA,WACA,wBN7FmB,CMsGpB,oDANG,+CAAuC,kFAGzC,qDACE,gDAAwC,oFAK1C,+DACE,+BAAwB,uBACxB,iCAAyB,yBACzB,kCAA0B,0BAG5B,gEACE,+BAAwB,uBACxB,iCAAyB,yBACzB,gCAAwB,wBAG1B,gEACE,+BAAwB,uBACxB,iCAAyB,yBACzB,iCAAyB,yBAK3B,6DACE,+BAAwB,uBACxB,iCAAyB,yBACzB,gCAAwB,wBAG1B,8DACE,+BAAwB,uBACxB,iCAAyB,yBACzB,8BAAsB,sBAGxB,8DACE,+BAAwB,uBACxB,iCAAyB,yBACzB,+BAAuB,uBkB1G7B,aACE,kCxBnC6B,CwB0D9B,+BApBG,kBACA,gBACA,gBACA,UACA,4BxB1C2B,CwByD5B,iDAZG,kBACA,+BxB9CyB,CwB+C1B,iCAGC,eACA,2DxBNqE,CwBWtE,uCAFG,axBtDe,CwBuDhB,oCAML,eACE,aAAc,CACf,CCvEH,aACE,aACA,eACA,WACA,YACA,8CAA8B,oHAC9B,4CAAoC,oCACpC,gCAAyB,wBACzB,UAAW,CAKZ,mBAFG,mCAA2B,0DAC5B,oCAID,aACE,sBAAwB,CACzB,CClBH,WACE,iBAAkB,CAmBnB,wBAhBG,cACA,cAAe,CAChB,uBAGC,cACA,iBAAkB,CACnB,uBAGC,eAAgB,CAKjB,yBAFG,a1BTiB,C0BUlB","file":"even.min.css","sourcesContent":["/*! normalize.css v3.0.2 | MIT License | git.io/normalize */\n\n/**\n * 1. Set default font family to sans-serif.\n * 2. Prevent iOS text size adjust after orientation change, without disabling\n * user zoom.\n */\n\nhtml {\n font-family: sans-serif; /* 1 */\n -ms-text-size-adjust: 100%; /* 2 */\n -webkit-text-size-adjust: 100%; /* 2 */\n}\n\n/**\n * Remove default margin.\n */\n\nbody {\n margin: 0;\n}\n\n/* HTML5 display definitions\n ========================================================================== */\n\n/**\n * Correct `block` display not defined for any HTML5 element in IE 8/9.\n * Correct `block` display not defined for `details` or `summary` in IE 10/11\n * and Firefox.\n * Correct `block` display not defined for `main` in IE 11.\n */\n\narticle,\naside,\ndetails,\nfigcaption,\nfigure,\nfooter,\nheader,\nhgroup,\nmain,\nmenu,\nnav,\nsection,\nsummary {\n display: block;\n}\n\n/**\n * 1. Correct `inline-block` display not defined in IE 8/9.\n * 2. Normalize vertical alignment of `progress` in Chrome, Firefox, and Opera.\n */\n\naudio,\ncanvas,\nprogress,\nvideo {\n display: inline-block; /* 1 */\n vertical-align: baseline; /* 2 */\n}\n\n/**\n * Prevent modern browsers from displaying `audio` without controls.\n * Remove excess height in iOS 5 devices.\n */\n\naudio:not([controls]) {\n display: none;\n height: 0;\n}\n\n/**\n * Address `[hidden]` styling not present in IE 8/9/10.\n * Hide the `template` element in IE 8/9/11, Safari, and Firefox < 22.\n */\n\n[hidden],\ntemplate {\n display: none;\n}\n\n/* Links\n ========================================================================== */\n\n/**\n * Remove the gray background color from active links in IE 10.\n */\n\na {\n background-color: transparent;\n}\n\n/**\n * Improve readability when focused and also mouse hovered in all browsers.\n */\n\na:active,\na:hover {\n outline: 0;\n}\n\n/* Text-level semantics\n ========================================================================== */\n\n/**\n * Address styling not present in IE 8/9/10/11, Safari, and Chrome.\n */\n\nabbr[title] {\n border-bottom: 1px dotted;\n}\n\n/**\n * Address style set to `bolder` in Firefox 4+, Safari, and Chrome.\n */\n\nb,\nstrong {\n font-weight: bold;\n}\n\n/**\n * Address styling not present in Safari and Chrome.\n */\n\ndfn {\n font-style: italic;\n}\n\n/**\n * Address variable `h1` font-size and margin within `section` and `article`\n * contexts in Firefox 4+, Safari, and Chrome.\n */\n\nh1 {\n font-size: 2em;\n margin: 0.67em 0;\n}\n\n/**\n * Address styling not present in IE 8/9.\n */\n\nmark {\n background: #ff0;\n color: #000;\n}\n\n/**\n * Address inconsistent and variable font size in all browsers.\n */\n\nsmall {\n font-size: 80%;\n}\n\n/**\n * Prevent `sub` and `sup` affecting `line-height` in all browsers.\n */\n\nsub,\nsup {\n font-size: 75%;\n line-height: 0;\n position: relative;\n vertical-align: baseline;\n}\n\nsup {\n top: -0.5em;\n}\n\nsub {\n bottom: -0.25em;\n}\n\n/* Embedded content\n ========================================================================== */\n\n/**\n * Remove border when inside `a` element in IE 8/9/10.\n */\n\nimg {\n border: 0;\n}\n\n/**\n * Correct overflow not hidden in IE 9/10/11.\n */\n\nsvg:not(:root) {\n overflow: hidden;\n}\n\n/* Grouping content\n ========================================================================== */\n\n/**\n * Address margin not present in IE 8/9 and Safari.\n */\n\nfigure {\n margin: 1em 40px;\n}\n\n/**\n * Address differences between Firefox and other browsers.\n */\n\nhr {\n -moz-box-sizing: content-box;\n box-sizing: content-box;\n height: 0;\n}\n\n/**\n * Contain overflow in all browsers.\n */\n\npre {\n overflow: auto;\n}\n\n/**\n * Address odd `em`-unit font size rendering in all browsers.\n */\n\ncode,\nkbd,\npre,\nsamp {\n font-family: monospace, monospace;\n font-size: 1em;\n}\n\n/* Forms\n ========================================================================== */\n\n/**\n * Known limitation: by default, Chrome and Safari on OS X allow very limited\n * styling of `select`, unless a `border` property is set.\n */\n\n/**\n * 1. Correct color not being inherited.\n * Known issue: affects color of disabled elements.\n * 2. Correct font properties not being inherited.\n * 3. Address margins set differently in Firefox 4+, Safari, and Chrome.\n */\n\nbutton,\ninput,\noptgroup,\nselect,\ntextarea {\n color: inherit; /* 1 */\n font: inherit; /* 2 */\n margin: 0; /* 3 */\n}\n\n/**\n * Address `overflow` set to `hidden` in IE 8/9/10/11.\n */\n\nbutton {\n overflow: visible;\n}\n\n/**\n * Address inconsistent `text-transform` inheritance for `button` and `select`.\n * All other form control elements do not inherit `text-transform` values.\n * Correct `button` style inheritance in Firefox, IE 8/9/10/11, and Opera.\n * Correct `select` style inheritance in Firefox.\n */\n\nbutton,\nselect {\n text-transform: none;\n}\n\n/**\n * 1. Avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio`\n * and `video` controls.\n * 2. Correct inability to style clickable `input` types in iOS.\n * 3. Improve usability and consistency of cursor style between image-type\n * `input` and others.\n */\n\nbutton,\nhtml input[type=\"button\"], /* 1 */\ninput[type=\"reset\"],\ninput[type=\"submit\"] {\n -webkit-appearance: button; /* 2 */\n cursor: pointer; /* 3 */\n}\n\n/**\n * Re-set default cursor for disabled elements.\n */\n\nbutton[disabled],\nhtml input[disabled] {\n cursor: default;\n}\n\n/**\n * Remove inner padding and border in Firefox 4+.\n */\n\nbutton::-moz-focus-inner,\ninput::-moz-focus-inner {\n border: 0;\n padding: 0;\n}\n\n/**\n * Address Firefox 4+ setting `line-height` on `input` using `!important` in\n * the UA stylesheet.\n */\n\ninput {\n line-height: normal;\n}\n\n/**\n * It's recommended that you don't attempt to style these elements.\n * Firefox's implementation doesn't respect box-sizing, padding, or width.\n *\n * 1. Address box sizing set to `content-box` in IE 8/9/10.\n * 2. Remove excess padding in IE 8/9/10.\n */\n\ninput[type=\"checkbox\"],\ninput[type=\"radio\"] {\n box-sizing: border-box; /* 1 */\n padding: 0; /* 2 */\n}\n\n/**\n * Fix the cursor style for Chrome's increment/decrement buttons. For certain\n * `font-size` values of the `input`, it causes the cursor style of the\n * decrement button to change from `default` to `text`.\n */\n\ninput[type=\"number\"]::-webkit-inner-spin-button,\ninput[type=\"number\"]::-webkit-outer-spin-button {\n height: auto;\n}\n\n/**\n * 1. Address `appearance` set to `searchfield` in Safari and Chrome.\n * 2. Address `box-sizing` set to `border-box` in Safari and Chrome\n * (include `-moz` to future-proof).\n */\n\ninput[type=\"search\"] {\n -webkit-appearance: textfield; /* 1 */\n -moz-box-sizing: content-box;\n -webkit-box-sizing: content-box; /* 2 */\n box-sizing: content-box;\n}\n\n/**\n * Remove inner padding and search cancel button in Safari and Chrome on OS X.\n * Safari (but not Chrome) clips the cancel button when the search input has\n * padding (and `textfield` appearance).\n */\n\ninput[type=\"search\"]::-webkit-search-cancel-button,\ninput[type=\"search\"]::-webkit-search-decoration {\n -webkit-appearance: none;\n}\n\n/**\n * Define consistent border, margin, and padding.\n */\n\nfieldset {\n border: 1px solid #c0c0c0;\n margin: 0 2px;\n padding: 0.35em 0.625em 0.75em;\n}\n\n/**\n * 1. Correct `color` not being inherited in IE 8/9/10/11.\n * 2. Remove padding so people aren't caught out if they zero out fieldsets.\n */\n\nlegend {\n border: 0; /* 1 */\n padding: 0; /* 2 */\n}\n\n/**\n * Remove default vertical scrollbar in IE 8/9/10/11.\n */\n\ntextarea {\n overflow: auto;\n}\n\n/**\n * Don't inherit the `font-weight` (applied by a rule above).\n * NOTE: the default cannot safely be changed in Chrome and Safari on OS X.\n */\n\noptgroup {\n font-weight: bold;\n}\n\n/* Tables\n ========================================================================== */\n\n/**\n * Remove most spacing between table cells.\n */\n\ntable {\n border-collapse: collapse;\n border-spacing: 0;\n}\n\ntd,\nth {\n padding: 0;\n}\n\n\n// WEBPACK FOOTER //\n// ./css/_common/_normalize.scss","@charset \"UTF-8\";\n/*! normalize.css v3.0.2 | MIT License | git.io/normalize */\n/**\n * 1. Set default font family to sans-serif.\n * 2. Prevent iOS text size adjust after orientation change, without disabling\n * user zoom.\n */\nhtml {\n font-family: sans-serif;\n /* 1 */\n -ms-text-size-adjust: 100%;\n /* 2 */\n -webkit-text-size-adjust: 100%;\n /* 2 */ }\n\n/**\n * Remove default margin.\n */\nbody {\n margin: 0; }\n\n/* HTML5 display definitions\n ========================================================================== */\n/**\n * Correct `block` display not defined for any HTML5 element in IE 8/9.\n * Correct `block` display not defined for `details` or `summary` in IE 10/11\n * and Firefox.\n * Correct `block` display not defined for `main` in IE 11.\n */\narticle,\naside,\ndetails,\nfigcaption,\nfigure,\nfooter,\nheader,\nhgroup,\nmain,\nmenu,\nnav,\nsection,\nsummary {\n display: block; }\n\n/**\n * 1. Correct `inline-block` display not defined in IE 8/9.\n * 2. Normalize vertical alignment of `progress` in Chrome, Firefox, and Opera.\n */\naudio,\ncanvas,\nprogress,\nvideo {\n display: inline-block;\n /* 1 */\n vertical-align: baseline;\n /* 2 */ }\n\n/**\n * Prevent modern browsers from displaying `audio` without controls.\n * Remove excess height in iOS 5 devices.\n */\naudio:not([controls]) {\n display: none;\n height: 0; }\n\n/**\n * Address `[hidden]` styling not present in IE 8/9/10.\n * Hide the `template` element in IE 8/9/11, Safari, and Firefox < 22.\n */\n[hidden],\ntemplate {\n display: none; }\n\n/* Links\n ========================================================================== */\n/**\n * Remove the gray background color from active links in IE 10.\n */\na {\n background-color: transparent; }\n\n/**\n * Improve readability when focused and also mouse hovered in all browsers.\n */\na:active,\na:hover {\n outline: 0; }\n\n/* Text-level semantics\n ========================================================================== */\n/**\n * Address styling not present in IE 8/9/10/11, Safari, and Chrome.\n */\nabbr[title] {\n border-bottom: 1px dotted; }\n\n/**\n * Address style set to `bolder` in Firefox 4+, Safari, and Chrome.\n */\nb,\nstrong {\n font-weight: bold; }\n\n/**\n * Address styling not present in Safari and Chrome.\n */\ndfn {\n font-style: italic; }\n\n/**\n * Address variable `h1` font-size and margin within `section` and `article`\n * contexts in Firefox 4+, Safari, and Chrome.\n */\nh1 {\n font-size: 2em;\n margin: 0.67em 0; }\n\n/**\n * Address styling not present in IE 8/9.\n */\nmark {\n background: #ff0;\n color: #000; }\n\n/**\n * Address inconsistent and variable font size in all browsers.\n */\nsmall {\n font-size: 80%; }\n\n/**\n * Prevent `sub` and `sup` affecting `line-height` in all browsers.\n */\nsub,\nsup {\n font-size: 75%;\n line-height: 0;\n position: relative;\n vertical-align: baseline; }\n\nsup {\n top: -0.5em; }\n\nsub {\n bottom: -0.25em; }\n\n/* Embedded content\n ========================================================================== */\n/**\n * Remove border when inside `a` element in IE 8/9/10.\n */\nimg {\n border: 0; }\n\n/**\n * Correct overflow not hidden in IE 9/10/11.\n */\nsvg:not(:root) {\n overflow: hidden; }\n\n/* Grouping content\n ========================================================================== */\n/**\n * Address margin not present in IE 8/9 and Safari.\n */\nfigure {\n margin: 1em 40px; }\n\n/**\n * Address differences between Firefox and other browsers.\n */\nhr {\n -moz-box-sizing: content-box;\n box-sizing: content-box;\n height: 0; }\n\n/**\n * Contain overflow in all browsers.\n */\npre {\n overflow: auto; }\n\n/**\n * Address odd `em`-unit font size rendering in all browsers.\n */\ncode,\nkbd,\npre,\nsamp {\n font-family: monospace, monospace;\n font-size: 1em; }\n\n/* Forms\n ========================================================================== */\n/**\n * Known limitation: by default, Chrome and Safari on OS X allow very limited\n * styling of `select`, unless a `border` property is set.\n */\n/**\n * 1. Correct color not being inherited.\n * Known issue: affects color of disabled elements.\n * 2. Correct font properties not being inherited.\n * 3. Address margins set differently in Firefox 4+, Safari, and Chrome.\n */\nbutton,\ninput,\noptgroup,\nselect,\ntextarea {\n color: inherit;\n /* 1 */\n font: inherit;\n /* 2 */\n margin: 0;\n /* 3 */ }\n\n/**\n * Address `overflow` set to `hidden` in IE 8/9/10/11.\n */\nbutton {\n overflow: visible; }\n\n/**\n * Address inconsistent `text-transform` inheritance for `button` and `select`.\n * All other form control elements do not inherit `text-transform` values.\n * Correct `button` style inheritance in Firefox, IE 8/9/10/11, and Opera.\n * Correct `select` style inheritance in Firefox.\n */\nbutton,\nselect {\n text-transform: none; }\n\n/**\n * 1. Avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio`\n * and `video` controls.\n * 2. Correct inability to style clickable `input` types in iOS.\n * 3. Improve usability and consistency of cursor style between image-type\n * `input` and others.\n */\nbutton,\nhtml input[type=\"button\"],\ninput[type=\"reset\"],\ninput[type=\"submit\"] {\n -webkit-appearance: button;\n /* 2 */\n cursor: pointer;\n /* 3 */ }\n\n/**\n * Re-set default cursor for disabled elements.\n */\nbutton[disabled],\nhtml input[disabled] {\n cursor: default; }\n\n/**\n * Remove inner padding and border in Firefox 4+.\n */\nbutton::-moz-focus-inner,\ninput::-moz-focus-inner {\n border: 0;\n padding: 0; }\n\n/**\n * Address Firefox 4+ setting `line-height` on `input` using `!important` in\n * the UA stylesheet.\n */\ninput {\n line-height: normal; }\n\n/**\n * It's recommended that you don't attempt to style these elements.\n * Firefox's implementation doesn't respect box-sizing, padding, or width.\n *\n * 1. Address box sizing set to `content-box` in IE 8/9/10.\n * 2. Remove excess padding in IE 8/9/10.\n */\ninput[type=\"checkbox\"],\ninput[type=\"radio\"] {\n box-sizing: border-box;\n /* 1 */\n padding: 0;\n /* 2 */ }\n\n/**\n * Fix the cursor style for Chrome's increment/decrement buttons. For certain\n * `font-size` values of the `input`, it causes the cursor style of the\n * decrement button to change from `default` to `text`.\n */\ninput[type=\"number\"]::-webkit-inner-spin-button,\ninput[type=\"number\"]::-webkit-outer-spin-button {\n height: auto; }\n\n/**\n * 1. Address `appearance` set to `searchfield` in Safari and Chrome.\n * 2. Address `box-sizing` set to `border-box` in Safari and Chrome\n * (include `-moz` to future-proof).\n */\ninput[type=\"search\"] {\n -webkit-appearance: textfield;\n /* 1 */\n -moz-box-sizing: content-box;\n -webkit-box-sizing: content-box;\n /* 2 */\n box-sizing: content-box; }\n\n/**\n * Remove inner padding and search cancel button in Safari and Chrome on OS X.\n * Safari (but not Chrome) clips the cancel button when the search input has\n * padding (and `textfield` appearance).\n */\ninput[type=\"search\"]::-webkit-search-cancel-button,\ninput[type=\"search\"]::-webkit-search-decoration {\n -webkit-appearance: none; }\n\n/**\n * Define consistent border, margin, and padding.\n */\nfieldset {\n border: 1px solid #c0c0c0;\n margin: 0 2px;\n padding: 0.35em 0.625em 0.75em; }\n\n/**\n * 1. Correct `color` not being inherited in IE 8/9/10/11.\n * 2. Remove padding so people aren't caught out if they zero out fieldsets.\n */\nlegend {\n border: 0;\n /* 1 */\n padding: 0;\n /* 2 */ }\n\n/**\n * Remove default vertical scrollbar in IE 8/9/10/11.\n */\ntextarea {\n overflow: auto; }\n\n/**\n * Don't inherit the `font-weight` (applied by a rule above).\n * NOTE: the default cannot safely be changed in Chrome and Safari on OS X.\n */\noptgroup {\n font-weight: bold; }\n\n/* Tables\n ========================================================================== */\n/**\n * Remove most spacing between table cells.\n */\ntable {\n border-collapse: collapse;\n border-spacing: 0; }\n\ntd,\nth {\n padding: 0; }\n\nhtml {\n font-size: 16px;\n box-sizing: border-box; }\n\nbody {\n padding: 0;\n margin: 0;\n font-family: \"Source Sans Pro\", \"Helvetica Neue\", Arial, sans-serif;\n font-weight: normal;\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n line-height: 1.5;\n color: #34495e;\n background: #fefefe;\n scroll-behavior: smooth;\n border-top: 3px solid #16982B; }\n\n@media screen and (max-width: 800px) {\n body {\n border-top: 0; } }\n\n::selection {\n background: #16982B;\n color: #fff; }\n\nimg {\n max-width: 100%;\n height: auto;\n display: inline-block;\n vertical-align: middle; }\n\na {\n color: #34495e;\n text-decoration: none; }\n\nh1 {\n font-size: 26px;\n font-family: \"Source Sans Pro\", \"Helvetica Neue\", Arial, sans-serif; }\n\nh2 {\n font-size: 24px;\n font-family: \"Source Sans Pro\", \"Helvetica Neue\", Arial, sans-serif; }\n\nh3 {\n font-size: 20px;\n font-family: \"Source Sans Pro\", \"Helvetica Neue\", Arial, sans-serif; }\n\nh4 {\n font-size: 16px;\n font-family: \"Source Sans Pro\", \"Helvetica Neue\", Arial, sans-serif; }\n\nh5 {\n font-size: 14px;\n font-family: \"Source Sans Pro\", \"Helvetica Neue\", Arial, sans-serif; }\n\nh6 {\n font-size: 14px;\n font-family: \"Source Sans Pro\", \"Helvetica Neue\", Arial, sans-serif; }\n\n.container {\n margin: 0 auto;\n width: 800px; }\n\n@media screen and (max-width: 800px) {\n .container {\n width: 100%;\n box-shadow: -1px -5px 5px #cacaca; } }\n\n.content-wrapper {\n padding: 0 20px; }\n\n.video-container {\n position: relative;\n padding-bottom: 56.25%;\n /* 16:9 */\n padding-top: 25px;\n height: 0; }\n\n.video-container iframe {\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%; }\n\n.svg-icon {\n width: 40px;\n height: 40px;\n display: inline-block; }\n .svg-icon.email {\n background-image: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNDBweCIgaGVpZ2h0PSI0MHB4IiB2aWV3Qm94PSIwIDA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MSAtMi41MzcsMS4yMDQgbCAtNi40MjYsNy44NyBjIC0xLjEzLDEuMzg0IC0wLjkyNCwzLjQyMiAwLjQ2LDQuNTUyIGwgMTQuMjU5LDExLjY0IC01LjgyNiw3LjE4MiAtNy4wNTQsLTUuNzYyIGMgLTAuNTc3LC0wLjQ3MSAtMS4yNzEsLTAuNyAtMS45NjIsLTAuNyAtMC44OTksMCAtMS43OTIsMC4zODkgLTIuNDA1LDEuMTQgbCAtMS40NjksMS43OTkgYyAtMS4xMzIsMS4zODcgLTAuOTI3LDMuNDI5IDAuNDYsNC41NjEgbCA2Ljk2OSw1LjY5MyAtMTQuMzQzLDE3LjYwNCBjIC0xLjQ2OCwxLjggLTEuMTk5LDQuNDQ3IDAuNTk4LDUuOTE1IDAuNzg1LDAuNjQgMS43MjYsMC45NSAyLjY2LDAuOTUiICAgICAgICAgICAgIHN0eWxlPSJmaWxsOiMyODI4Mjg7ZmlsbC1vcGFjaXR5OjE7ZmlsbC1ydWxlOm5vbnplcm87c3Ryb2tlOm5vbmUiICAgICAgICAgICAgIGlkPSJwYXRoMzgwNCIgICAgICAgICAgICAgaW5rc2NhcGU6Y29ubmVjdG9yLWN1cnZhdHVyZT0iMCIgLz4gICAgICAgIDwvZz4gICAgICA8L2c+ICAgIDwvZz4gIDwvZz48L3N2Zz4=); }\n\n@font-face {\n font-family: 'iconfont';\n /* project id 96542 */\n src: url(\"../fonts/iconfont/iconfont.eot\");\n src: url(\"../fonts/iconfont/iconfont.eot#iefix\") format(\"embedded-opentype\"), url(\"../fonts/iconfont/iconfont.woff\") format(\"woff\"), url(\"../fonts/iconfont/iconfont.ttf\") format(\"truetype\"), url(\"../fonts/iconfont/iconfont.svg#iconfont\") format(\"svg\"); }\n\n.iconfont {\n font-family: \"iconfont\" !important;\n font-style: normal;\n -webkit-font-smoothing: antialiased;\n -webkit-text-stroke-width: 0.2px;\n -moz-osx-font-smoothing: grayscale;\n cursor: pointer; }\n\n.icon-instagram:before {\n font-size: .95em;\n content: \"\\e611\";\n position: relative;\n top: -1px; }\n\n.icon-douban:before {\n content: \"\\e610\"; }\n\n.icon-tumblr:before {\n content: \"\\e69f\";\n font-size: .85em;\n position: relative;\n top: -4px; }\n\n.icon-linkedin:before {\n content: \"\\e60d\";\n position: relative;\n top: -4px; }\n\n.icon-twitter:before {\n content: \"\\e600\"; }\n\n.icon-weibo:before {\n content: \"\\e602\"; }\n\n.icon-stack-overflow:before {\n content: \"\\e603\";\n font-size: .85em;\n position: relative;\n top: -4px; }\n\n.icon-email:before {\n content: \"\\e605\";\n position: relative;\n top: -2px; }\n\n.icon-facebook:before {\n content: \"\\e601\";\n font-size: .95em;\n position: relative;\n top: -2px; }\n\n.icon-github:before {\n content: \"\\e606\";\n position: relative;\n top: -3px; }\n\n.icon-rss:before {\n content: \"\\e604\"; }\n\n.icon-google:before {\n content: \"\\e609\"; }\n\n.icon-zhihu:before {\n content: \"\\e607\";\n font-size: .9em;\n position: relative;\n top: -2px; }\n\n.icon-pocket:before {\n content: \"\\e856\"; }\n\n/* Generic Icon */\n.icon-heart:before {\n content: \"\\e608\"; }\n\n.icon-right:before {\n content: \"\\e60a\"; }\n\n.icon-left:before {\n content: \"\\e60b\"; }\n\n.icon-up:before {\n content: \"\\e60c\"; }\n\n.icon-close:before {\n content: \"\\e60f\"; }\n\n.header {\n padding: 20px 20px; }\n .header:before, .header:after {\n content: \" \";\n display: table; }\n .header:after {\n clear: both; }\n .header .logo-wrapper {\n float: left; }\n .header .logo-wrapper .logo {\n font-size: 48px;\n font-family: sans-serif; }\n @media screen and (max-width: 800px) {\n .header .logo-wrapper {\n display: none; } }\n .header .site-navbar {\n float: right; }\n .header .site-navbar .menu {\n display: inline-block;\n position: relative;\n padding-left: 0;\n padding-right: 25px;\n font-family: \"Source Sans Pro\", \"Helvetica Neue\", Arial, sans-serif; }\n .header .site-navbar .menu .menu-item {\n display: inline-block;\n display: inline-block;\n vertical-align: middle;\n transform: translateZ(0);\n backface-visibility: hidden;\n box-shadow: 0 0 1px transparent;\n position: relative;\n overflow: hidden; }\n .header .site-navbar .menu .menu-item + .menu-item {\n margin-left: 10px; }\n .header .site-navbar .menu .menu-item:before {\n content: '';\n position: absolute;\n z-index: -1;\n height: 2px;\n bottom: 0;\n left: 51%;\n right: 51%;\n background: #16982B;\n transition-duration: 0.2s;\n transition-property: right, left;\n transition-timing-function: ease-out; }\n .header .site-navbar .menu .menu-item.active:before, .header .site-navbar .menu .menu-item:active:before, .header .site-navbar .menu .menu-item:focus:before, .header .site-navbar .menu .menu-item:hover:before {\n right: 0;\n left: 0; }\n .header .site-navbar .menu .menu-item-link {\n font-size: 18px; }\n @media screen and (max-width: 800px) {\n .header .site-navbar {\n display: none; } }\n\n@media screen and (max-width: 800px) {\n .header {\n padding: 50px 0 0;\n text-align: center; } }\n\n.posts {\n margin-bottom: 20px;\n border-bottom: 1px solid #e6e6e6; }\n\n.post {\n padding: 1.5em 0; }\n .post + .post {\n border-top: 1px solid #e6e6e6; }\n .post .post-header {\n margin-bottom: 20px; }\n .post .post-header .post-title {\n margin: 0;\n font-size: 27px;\n font-weight: 400;\n font-family: \"Source Sans Pro\", \"Helvetica Neue\", Arial, sans-serif; }\n .post .post-header .post-link {\n display: inline-block;\n vertical-align: middle;\n transform: translateZ(0);\n backface-visibility: hidden;\n box-shadow: 0 0 1px transparent;\n position: relative;\n overflow: hidden; }\n .post .post-header .post-link:before {\n content: '';\n position: absolute;\n z-index: -1;\n height: 2px;\n bottom: 0;\n left: 51%;\n right: 51%;\n background: #16982B;\n transition-duration: 0.2s;\n transition-property: right, left;\n transition-timing-function: ease-out; }\n .post .post-header .post-link.active:before, .post .post-header .post-link:active:before, .post .post-header .post-link:focus:before, .post .post-header .post-link:hover:before {\n right: 0;\n left: 0; }\n .post .post-header .post-meta {\n font-size: 14px;\n color: #8a8a8a; }\n .post .post-header .post-meta .post-time {\n font-size: 15px; }\n .post .post-header .post-meta .post-category {\n display: inline; }\n .post .post-header .post-meta .post-category a {\n color: inherit; }\n .post .post-header .post-meta .post-category a::before {\n content: '·'; }\n .post .post-header .post-meta .post-category a:hover {\n color: #16982B; }\n .post .post-header .post-meta .more-meta::before {\n content: '·'; }\n .post .post-toc {\n position: absolute;\n width: 200px;\n margin-left: 785px;\n padding: 10px;\n font-family: \"Source Sans Pro\", \"Helvetica Neue\", Arial, sans-serif;\n border-radius: 5px;\n background: rgba(245, 245, 245, 0.6);\n box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.125);\n word-wrap: break-word;\n box-sizing: border-box; }\n .post .post-toc .post-toc-title {\n margin: 0 10px;\n font-size: 20px;\n font-weight: 400;\n text-transform: uppercase; }\n .post .post-toc .post-toc-content {\n font-size: 15px; }\n .post .post-toc .post-toc-content.always-active ul {\n display: block; }\n .post .post-toc .post-toc-content > nav > ul {\n margin: 10px 0; }\n .post .post-toc .post-toc-content ul {\n padding-left: 20px;\n list-style: square; }\n .post .post-toc .post-toc-content ul ul {\n padding-left: 15px;\n display: none; }\n .post .post-toc .post-toc-content ul .has-active > ul {\n display: block; }\n .post .post-toc .post-toc-content .toc-link.active {\n color: #16982B; }\n @media screen and (max-width: 1185px) {\n .post .post-toc {\n display: none; } }\n .post .post-content {\n word-wrap: break-word; }\n .post .post-content h1 {\n font-weight: 400;\n font-family: \"Source Sans Pro\", \"Helvetica Neue\", Arial, sans-serif; }\n .post .post-content h2 {\n font-weight: 400;\n font-family: \"Source Sans Pro\", \"Helvetica Neue\", Arial, sans-serif; }\n .post .post-content h3 {\n font-weight: 400;\n font-family: \"Source Sans Pro\", \"Helvetica Neue\", Arial, sans-serif; }\n .post .post-content h4 {\n font-weight: 400;\n font-family: \"Source Sans Pro\", \"Helvetica Neue\", Arial, sans-serif; }\n .post .post-content h5 {\n font-weight: 400;\n font-family: \"Source Sans Pro\", \"Helvetica Neue\", Arial, sans-serif; }\n .post .post-content h6 {\n font-weight: 400;\n font-family: \"Source Sans Pro\", \"Helvetica Neue\", Arial, sans-serif; }\n .post .post-content a {\n color: #16982B;\n word-break: break-all; }\n .post .post-content a:hover {\n border-bottom: 1px solid #16982B; }\n .post .post-content a.fancybox {\n border: 0; }\n .post .post-content blockquote {\n margin: 2em 0;\n padding: 10px 20px;\n position: relative;\n color: rgba(52, 73, 94, 0.8);\n background-color: rgba(22, 152, 43, 0.05);\n border-left: 3px solid rgba(22, 152, 43, 0.3);\n box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.125); }\n .post .post-content blockquote p {\n margin: 0; }\n .post .post-content img {\n display: inline-block;\n max-width: 100%; }\n .post .post-content > table {\n max-width: 100%;\n margin: 10px 0;\n border-spacing: 0;\n box-shadow: 2px 2px 3px rgba(0, 0, 0, 0.125); }\n .post .post-content > table thead {\n background: #f5f5f5; }\n .post .post-content > table th, .post .post-content > table td {\n padding: 5px 15px;\n border: 1px double #ededed; }\n .post .post-content > table tr:hover {\n background-color: #f5f5f5; }\n .post .post-content code, .post .post-content pre {\n padding: 7px;\n font-size: 13px;\n font-family: Consolas, Monaco, Menlo, Consolas, monospace;\n background: #f5f5f5; }\n .post .post-content code {\n padding: 3px 5px;\n border-radius: 4px;\n color: #c7254e; }\n .post .post-content figure.highlight {\n margin: 1em 0;\n border-radius: 5px;\n overflow-x: auto;\n box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.125);\n position: relative; }\n .post .post-content figure.highlight table {\n position: relative; }\n .post .post-content figure.highlight table::after {\n position: absolute;\n top: 0;\n right: 0;\n left: 0;\n padding: 2px 7px;\n font-size: 13px;\n font-weight: bold;\n color: #b1b1b1;\n background: #ededed;\n content: 'Code'; }\n .post .post-content figure.highlight.language-bash > table::after {\n content: \"Bash\"; }\n .post .post-content figure.highlight.language-c > table::after {\n content: \"C\"; }\n .post .post-content figure.highlight.language-cs > table::after {\n content: \"C#\"; }\n .post .post-content figure.highlight.language-cpp > table::after {\n content: \"C++\"; }\n .post .post-content figure.highlight.language-css > table::after {\n content: \"CSS\"; }\n .post .post-content figure.highlight.language-coffeescript > table::after {\n content: \"CoffeeScript\"; }\n .post .post-content figure.highlight.language-html > table::after {\n content: \"HTML\"; }\n .post .post-content figure.highlight.language-xml > table::after {\n content: \"XML\"; }\n .post .post-content figure.highlight.language-http > table::after {\n content: \"HTTP\"; }\n .post .post-content figure.highlight.language-json > table::after {\n content: \"JSON\"; }\n .post .post-content figure.highlight.language-java > table::after {\n content: \"Java\"; }\n .post .post-content figure.highlight.language-js > table::after {\n content: \"JavaScript\"; }\n .post .post-content figure.highlight.language-javascript > table::after {\n content: \"JavaScript\"; }\n .post .post-content figure.highlight.language-makefile > table::after {\n content: \"Makefile\"; }\n .post .post-content figure.highlight.language-markdown > table::after {\n content: \"Markdown\"; }\n .post .post-content figure.highlight.language-objectivec > table::after {\n content: \"Objective-C\"; }\n .post .post-content figure.highlight.language-php > table::after {\n content: \"PHP\"; }\n .post .post-content figure.highlight.language-perl > table::after {\n content: \"Perl\"; }\n .post .post-content figure.highlight.language-python > table::after {\n content: \"Python\"; }\n .post .post-content figure.highlight.language-ruby > table::after {\n content: \"Ruby\"; }\n .post .post-content figure.highlight.language-sql > table::after {\n content: \"SQL\"; }\n .post .post-content figure.highlight.language-shell > table::after {\n content: \"Shell\"; }\n .post .post-content figure.highlight.language-erlang > table::after {\n content: \"Erlang\"; }\n .post .post-content figure.highlight.language-go > table::after {\n content: \"Go\"; }\n .post .post-content figure.highlight.language-groovy > table::after {\n content: \"Groovy\"; }\n .post .post-content figure.highlight.language-haskell > table::after {\n content: \"Haskell\"; }\n .post .post-content figure.highlight.language-kotlin > table::after {\n content: \"Kotlin\"; }\n .post .post-content figure.highlight.language-less > table::after {\n content: \"Less\"; }\n .post .post-content figure.highlight.language-lisp > table::after {\n content: \"Lisp\"; }\n .post .post-content figure.highlight.language-lua > table::after {\n content: \"Lua\"; }\n .post .post-content figure.highlight.language-matlab > table::after {\n content: \"Matlab\"; }\n .post .post-content figure.highlight.language-rust > table::after {\n content: \"Rust\"; }\n .post .post-content figure.highlight.language-scss > table::after {\n content: \"Scss\"; }\n .post .post-content figure.highlight.language-scala > table::after {\n content: \"Scala\"; }\n .post .post-content figure.highlight.language-swift > table::after {\n content: \"Swift\"; }\n .post .post-content figure.highlight.language-typescript > table::after {\n content: \"TypeScript\"; }\n .post .post-content figure.highlight.language-yml > table::after {\n content: \"YAML\"; }\n .post .post-content figure.highlight.language-yaml > table::after {\n content: \"YAML\"; }\n .post .post-content figure.highlight.language-toml > table::after {\n content: \"TOML\"; }\n .post .post-content figure.highlight .code pre {\n margin: 0;\n padding: 30px 10px 10px; }\n .post .post-content figure.highlight .gutter {\n width: 10px;\n color: #cacaca; }\n .post .post-content figure.highlight .gutter pre {\n margin: 0;\n padding: 30px 7px 10px; }\n .post .post-content figure.highlight .line {\n height: 20px; }\n .post .post-content figure.highlight table, .post .post-content figure.highlight tr, .post .post-content figure.highlight td {\n margin: 0;\n padding: 0;\n width: 100%;\n border-collapse: collapse; }\n .post .post-content figure.highlight .code .hljs-comment,\n .post .post-content figure.highlight .code .hljs-quote {\n color: #93a1a1; }\n .post .post-content figure.highlight .code .hljs-keyword,\n .post .post-content figure.highlight .code .hljs-selector-tag,\n .post .post-content figure.highlight .code .hljs-addition {\n color: #859900; }\n .post .post-content figure.highlight .code .hljs-number,\n .post .post-content figure.highlight .code .hljs-string,\n .post .post-content figure.highlight .code .hljs-meta .hljs-meta-string,\n .post .post-content figure.highlight .code .hljs-literal,\n .post .post-content figure.highlight .code .hljs-doctag,\n .post .post-content figure.highlight .code .hljs-regexp {\n color: #2aa198; }\n .post .post-content figure.highlight .code .hljs-title,\n .post .post-content figure.highlight .code .hljs-section,\n .post .post-content figure.highlight .code .hljs-name,\n .post .post-content figure.highlight .code .hljs-selector-id,\n .post .post-content figure.highlight .code .hljs-selector-class {\n color: #268bd2; }\n .post .post-content figure.highlight .code .hljs-attribute,\n .post .post-content figure.highlight .code .hljs-attr,\n .post .post-content figure.highlight .code .hljs-variable,\n .post .post-content figure.highlight .code .hljs-template-variable,\n .post .post-content figure.highlight .code .hljs-class .hljs-title,\n .post .post-content figure.highlight .code .hljs-type {\n color: #b58900; }\n .post .post-content figure.highlight .code .hljs-symbol,\n .post .post-content figure.highlight .code .hljs-bullet,\n .post .post-content figure.highlight .code .hljs-subst,\n .post .post-content figure.highlight .code .hljs-meta,\n .post .post-content figure.highlight .code .hljs-meta .hljs-keyword,\n .post .post-content figure.highlight .code .hljs-selector-attr,\n .post .post-content figure.highlight .code .hljs-selector-pseudo,\n .post .post-content figure.highlight .code .hljs-link {\n color: #cb4b16; }\n .post .post-content figure.highlight .code .hljs-built_in,\n .post .post-content figure.highlight .code .hljs-deletion {\n color: #dc322f; }\n .post .post-content figure.highlight .code .hljs-formula {\n background: #eee8d5; }\n .post .post-content figure.highlight .code .hljs-emphasis {\n font-style: italic; }\n .post .post-content figure.highlight .code .hljs-strong {\n font-weight: bold; }\n .post .post-content .post-summary {\n margin-bottom: 1em; }\n .post .post-content .read-more .read-more-link {\n color: #16982B;\n font-size: 1.1em;\n font-family: \"Source Sans Pro\", \"Helvetica Neue\", Arial, sans-serif; }\n .post .post-content .read-more .read-more-link:hover {\n border-bottom: 1px solid #16982B; }\n .post .post-content kbd {\n display: inline-block;\n padding: 0.25em;\n background-color: #fafafa;\n border: 1px solid #dbdbdb;\n border-bottom-color: #b5b5b5;\n border-radius: 3px;\n box-shadow: inset 0 -1px 0 #b5b5b5;\n font-size: 0.8em;\n line-height: 1.25;\n font-family: \"SFMono-Regular\",\"Liberation Mono\",\"Roboto Mono\",Menlo,Monaco,Consolas,\"Courier New\",Courier,monospace;\n color: #4a4a4a; }\n .post .post-content dl dt::after {\n content: ':'; }\n .post .post-content figure.center {\n text-align: center; }\n .post .post-content figure.right {\n text-align: right; }\n .post .post-content figure.left {\n text-align: left; }\n .post .post-content figure figcaption h4 {\n color: #b5b5b5;\n font-size: 0.9rem; }\n .post .post-content .task-list {\n list-style: none;\n padding-left: 1.5rem; }\n .post .post-content .align-center {\n text-align: center; }\n .post .post-content .align-right {\n text-align: right; }\n .post .post-content .align-left {\n text-align: left; }\n .post .post-content .MJXc-display {\n overflow-x: auto;\n overflow-y: hidden; }\n .post .post-copyright {\n margin-top: 20px;\n padding-top: 10px;\n border-top: 1px dashed #e6e6e6; }\n .post .post-copyright .copyright-item {\n margin: 5px 0; }\n .post .post-copyright .copyright-item a {\n color: #16982B;\n word-wrap: break-word; }\n .post .post-copyright .copyright-item a:hover {\n border-bottom: 1px solid #16982B; }\n .post .post-copyright .copyright-item .item-title {\n display: inline-block;\n min-width: 5rem;\n margin-right: .5rem;\n text-align: right; }\n .post .post-copyright .copyright-item .item-title:after {\n content: \" :\"; }\n .post .post-reward {\n margin-top: 20px;\n padding-top: 10px;\n text-align: center;\n border-top: 1px dashed #e6e6e6; }\n .post .post-reward .reward-button {\n margin: 15px 0;\n padding: 3px 7px;\n display: inline-block;\n color: #16982B;\n border: 1px solid #16982B;\n border-radius: 5px;\n cursor: pointer; }\n .post .post-reward .reward-button:hover {\n color: #fefefe;\n background-color: #16982B;\n transition: 0.5s; }\n .post .post-reward #reward:checked ~ .qr-code {\n display: block; }\n .post .post-reward #reward:checked ~ .reward-button {\n display: none; }\n .post .post-reward .qr-code {\n display: none; }\n .post .post-reward .qr-code .qr-code-image {\n display: inline-block;\n min-width: 200px;\n width: 40%;\n margin-top: 15px; }\n .post .post-reward .qr-code .qr-code-image span {\n display: inline-block;\n width: 100%;\n margin: 8px 0; }\n .post .post-reward .qr-code .image {\n width: 200px;\n height: 200px; }\n .post .post-tags {\n padding: 15px 0; }\n .post .post-tags a {\n margin-right: 5px;\n color: #16982B;\n word-break: break-all; }\n .post .post-tags a::before {\n content: '#'; }\n .post .post-footer {\n margin-top: 20px;\n border-top: 1px solid #e6e6e6;\n font-family: \"Source Sans Pro\", \"Helvetica Neue\", Arial, sans-serif; }\n .post .post-footer .post-tags {\n padding: 15px 0; }\n .post .post-footer .post-tags a {\n margin-right: 5px;\n color: #16982B;\n word-break: break-all; }\n .post .post-footer .post-tags a::before {\n content: '#'; }\n .post .post-footer .post-nav {\n margin: 1em 0; }\n .post .post-footer .post-nav:before, .post .post-footer .post-nav:after {\n content: \" \";\n display: table; }\n .post .post-footer .post-nav:after {\n clear: both; }\n .post .post-footer .post-nav .prev,\n .post .post-footer .post-nav .next {\n font-weight: 600;\n font-size: 18px;\n font-family: \"Source Sans Pro\", \"Helvetica Neue\", Arial, sans-serif;\n transition-property: transform;\n transition-timing-function: ease-out;\n transition-duration: 0.3s; }\n .post .post-footer .post-nav .prev {\n float: left; }\n .post .post-footer .post-nav .prev:hover {\n color: #16982B;\n transform: translateX(-4px); }\n .post .post-footer .post-nav .next {\n float: right; }\n .post .post-footer .post-nav .next:hover {\n color: #16982B;\n transform: translateX(4px); }\n .post .post-footer .post-nav .nav-mobile {\n display: none; }\n @media screen and (max-width: 800px) {\n .post .post-footer .post-nav .nav-default {\n display: none; }\n .post .post-footer .post-nav .nav-mobile {\n display: inline; } }\n .post .post-outdated .hint {\n position: relative;\n margin-top: 20px;\n margin-bottom: 20px;\n padding: 5px 10px;\n border-left: 4px solid #42acf3;\n background-color: #eff5ff;\n border-color: #42acf3; }\n .post .post-outdated .warn {\n position: relative;\n margin-top: 20px;\n margin-bottom: 20px;\n padding: 5px 10px;\n border-left: 4px solid #f9cf63;\n background-color: #ffffc0;\n border-color: #f9cf63; }\n\n.pagination {\n margin: 2em 0; }\n .pagination:before, .pagination:after {\n content: \" \";\n display: table; }\n .pagination:after {\n clear: both; }\n .pagination .prev,\n .pagination .next {\n font-weight: 600;\n font-size: 20px;\n font-family: \"Source Sans Pro\", \"Helvetica Neue\", Arial, sans-serif;\n transition-property: transform;\n transition-timing-function: ease-out;\n transition-duration: 0.3s; }\n .pagination .prev {\n float: left; }\n .pagination .prev:hover {\n color: #16982B;\n transform: translateX(-4px); }\n .pagination .next {\n float: right; }\n .pagination .next:hover {\n color: #16982B;\n transform: translateX(4px); }\n\n.footer {\n margin-top: 2em; }\n .footer .social-links {\n text-align: center; }\n .footer .social-links .iconfont {\n font-size: 30px; }\n .footer .social-links .iconfont + .iconfont {\n margin-left: 10px; }\n .footer .social-links .iconfont:hover {\n color: #16982B; }\n .footer .copyright {\n margin: 10px 0;\n color: #8a8a8a;\n text-align: center;\n font-family: \"Source Sans Pro\", \"Helvetica Neue\", Arial, sans-serif; }\n .footer .copyright .hexo-link,\n .footer .copyright .theme-link {\n color: #16982B; }\n .footer .copyright .copyright-year {\n display: block; }\n .footer .copyright .copyright-year .heart {\n font-size: 14px; }\n\n.archive {\n margin: 2em 0px;\n max-width: 550px; }\n .archive .archive-title {\n font-family: \"Source Sans Pro\", \"Helvetica Neue\", Arial, sans-serif; }\n .archive .archive-title.tag, .archive .archive-title.category {\n margin: 15px 0; }\n .archive .archive-title .archive-name {\n margin: 0;\n display: inline-block;\n font-weight: 400;\n font-size: 30px;\n line-height: 32px; }\n .archive .archive-title .archive-post-counter {\n color: #8a8a8a; }\n .archive .collection-title {\n font-family: \"Source Sans Pro\", \"Helvetica Neue\", Arial, sans-serif; }\n .archive .collection-title .archive-year {\n margin: 15px 0;\n font-weight: 400;\n font-size: 28px;\n line-height: 30px; }\n .archive .archive-post {\n padding: 3px 20px;\n border-left: 1px solid #cacaca; }\n .archive .archive-post .archive-post-time {\n margin-right: 10px;\n color: #8a8a8a; }\n .archive .archive-post .archive-post-title .archive-post-link {\n color: #16982B; }\n .archive .archive-post::first-child {\n margin-top: 10px; }\n .archive .archive-post:hover {\n border-left: 3px solid #16982B;\n transition: 0.2s ease-out;\n transform: translateX(4px); }\n .archive .archive-post:hover .archive-post-time {\n color: #717171; }\n .archive .archive-post:hover .archive-post-title .archive-post-link {\n color: #106b1e; }\n\n@media screen and (max-width: 800px) {\n .archive {\n margin-left: auto;\n margin-right: auto; }\n .archive .archive-title .archive-name {\n font-size: 26px; }\n .archive .collection-title .archive-year {\n margin: 10px 0;\n font-size: 24px; }\n .archive .archive-post {\n padding: 5px 10px; }\n .archive .archive-post .archive-post-time {\n font-size: 13px;\n display: block; } }\n\n.tag-cloud {\n margin: 2em 0 3em;\n text-align: center;\n font-family: \"Source Sans Pro\", \"Helvetica Neue\", Arial, sans-serif; }\n .tag-cloud .tag-cloud-title {\n display: inline-block;\n font-size: 18px;\n color: #16982B;\n border-bottom: 2px solid #16982B; }\n .tag-cloud .tag-cloud-tags {\n margin: 10px 0; }\n .tag-cloud .tag-cloud-tags a {\n display: inline-block;\n position: relative;\n margin: 5px 10px;\n word-wrap: break-word;\n transition-duration: 0.2s;\n transition-property: transform;\n transition-timing-function: ease-out; }\n .tag-cloud .tag-cloud-tags a .tag-count {\n display: inline-block;\n position: relative;\n top: -8px;\n right: -2px;\n color: #16982B;\n font-size: 12px; }\n .tag-cloud .tag-cloud-tags a:active, .tag-cloud .tag-cloud-tags a:focus, .tag-cloud .tag-cloud-tags a:hover {\n color: #16982B;\n transform: scale(1.1); }\n\n.categories {\n margin: 2em 0 3em;\n text-align: center;\n font-family: \"Source Sans Pro\", \"Helvetica Neue\", Arial, sans-serif; }\n .categories .categories-title {\n display: inline-block;\n font-size: 18px;\n color: #16982B;\n border-bottom: 2px solid #16982B; }\n .categories .categories-tags {\n margin: 10px 0; }\n .categories .categories-tags .category-link {\n display: inline-block;\n position: relative;\n margin: 5px 10px;\n word-wrap: break-word;\n transition-duration: 0.2s;\n transition-property: transform;\n transition-timing-function: ease-out; }\n .categories .categories-tags .category-link .category-count {\n display: inline-block;\n position: relative;\n top: -8px;\n right: -2px;\n color: #16982B;\n font-size: 12px; }\n .categories .categories-tags .category-link:active, .categories .categories-tags .category-link:focus, .categories .categories-tags .category-link:hover {\n color: #16982B;\n transform: scale(1.1); }\n\n.slideout-menu {\n position: fixed;\n top: 0;\n left: 0px;\n bottom: 0;\n width: 180px;\n min-height: 100vh;\n overflow-y: hidden;\n -webkit-overflow-scrolling: touch;\n z-index: 0;\n display: none; }\n\n.slideout-panel {\n position: relative;\n z-index: 1;\n background-color: #fefefe;\n min-height: 100vh; }\n\n.slideout-open,\n.slideout-open body,\n.slideout-open .slideout-panel {\n overflow: hidden; }\n\n.slideout-open .slideout-menu {\n display: block; }\n\n.mobile-navbar {\n display: none;\n position: fixed;\n top: 0;\n left: 0;\n width: 100%;\n height: 50px;\n background: #fefefe;\n box-shadow: 0px 2px 2px #cacaca;\n text-align: center;\n transition: transform 300ms ease;\n z-index: 99; }\n .mobile-navbar.fixed-open {\n transform: translate3d(180px, 0px, 0px); }\n .mobile-navbar .mobile-header-logo {\n display: inline-block;\n margin-right: 50px; }\n .mobile-navbar .mobile-header-logo .logo {\n font-size: 22px;\n line-height: 50px;\n font-family: sans-serif; }\n .mobile-navbar .mobile-navbar-icon {\n color: #16982B;\n height: 50px;\n width: 50px;\n font-size: 24px;\n text-align: center;\n float: left;\n position: relative;\n transition: background 0.5s; }\n\n@keyframes clickfirst {\n 0% {\n transform: translateY(6px) rotate(0deg); }\n 100% {\n transform: translateY(0) rotate(45deg); } }\n\n@keyframes clickmid {\n 0% {\n opacity: 1; }\n 100% {\n opacity: 0; } }\n\n@keyframes clicklast {\n 0% {\n transform: translateY(-6px) rotate(0deg); }\n 100% {\n transform: translateY(0) rotate(-45deg); } }\n\n@keyframes outfirst {\n 0% {\n transform: translateY(0) rotate(-45deg); }\n 100% {\n transform: translateY(-6px) rotate(0deg); } }\n\n@keyframes outmid {\n 0% {\n opacity: 0; }\n 100% {\n opacity: 1; } }\n\n@keyframes outlast {\n 0% {\n transform: translateY(0) rotate(45deg); }\n 100% {\n transform: translateY(6px) rotate(0deg); } }\n .mobile-navbar .mobile-navbar-icon span {\n position: absolute;\n /* fallback for browsers which still doesn't support for `calc()` */\n left: 15px;\n top: 25px;\n left: calc((100% - 20px) / 2);\n top: calc((100% - 1px) / 2);\n width: 20px;\n height: 1px;\n background-color: #16982B; }\n .mobile-navbar .mobile-navbar-icon span:nth-child(1) {\n transform: translateY(6px) rotate(0deg); }\n .mobile-navbar .mobile-navbar-icon span:nth-child(3) {\n transform: translateY(-6px) rotate(0deg); }\n .mobile-navbar .mobile-navbar-icon.icon-click span:nth-child(1) {\n animation-duration: 0.5s;\n animation-fill-mode: both;\n animation-name: clickfirst; }\n .mobile-navbar .mobile-navbar-icon.icon-click span:nth-child(2) {\n animation-duration: 0.2s;\n animation-fill-mode: both;\n animation-name: clickmid; }\n .mobile-navbar .mobile-navbar-icon.icon-click span:nth-child(3) {\n animation-duration: 0.5s;\n animation-fill-mode: both;\n animation-name: clicklast; }\n .mobile-navbar .mobile-navbar-icon.icon-out span:nth-child(1) {\n animation-duration: 0.5s;\n animation-fill-mode: both;\n animation-name: outfirst; }\n .mobile-navbar .mobile-navbar-icon.icon-out span:nth-child(2) {\n animation-duration: 0.2s;\n animation-fill-mode: both;\n animation-name: outmid; }\n .mobile-navbar .mobile-navbar-icon.icon-out span:nth-child(3) {\n animation-duration: 0.5s;\n animation-fill-mode: both;\n animation-name: outlast; }\n\n.mobile-menu {\n background-color: rgba(245, 245, 245, 0.5); }\n .mobile-menu .mobile-menu-list {\n position: relative;\n list-style: none;\n margin-top: 50px;\n padding: 0;\n border-top: 1px solid #f5f5f5; }\n .mobile-menu .mobile-menu-list .mobile-menu-item {\n padding: 10px 30px;\n border-bottom: 1px solid #f5f5f5; }\n .mobile-menu .mobile-menu-list a {\n font-size: 18px;\n font-family: \"Source Sans Pro\", \"Helvetica Neue\", Arial, sans-serif; }\n .mobile-menu .mobile-menu-list a:hover {\n color: #16982B; }\n\n@media screen and (max-width: 800px) {\n .mobile-navbar {\n display: block; } }\n\n.back-to-top {\n display: none;\n position: fixed;\n right: 20px;\n bottom: 20px;\n transition-property: transform;\n transition-timing-function: ease-out;\n transition-duration: 0.3s;\n z-index: 10; }\n .back-to-top:hover {\n transform: translateY(-5px); }\n\n@media screen and (max-width: 800px) {\n .back-to-top {\n display: none !important; } }\n\n.not-found {\n text-align: center; }\n .not-found .error-emoji {\n color: #363636;\n font-size: 3rem; }\n .not-found .error-text {\n color: #797979;\n font-size: 1.25rem; }\n .not-found .error-link {\n margin-top: 2rem; }\n .not-found .error-link a {\n color: #16982B; }\n\n\n\n// WEBPACK FOOTER //\n// ./css/style.scss","@import '_common/normalize';\n\nhtml {\n font-size: $global-font-size;\n box-sizing: border-box;\n}\n\nbody {\n padding: 0;\n margin: 0;\n font-family: $global-font-family;\n font-weight: normal;\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n line-height: $global-lineheight;\n color: $global-font-color;\n background: $global-background;\n scroll-behavior: smooth;\n border-top: 3px solid $theme-color;\n}\n\n@include max-screen() {\n body {\n border-top: 0;\n }\n}\n\n::selection {\n background: $theme-color;\n color: #fff;\n}\n\n// ::-webkit-scrollbar {\n// width: 8px;\n// height: 6px;\n// }\n\n// ::-webkit-scrollbar-thumb {\n// background: lighten($theme-color, 10%);\n// border-radius: 5px;\n// }\n\n// ::-webkit-scrollbar-track {\n// background: rgba(211, 211, 211, 0.4);\n// border-radius: 5px;\n// }\n\nimg {\n max-width: 100%;\n height: auto;\n display: inline-block;\n vertical-align: middle;\n}\n\na {\n color: $global-font-color;\n text-decoration: none;\n}\n\n@each $header, $size in $global-headings {\n #{$header} {\n font-size: $size;\n font-family: $global-font-family;\n }\n}\n\n.container {\n margin: 0 auto;\n width: $global-body-width;\n}\n\n@include max-screen() {\n .container {\n width: 100%;\n box-shadow: -1px -5px 5px $gray;\n }\n}\n\n.content-wrapper {\n padding: $global-container-padding;\n}\n\n// make video fluid:\n// https://css-tricks.com/NetMag/FluidWidthVideo/Article-FluidWidthVideo.php\n// class video-container is the wrapper used by hexo youtube tag plugin\n.video-container {\n\tposition: relative;\n\tpadding-bottom: 56.25%; /* 16:9 */\n\tpadding-top: 25px;\n\theight: 0;\n}\n.video-container iframe {\n\tposition: absolute;\n\ttop: 0;\n\tleft: 0;\n\twidth: 100%;\n\theight: 100%;\n}\n\n.svg-icon {\n width: 40px;\n height: 40px;\n display: inline-block;\n\n &.email { background-image: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNDBweCIgaGVpZ2h0PSI0MHB4IiB2aWV3Qm94PSIwIDAgNjAgNjAiIHZlcn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C0xLjEzLDEuMzg0IC0wLjkyNCwzLjQyMiAwLjQ2LDQuNTUyIGwgMTQuMjU5LDExLjY0IC01LjgyNiw3LjE4MiAtNy4wNTQsLTUuNzYyIGMgLTAuNTc3LC0wLjQ3MSAtMS4yNzEsLTAuNyAtMS45NjIsLTAuNyAtMC44OTksMCAtMS43OTIsMC4zODkgLTIuNDA1LDEuMTQgbCAtMS40NjksMS43OTkgYyAtMS4xMzIsMS4zODcgLTAuOTI3LDMuNDI5IDAuNDYsNC41NjEgbCA2Ljk2OSw1LjY5MyAtMTQuMzQzLDE3LjYwNCBjIC0xLjQ2OCwxLjggLTEuMTk5LDQuNDQ3IDAuNTk4LDUuOTE1IDAuNzg1LDAuNjQgMS43MjYsMC45NSAyLjY2LDAuOTUiICAgICAgICAgICAgIHN0eWxlPSJmaWxsOiMyODI4Mjg7ZmlsbC1vcGFjaXR5OjE7ZmlsbC1ydWxlOm5vbnplcm87c3Ryb2tlOm5vbmUiICAgICAgICAgICAgIGlkPSJwYXRoMzgwNCIgICAgICAgICAgICAgaW5rc2NhcGU6Y29ubmVjdG9yLWN1cnZhdHVyZT0iMCIgLz4gICAgICAgIDwvZz4gICAgICA8L2c+ICAgIDwvZz4gIDwvZz48L3N2Zz4=);}\n}\n\n\n\n// WEBPACK FOOTER //\n// ./css/_base.scss","// ==============================\n// Variables\n// ==============================\n\n// ========== Theme Color ========== //\n// Config here to change theme color\n// Default | Mint Green | Cobalt Blue | Hot Pink | Dark Violet\n$theme-color-config: 'Mint Green';\n\n// Default theme color map\n$theme-color-map: (\n 'Default': #c05b4d #f8f5ec,\n 'Mint Green': #16982B #f5f5f5,\n 'Cobalt Blue': #0047AB #f0f2f5,\n 'Hot Pink': #FF69B4 #f8f5f5,\n 'Dark Violet': #9932CC #f5f4fa\n);\n\n// Check theme color config.\n// if it does not exist, use default theme color.\n@if not(map-has-key($theme-color-map, $theme-color-config)) {\n $theme-color-config: 'Default';\n}\n$theme-color-list: map-get($theme-color-map, $theme-color-config);\n\n// Default theme color of the site.\n$theme-color: nth($theme-color-list, 1) !default;\n\n// Deputy theme color of the site.\n$deputy-color: nth($theme-color-list, 2) !default;\n\n\n// ========== Color ========== //\n$black: #0a0a0a !default;\n$white: #fefefe !default;\n$light-gray: #e6e6e6 !default;\n$gray: #cacaca !default;\n$dark-gray: #8a8a8a !default;\n\n\n// ========== Global ========== //\n// Text color of the body.\n$global-font-color: #34495e !default;\n\n// Font size attribute applied to '' and ''.\n$global-font-size: 16px !default;\n\n// Global width of ''.\n$global-body-width: 800px !default;\n\n// Padding of container main\n$global-container-padding: 0 20px !default;\n\n// Default line height for all type. `$global-lineheight` is 24px while `$global-font-size` is 16px.\n$global-lineheight: 1.5 !default;\n\n// Font family of the site.\n$global-font-family: 'Source Sans Pro', 'Helvetica Neue', Arial, sans-serif !default;\n\n// Background color of the site.\n$global-background: $white !default;\n\n// Headings font size of the site.\n$global-headings: (\n h1: 26px,\n h2: 24px,\n h3: 20px,\n h4: 16px,\n h5: 14px,\n h6: 14px\n) !default;\n\n\n// ========== Header ========== //\n// Padding of the site header.\n$header-padding: 20px 20px !default;\n\n// Font size of the logo.\n$logo-font-size: 48px !default;\n\n// Font family of the logo.\n$logo-font-family: sans-serif !default;\n\n// Margin of menu item.\n$menu-item-margin-left: 10px !default;\n\n// Margin of menu item in mobile.\n$menu-item-mobile-margin: 5px !default;\n\n// Font size of menu item link.\n$menu-link-font-size: 18px !default;\n\n// Height of the mobile header.\n$mobile-navbar-height: 50px !default;\n\n// ========== Post ========== //\n// Margin bottom of post list.\n$post-list-margin-bottom: 20px !default;\n\n// Padding of the post.\n$post-padding: 1.5em 0 !default;\n\n// Border top of the post + post.\n$post-border: 1px solid $light-gray !default;\n\n// Font size of post title.\n$post-title-font-size: 27px !default;\n\n// Font weight of post title.\n$post-title-font-weight: 400 !default;\n\n// Margin top of the post meta (post time).\n$post-meta-margin-top: 5px !default;\n\n// Font color of the post meta.\n$post-meta-font-color: $dark-gray !default;\n\n// Border bottom of the read more link when hover it.\n$post-readMore-border-bottom: 1px solid $theme-color !default;\n\n// Margin top of the post footer.\n$post-footer-margin-top: 20px !default;\n\n// Border top of post footer.\n$post-footer-border-top: 1px solid $light-gray !default;\n\n// Padding of the post tags.\n$post-tags-padding: 15px 0 !default;\n\n// Font size of post pagination.\n$post-nav-font-size: 18px !default;\n\n\n// ========== TOC ========== //\n// Width of the post toc.\n$post-toc-width: 200px !default;\n\n// Backgroud color of the post toc.\n$post-toc-backgroud: rgba($deputy-color, 0.6) !default;\n\n// Margin left of the post toc.\n$post-toc-margin-left: $global-body-width - 15px !default;\n\n// Font size of the post toc title.\n$post-toc-title-size: 20px !default;\n\n// Font size of the post toc content.\n$post-toc-content: 15px !default;\n\n// List style of the post toc list.\n$post-toc-list-style: square !default;\n\n// Max screen media of the post toc.\n$toc-max-sreen-width: 2 * $post-toc-width + $post-toc-margin-left !default;\n\n// ========== Content ========== //\n// Headings anchor.\n$content-headings-anchor: \"\" !default;\n\n// Border bottom of the link when hover it.\n$content-link-border: 1px solid $theme-color !default;\n\n// Background color of the blockquote.\n$content-blockquote-backgroud: rgba($theme-color, 0.05) !default;\n\n// Border left of the blockquote.\n$content-blockquote-border-left: 3px solid rgba($theme-color, 0.3) !default;\n\n// Border color of the table.\n$content-table-border-color: darken($deputy-color, 3%) !default;\n\n// ========== Code ========== //\n// Color of the code.\n$code-color: #c7254e !default;\n\n// Font size of code.\n$code-font-size: 13px !default;\n\n// Font family of the code.\n$code-font-family: Consolas, Monaco, Menlo, Consolas, monospace !default;\n\n// Color of code highlight, solarized.\n$code-highlight-color: (\n comment: #93a1a1,\n keyword: #859900,\n number: #2aa198,\n title: #268bd2,\n attribute: #b58900,\n symbol: #cb4b16,\n built_in: #dc322f,\n formula: #eee8d5\n) !default;\n\n// Code type list.\n$code-type-list: (\n // Custom code type\n language-bash: \"Bash\",\n language-c: \"C\",\n language-cs: \"C#\",\n language-cpp: \"C++\",\n language-css: \"CSS\",\n language-coffeescript: \"CoffeeScript\",\n language-html: \"HTML\",\n language-xml: \"XML\",\n language-http: \"HTTP\",\n language-json: \"JSON\",\n language-java: \"Java\",\n language-js: \"JavaScript\",\n language-javascript: \"JavaScript\",\n language-makefile: \"Makefile\",\n language-markdown: \"Markdown\",\n language-objectivec: \"Objective-C\",\n language-php: \"PHP\",\n language-perl: \"Perl\",\n language-python: \"Python\",\n language-ruby: \"Ruby\",\n language-sql: \"SQL\",\n language-shell: \"Shell\",\n\n language-erlang: \"Erlang\",\n language-go: \"Go\",\n language-groovy: \"Groovy\",\n language-haskell: \"Haskell\",\n language-kotlin: \"Kotlin\",\n language-less: \"Less\",\n language-lisp: \"Lisp\",\n language-lua: \"Lua\",\n language-matlab: \"Matlab\",\n language-rust: \"Rust\",\n language-scss: \"Scss\",\n language-scala: \"Scala\",\n language-swift: \"Swift\",\n language-typescript: \"TypeScript\",\n language-yml: \"YAML\",\n language-yaml: \"YAML\",\n language-toml: \"TOML\"\n) !default;\n\n// Color of the code background.\n$code-background: $deputy-color !default;\n\n\n// ========== Pagination ========== //\n// Margin of the pagination.\n$pagination-margin: 2em 0 !default;\n\n// Font size of the pagination (Without post, post pagination see line 140).\n$pagination-font-size: 20px !default;\n\n\n// ========== Footer ========== //\n// Margin top of the footer.\n$footer-margin-top: 2em !default;\n\n// Margin left of the social link.\n$social-link-margin-left: 10px !default;\n\n// Font size of the social icon.\n$social-icon-font-size: 30px !default;\n\n// Margin of the copyright.\n$copyright-margin: 10px 0 !default;\n\n\n// ========== Archive ========== //\n// Margin of the archive.\n$archive-margin: 2em 0px !default;\n\n// Max width of the archive.\n$archive-max-width: 550px !default;\n\n// Font size of the archive name.\n$archive-name-font-size: 30px !default;\n\n// Font size of the collection title.\n$collection-title-font-size: 28px !default;\n\n// Padding of the archive post.\n$archive-post-padding: 3px 20px !default;\n\n// Padding of the archive post in mobile.\n$archive-post-mobile-padding: 5px 10px !default;\n\n// Font size of the archive post time in mobile.\n$archive-post-mobile-time-font-size: 13px !default;\n\n// Border left of the archive post, use $archive-post-hover-border-left when hover it.\n$archive-post-border-left: 1px solid $gray !default;\n$archive-post-hover-border-left: 3px solid $theme-color !default;\n\n// Transition of the archive post when hover it.\n$archive-post-hover-transition: 0.2s ease-out !default;\n\n// Transform of the archive post when hover it.\n$archive-post-hover-transform: translateX(4px) !default;\n\n\n// ========== Tags ========== //\n// Font soze of the tag cloud title.\n$tag-cloud-title-size: 18px !default;\n\n// Border bottom of the tag cloud title.\n$tag-cloud-title-border-bottom: 2px solid $theme-color !default;\n\n// Margin of the tag cloud tags link.\n$tag-cloud-tags-link-margin: 5px 10px !default;\n\n\n// ========== Categories ========== //\n// Font soze of the categories title.\n$categories-title-size: 18px !default;\n\n// Border bottom of the categories title.\n$categories-title-border-bottom: 2px solid $theme-color !default;\n\n// Margin of the categories tags link.\n$categories-tags-link-margin: 5px 10px !default;\n\n// Font size of the category count\n$category-count-font-size: 12px !default;\n\n\n\n// WEBPACK FOOTER //\n// ./css/_variables.scss","@mixin clearfix() {\n &:before,\n &:after {\n content: \" \";\n display: table;\n }\n \n &:after {\n clear: both;\n }\n}\n\n@mixin min-screen($min-width: $global-body-width) {\n @media screen and (min-width: $min-width) {\n @content;\n }\n}\n\n@mixin max-screen($max-width: $global-body-width) {\n @media screen and (max-width: $max-width) {\n @content;\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./css/_common/_utils.scss","// ==============================\n// Iconfont\n// ==============================\n\n@font-face {\n font-family: 'iconfont'; /* project id 96542 */\n\n src: url('../fonts/iconfont/iconfont.eot');\n src: url('../fonts/iconfont/iconfont.eot#iefix') format('embedded-opentype'), // not '?#iefix', because webpack will add '?hash=[hash]'\n url('../fonts/iconfont/iconfont.woff') format('woff'),\n url('../fonts/iconfont/iconfont.ttf') format('truetype'),\n url('../fonts/iconfont/iconfont.svg#iconfont') format('svg');\n\n // Uncomment these code and comment upper code if you want to use alicdn\n // src: url('//at.alicdn.com/t/font_96542_ixz9jngnf1sb57b9.eot');\n // src: url('//at.alicdn.com/t/font_96542_ixz9jngnf1sb57b9.eot?#iefix') format('embedded-opentype'),\n // url('//at.alicdn.com/t/font_96542_ixz9jngnf1sb57b9.woff') format('woff'),\n // url('//at.alicdn.com/t/font_96542_ixz9jngnf1sb57b9.ttf') format('truetype'),\n // url('//at.alicdn.com/t/font_96542_ixz9jngnf1sb57b9.svg#iconfont') format('svg');\n}\n\n.iconfont {\n font-family: \"iconfont\" !important;\n font-style: normal;\n -webkit-font-smoothing: antialiased;\n -webkit-text-stroke-width: 0.2px;\n -moz-osx-font-smoothing: grayscale;\n cursor: pointer;\n}\n\n.icon-instagram:before {\n font-size: .95em;\n content: \"\\e611\";\n position: relative;\n top: -1px;\n}\n.icon-douban:before {\n content: \"\\e610\";\n}\n.icon-tumblr:before {\n content: \"\\e69f\";\n font-size: .85em;\n position: relative;\n top: -4px;\n}\n.icon-linkedin:before {\n content: \"\\e60d\";\n position: relative;\n top: -4px;\n}\n.icon-twitter:before {\n content: \"\\e600\";\n}\n.icon-weibo:before {\n content: \"\\e602\";\n}\n.icon-stack-overflow:before {\n content: \"\\e603\";\n font-size: .85em;\n position: relative;\n top: -4px;\n}\n.icon-email:before {\n content: \"\\e605\";\n position: relative;\n top: -2px;\n}\n.icon-facebook:before {\n content: \"\\e601\";\n font-size: .95em;\n position: relative;\n top: -2px;\n}\n.icon-github:before {\n content: \"\\e606\";\n position: relative;\n top: -3px;\n}\n.icon-rss:before {\n content: \"\\e604\";\n}\n.icon-google:before {\n content: \"\\e609\";\n}\n.icon-zhihu:before {\n content: \"\\e607\";\n font-size: .9em;\n position: relative;\n top: -2px;\n}\n.icon-pocket:before {\n content: \"\\e856\";\n}\n\n/* Generic Icon */\n.icon-heart:before {\n content: \"\\e608\";\n}\n.icon-right:before {\n content: \"\\e60a\";\n}\n.icon-left:before {\n content: \"\\e60b\";\n}\n.icon-up:before {\n content: \"\\e60c\";\n}\n.icon-close:before {\n content: \"\\e60f\";\n}\n\n\n\n// WEBPACK FOOTER //\n// ./css/_iconfont.scss","// ==============================\n// Header\n// ==============================\n\n.header {\n @include clearfix; \n padding: $header-padding;\n\n @import '_header/logo';\n @import '_header/menu';\n}\n\n\n@include max-screen() {\n .header {\n padding: 50px 0 0;\n text-align: center;\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./css/_partial/_header.scss","// ==============================\n// Logo\n// =============================\n\n.logo-wrapper {\n float: left;\n\n .logo {\n font-size: $logo-font-size;\n font-family: $logo-font-family;\n }\n}\n\n@include max-screen() {\n .logo-wrapper {\n display: none;\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./css/_partial/_header/_logo.scss","// ==============================\n// Menu\n// =============================\n\n.site-navbar {\n float: right;\n\n .menu {\n display: inline-block;\n position: relative;\n padding-left: 0;\n padding-right: 25px;\n font-family: $global-font-family;\n\n .menu-item {\n display: inline-block;\n\n & + .menu-item {\n margin-left: $menu-item-margin-left;;\n }\n\n @include underline-from-center;\n }\n\n .menu-item-link {\n font-size: $menu-link-font-size;\n }\n }\n}\n\n@include max-screen() {\n .site-navbar {\n display: none;\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./css/_partial/_header/_menu.scss","@mixin underline-from-center() {\n display: inline-block;\n vertical-align: middle;\n transform: translateZ(0);\n backface-visibility: hidden;\n box-shadow: 0 0 1px transparent;\n position: relative;\n overflow: hidden;\n\n &:before {\n content: '';\n position: absolute;\n z-index: -1;\n height: 2px;\n bottom: 0;\n left: 51%;\n right: 51%;\n background: $theme-color;\n transition-duration: 0.2s;\n transition-property: right, left;\n transition-timing-function: ease-out;\n }\n\n &.active,\n &:active,\n &:focus,\n &:hover {\n &:before {\n right: 0;\n left: 0;\n }\n }\n}\n\n@mixin mobile-menu-icon() {\n @keyframes clickfirst {\n 0% {\n transform: translateY(6px) rotate(0deg);\n \n }\n\n 100% {\n transform: translateY(0) rotate(45deg);\n }\n }\t\n\n @keyframes clickmid {\n 0% {\n opacity: 1;\n }\n\n 100% {\n opacity: 0;\n }\n }\n\n @keyframes clicklast {\n 0% {\n transform: translateY(-6px) rotate(0deg);\n }\n\n 100% {\n transform: translateY(0) rotate(-45deg);\n }\n }\n \n @keyframes outfirst {\n 0% {\n transform: translateY(0) rotate(-45deg);\n }\n\n 100% {\n transform: translateY(-6px) rotate(0deg);\n }\n }\t\n\n @keyframes outmid {\n 0% {\n opacity: 0;\n }\n\n 100% {\n opacity: 1;\n }\n }\n\n @keyframes outlast {\n 0% {\n transform: translateY(0) rotate(45deg);\n }\n\n 100% {\n transform: translateY(6px) rotate(0deg);\n }\n }\n\n span {\n position: absolute;\n /* fallback for browsers which still doesn't support for `calc()` */\n left: 15px;\n top: 25px;\n left: calc((100% - 20px) / 2);\n top: calc((100% - 1px) / 2);\n width: 20px;\n height: 1px;\n background-color: $theme-color;\n \n &:nth-child(1) {\n transform: translateY(6px) rotate(0deg);\n }\n\n &:nth-child(3) {\n transform: translateY(-6px) rotate(0deg);\n }\n }\n\n &.icon-click {\n span:nth-child(1) {\n animation-duration: 0.5s;\n animation-fill-mode: both;\n animation-name: clickfirst;\n }\n\n span:nth-child(2) {\n animation-duration: 0.2s;\n animation-fill-mode: both;\n animation-name: clickmid;\n }\n\n span:nth-child(3) {\n animation-duration: 0.5s;\n animation-fill-mode: both;\n animation-name: clicklast;\n }\n }\n\n &.icon-out {\n span:nth-child(1) {\n animation-duration: 0.5s;\n animation-fill-mode: both;\n animation-name: outfirst;\n }\n\n span:nth-child(2) {\n animation-duration: 0.2s;\n animation-fill-mode: both;\n animation-name: outmid;\n }\n\n span:nth-child(3) {\n animation-duration: 0.5s;\n animation-fill-mode: both;\n animation-name: outlast;\n }\n }\n}\n\n\n// WEBPACK FOOTER //\n// ./css/_common/_animation.scss","// ==============================\n// Post\n// ==============================\n\n.posts {\n margin-bottom: $post-list-margin-bottom;\n border-bottom: $post-border;\n}\n\n.post {\n padding: $post-padding;\n\n & + .post {\n border-top: $post-border;\n }\n\n @import '_post/header';\n @import '_post/toc';\n @import '_post/content';\n @import '_post/copyright';\n @import '_post/reward';\n @import '_post/footer';\n @import '_post/outdated';\n}\n\n\n\n// WEBPACK FOOTER //\n// ./css/_partial/_post.scss",".post-header {\n margin-bottom: 20px;\n\n .post-title {\n margin: 0;\n font-size: $post-title-font-size;\n font-weight: $post-title-font-weight;\n font-family: $global-font-family;\n }\n\n .post-link {\n @include underline-from-center;\n }\n\n .post-meta {\n font-size: 14px;\n color: $post-meta-font-color;\n\n .post-time {\n font-size: 15px;\n }\n\n .post-category {\n display: inline;\n\n a {\n color: inherit;\n\n &::before {\n content: '·';\n }\n\n &:hover {\n color: $theme-color;\n }\n }\n }\n\n .more-meta {\n &::before {\n content: '·';\n }\n }\n\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./css/_partial/_post/_header.scss",".post-toc {\n position: absolute;\n width: $post-toc-width;\n margin-left: $post-toc-margin-left;\n padding: 10px;\n font-family: $global-font-family;\n border-radius: 5px;\n background: $post-toc-backgroud;\n box-shadow: 1px 1px 2px rgba(0,0,0,0.125);\n word-wrap: break-word;\n box-sizing: border-box;\n\n .post-toc-title {\n margin: 0 10px;\n font-size: $post-toc-title-size;\n font-weight: 400;\n text-transform: uppercase;\n }\n\n .post-toc-content {\n font-size: $post-toc-content;\n\n &.always-active ul {\n display: block;\n }\n\n >nav>ul {\n margin: 10px 0;\n }\n\n ul {\n padding-left: 20px;\n list-style: $post-toc-list-style;\n\n ul {\n padding-left: 15px;\n display: none;\n }\n\n .has-active > ul {\n display: block;\n }\n }\n\n .toc-link.active {\n color: $theme-color;\n }\n }\n}\n\n@include max-screen($toc-max-sreen-width) {\n .post-toc {\n display: none;\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./css/_partial/_post/_toc.scss","// ==============================\n// Post content\n// ==============================\n\n.post-content {\n word-wrap: break-word;\n\n @for $i from 1 through 6 {\n h#{$i} {\n font-weight: 400;\n font-family: $global-font-family;\n }\n }\n\n a {\n color: $theme-color;\n word-break: break-all;\n\n &:hover {\n border-bottom: $content-link-border;\n }\n\n &.fancybox {\n border: 0;\n }\n }\n\n blockquote {\n margin: 2em 0;\n padding: 10px 20px;\n position: relative;\n color: rgba(#34495e, 0.8);\n background-color: $content-blockquote-backgroud;\n border-left: $content-blockquote-border-left;\n box-shadow: 1px 1px 2px rgba(0,0,0,0.125);\n\n p {\n margin: 0;\n }\n }\n\n img {\n display: inline-block;\n max-width: 100%;\n }\n\n > table {\n max-width: 100%;\n margin: 10px 0;\n border-spacing: 0;\n box-shadow: 2px 2px 3px rgba(0,0,0,.125);\n\n thead {\n background: $deputy-color;\n }\n\n th, td {\n padding: 5px 15px;\n border: 1px double $content-table-border-color;\n }\n\n tr:hover {\n background-color: $deputy-color;\n }\n }\n\n @import 'code';\n\n .post-summary {\n margin-bottom: 1em;\n }\n\n .read-more {\n .read-more-link {\n color: $theme-color;\n font-size: 1.1em;\n font-family: $global-font-family;\n\n &:hover {\n border-bottom: $post-readMore-border-bottom;\n }\n }\n }\n\n kbd {\n display: inline-block;\n padding: 0.25em;\n background-color: #fafafa;\n border: 1px solid #dbdbdb;\n border-bottom-color: #b5b5b5;\n border-radius: 3px;\n box-shadow: inset 0 -1px 0 #b5b5b5;\n font-size: 0.8em;\n line-height: 1.25;\n font-family: \"SFMono-Regular\",\"Liberation Mono\",\"Roboto Mono\",Menlo,Monaco,Consolas,\"Courier New\",Courier,monospace;\n color: #4a4a4a;\n }\n\n dl dt::after {\n content: ':';\n }\n\n figure {\n &.center {\n text-align: center;\n }\n\n &.right {\n text-align: right;\n }\n\n &.left {\n text-align: left;\n }\n\n figcaption h4 {\n color: #b5b5b5;\n font-size: 0.9rem;\n }\n }\n\n .task-list {\n list-style: none;\n padding-left: 1.5rem;\n }\n\n .align-center {\n text-align: center;\n }\n\n .align-right {\n text-align: right;\n }\n\n .align-left {\n text-align: left;\n }\n\n .MJXc-display {\n overflow-x: auto;\n overflow-y: hidden;\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./css/_partial/_post/_content.scss","code, pre {\n padding: 7px;\n font-size: $code-font-size;\n font-family: $code-font-family;\n background: $code-background;\n}\n\ncode {\n padding: 3px 5px;\n border-radius: 4px;\n color: $code-color;\n}\n\nfigure.highlight {\n margin: 1em 0;\n border-radius: 5px;\n overflow-x: auto;\n box-shadow: 1px 1px 2px rgba(0,0,0,0.125);\n position: relative;\n\n table {\n position: relative;\n\n &::after {\n position: absolute;\n top: 0;\n right: 0;\n left: 0;\n padding: 2px 7px;\n font-size: $code-font-size;\n font-weight: bold;\n color: darken($gray, 10%);\n background: darken($code-background, 3%);\n content: 'Code';\n }\n }\n\n @each $sign, $text in $code-type-list {\n &.#{$sign} > table::after {\n content: $text;\n }\n }\n\n .code {\n pre {\n margin: 0;\n padding: 30px 10px 10px;\n }\n }\n\n .gutter {\n width: 10px;\n color: $gray;\n\n pre {\n margin: 0;\n padding: 30px 7px 10px;\n }\n }\n\n .line {\n // Fix code block null line height and\n // Synchronous gutter and code line highly.\n height: round($code-font-size * 1.5);\n }\n\n table, tr, td {\n margin: 0;\n padding: 0;\n width: 100%;\n border-collapse: collapse;\n }\n\n .code {\n .hljs-comment,\n .hljs-quote {\n color: map-get($code-highlight-color, comment);\n }\n\n .hljs-keyword,\n .hljs-selector-tag,\n .hljs-addition {\n color: map-get($code-highlight-color, keyword);\n }\n\n .hljs-number,\n .hljs-string,\n .hljs-meta .hljs-meta-string,\n .hljs-literal,\n .hljs-doctag,\n .hljs-regexp {\n color: map-get($code-highlight-color, number);\n }\n\n .hljs-title,\n .hljs-section,\n .hljs-name,\n .hljs-selector-id,\n .hljs-selector-class {\n color: map-get($code-highlight-color, title);\n }\n\n .hljs-attribute,\n .hljs-attr,\n .hljs-variable,\n .hljs-template-variable,\n .hljs-class .hljs-title,\n .hljs-type {\n color: map-get($code-highlight-color, attribute);\n }\n\n .hljs-symbol,\n .hljs-bullet,\n .hljs-subst,\n .hljs-meta,\n .hljs-meta .hljs-keyword,\n .hljs-selector-attr,\n .hljs-selector-pseudo,\n .hljs-link {\n color: map-get($code-highlight-color, symbol);\n }\n\n .hljs-built_in,\n .hljs-deletion {\n color: map-get($code-highlight-color, built_in);\n }\n\n .hljs-formula {\n background: map-get($code-highlight-color, formula);\n }\n \n .hljs-emphasis {\n font-style: italic;\n }\n \n .hljs-strong {\n font-weight: bold;\n }\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./css/_partial/_post/_code.scss",".post-copyright {\n margin-top: 20px;\n padding-top: 10px;\n border-top: 1px dashed $light-gray;\n\n .copyright-item {\n margin: 5px 0;\n\n a {\n color: $theme-color;\n word-wrap: break-word;\n\n &:hover {\n border-bottom: $content-link-border;\n }\n }\n\n .item-title {\n display: inline-block;\n min-width: 5rem;\n margin-right: .5rem;\n text-align: right;\n\n &:after {\n content: \" :\";\n }\n }\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./css/_partial/_post/_copyright.scss",".post-reward {\n margin-top: 20px;\n padding-top: 10px;\n text-align: center;\n border-top: 1px dashed $light-gray;\n\n .reward-button {\n margin: 15px 0;\n padding: 3px 7px;\n display: inline-block;\n color: $theme-color;\n border: 1px solid $theme-color;\n border-radius: 5px;\n cursor: pointer;\n\n &:hover {\n color: $white;\n background-color: $theme-color;\n transition: 0.5s;\n }\n }\n\n #reward:checked {\n & ~ .qr-code {\n display: block;\n }\n\n & ~ .reward-button {\n display: none;\n }\n }\n\n .qr-code {\n display: none;\n\n .qr-code-image {\n display: inline-block;\n min-width: 200px;\n width: 40%;\n margin-top: 15px;\n\n span {\n display: inline-block;\n width: 100%;\n margin: 8px 0;\n }\n }\n\n .image {\n width: 200px;\n height: 200px;\n }\n }\n}\n\n\n// WEBPACK FOOTER //\n// ./css/_partial/_post/_reward.scss","// ==============================\n// Post footer\n// ==============================\n.post-tags {\n padding: $post-tags-padding;\n\n a {\n margin-right: 5px;\n color: $theme-color;\n word-break: break-all;\n\n &::before {\n content: '#';\n }\n }\n}\n\n.post-footer {\n margin-top: $post-footer-margin-top;\n border-top: $post-footer-border-top;\n font-family: $global-font-family;\n\n .post-tags {\n padding: $post-tags-padding;\n\n a {\n margin-right: 5px;\n color: $theme-color;\n word-break: break-all;\n\n &::before {\n content: '#';\n }\n }\n }\n\n .post-nav {\n margin: 1em 0;\n @include clearfix;\n\n .prev,\n .next {\n font-weight: 600;\n font-size: $post-nav-font-size;\n font-family: $global-font-family;\n transition-property: transform;\n transition-timing-function: ease-out;\n transition-duration: 0.3s;\n }\n\n .prev {\n float: left;\n\n &:hover {\n color: $theme-color;\n transform: translateX(-4px);\n }\n }\n\n .next {\n float: right;\n\n &:hover {\n color: $theme-color;\n transform: translateX(4px);\n }\n }\n\n .nav-mobile {\n display: none;\n }\n }\n}\n\n@include max-screen() {\n .post-footer {\n .post-nav {\n .nav-default {\n display: none;\n }\n\n .nav-mobile {\n display: inline;\n }\n }\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./css/_partial/_post/_footer.scss",".post-outdated {\n .hint {\n position: relative;\n margin-top: 20px;\n margin-bottom: 20px;\n padding: 5px 10px;\n border-left: 4px solid rgb(66, 172, 243);\n background-color: rgb(239, 245, 255);\n border-color: rgb(66, 172, 243);\n }\n\n .warn {\n position: relative;\n margin-top: 20px;\n margin-bottom: 20px;\n padding: 5px 10px;\n border-left: 4px solid #f9cf63;\n background-color: #ffffc0;\n border-color: #f9cf63;\n }\n}\n\n\n\n\n\n\n\n// WEBPACK FOOTER //\n// ./css/_partial/_post/_outdated.scss","// ==============================\n// Pagination\n// ==============================\n\n.pagination {\n margin: $pagination-margin;\n @include clearfix;\n\n .prev,\n .next {\n font-weight: 600;\n font-size: $pagination-font-size;\n font-family: $global-font-family;\n transition-property: transform;\n transition-timing-function: ease-out;\n transition-duration: 0.3s;\n }\n\n .prev {\n float: left;\n\n &:hover {\n color: $theme-color;\n transform: translateX(-4px);\n }\n }\n\n .next {\n float: right;\n\n &:hover {\n color: $theme-color;\n transform: translateX(4px);\n }\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./css/_partial/_pagination.scss","// ==============================\n// Post footer\n// =============================\n\n.footer {\n margin-top: $footer-margin-top;\n\n @import \"_footer/social\";\n @import \"_footer/copyright\";\n}\n\n\n// WEBPACK FOOTER //\n// ./css/_partial/_footer.scss","// ==============================\n// Social\n// =============================\n\n.social-links {\n text-align: center;\n\n .iconfont {\n font-size: $social-icon-font-size;\n\n & + .iconfont {\n margin-left: $social-link-margin-left;\n } \n\n &:hover {\n color: $theme-color;\n }\n }\n}\n\n\n// WEBPACK FOOTER //\n// ./css/_partial/_footer/_social.scss","// ==============================\n// Copyright\n// =============================\n\n.copyright {\n margin: $copyright-margin;\n color: $dark-gray;\n text-align: center;\n font-family: $global-font-family;\n\n .hexo-link,\n .theme-link {\n color: $theme-color;\n }\n\n .copyright-year {\n display: block;\n\n .heart {\n font-size: 14px;\n }\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./css/_partial/_footer/_copyright.scss","// ==============================\n// Archive\n// =============================\n\n.archive {\n margin: $archive-margin;\n max-width: $archive-max-width;\n\n .archive-title {\n font-family: $global-font-family;\n\n &.tag,\n &.category {\n margin: 15px 0;\n }\n\n .archive-name {\n margin: 0;\n display: inline-block;\n font-weight: 400;\n font-size: $archive-name-font-size;\n line-height: $archive-name-font-size + 2px;\n }\n\n .archive-post-counter {\n color: $dark-gray;\n }\n }\n\n .collection-title {\n font-family: $global-font-family;\n\n .archive-year {\n margin: 15px 0;\n font-weight: 400;\n font-size: $collection-title-font-size;\n line-height: $collection-title-font-size + 2px;\n }\n }\n\n .archive-post {\n padding: $archive-post-padding;\n border-left: $archive-post-border-left;\n\n .archive-post-time {\n margin-right: 10px;\n color: $dark-gray;\n }\n\n .archive-post-title {\n\n .archive-post-link {\n color: $theme-color;\n }\n }\n\n &::first-child {\n margin-top: 10px;\n }\n\n &:hover {\n border-left: $archive-post-hover-border-left;\n transition: $archive-post-hover-transition;\n transform: $archive-post-hover-transform;\n\n .archive-post-time {\n color: darken($dark-gray, 10%);\n }\n\n .archive-post-title .archive-post-link {\n color: darken($theme-color, 10%);\n }\n }\n }\n}\n\n@include max-screen() {\n .archive {\n margin-left: auto;\n margin-right: auto;\n\n .archive-title .archive-name {\n font-size: $archive-name-font-size - 4px;\n }\n\n .collection-title .archive-year {\n margin: 10px 0;\n font-size: $collection-title-font-size - 4px;\n }\n\n .archive-post {\n padding: $archive-post-mobile-padding;\n\n .archive-post-time {\n font-size: $archive-post-mobile-time-font-size;\n display: block;\n }\n }\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./css/_partial/_archive.scss","// ==============================\n// Tags\n// =============================\n\n.tag-cloud {\n margin: 2em 0 3em;\n text-align: center;\n font-family: $global-font-family;\n\n .tag-cloud-title {\n display: inline-block;\n font-size: $tag-cloud-title-size;\n color: $theme-color;\n border-bottom: $tag-cloud-title-border-bottom;\n }\n\n .tag-cloud-tags {\n margin: 10px 0;\n\n a {\n display: inline-block;\n position: relative;\n margin: $tag-cloud-tags-link-margin;\n word-wrap: break-word;\n transition-duration: 0.2s;\n transition-property: transform;\n transition-timing-function: ease-out;\n\n .tag-count {\n display: inline-block;\n position: relative;\n top: -8px;\n right: -2px;\n color: $theme-color;\n font-size: $category-count-font-size;\n }\n\n &:active,\n &:focus,\n &:hover {\n color: $theme-color;\n transform: scale(1.1);\n }\n }\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./css/_partial/_tags.scss","\n.categories {\n margin: 2em 0 3em;\n text-align: center;\n font-family: $global-font-family;\n\n .categories-title {\n display: inline-block;\n font-size: $categories-title-size;\n color: $theme-color;\n border-bottom: $categories-title-border-bottom;\n }\n\n .categories-tags {\n margin: 10px 0;\n\n .category-link {\n display: inline-block;\n position: relative;\n margin: $categories-tags-link-margin;\n word-wrap: break-word;\n transition-duration: 0.2s;\n transition-property: transform;\n transition-timing-function: ease-out;\n\n .category-count {\n display: inline-block;\n position: relative;\n top: -8px;\n right: -2px;\n color: $theme-color;\n font-size: $category-count-font-size;\n }\n\n &:active,\n &:focus,\n &:hover {\n color: $theme-color;\n transform: scale(1.1);\n }\n }\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./css/_partial/_categories.scss","// ==============================\n// slideout (https://github.com/mango/slideout)\n// ==============================\n\n.slideout-menu {\n position: fixed;\n top: 0;\n left: 0px;\n bottom: 0;\n width: 180px;\n min-height: 100vh;\n overflow-y: hidden;\n -webkit-overflow-scrolling: touch;\n z-index: 0;\n display: none;\n}\n\n.slideout-panel {\n position: relative;\n z-index: 1;\n background-color: $white;\n min-height: 100vh;\n}\n\n.slideout-open,\n.slideout-open body,\n.slideout-open .slideout-panel {\n overflow: hidden;\n}\n\n.slideout-open .slideout-menu {\n display: block;\n}\n\n\n\n// WEBPACK FOOTER //\n// ./css/_partial/_slideout.scss","// ==============================\n// Mobile Navbar\n// ==============================\n\n.mobile-navbar {\n display: none;\n position: fixed;\n top: 0;\n left: 0;\n width: 100%;\n height: $mobile-navbar-height;\n background: $white;\n box-shadow: 0px 2px 2px $gray;\n text-align: center;\n transition: transform 300ms ease;\n z-index: 99;\n\n &.fixed-open {\n transform: translate3d(180px, 0px, 0px);\n }\n\n .mobile-header-logo {\n display: inline-block;\n margin-right: 50px;\n\n .logo {\n font-size: 22px;\n line-height: $mobile-navbar-height;\n font-family: $logo-font-family;\n }\n }\n\n .mobile-navbar-icon {\n color: $theme-color;\n height: $mobile-navbar-height;\n width: $mobile-navbar-height;\n font-size: 24px;\n text-align: center;\n float: left;\n position: relative;\n transition: background 0.5s;\n\n @include mobile-menu-icon();\n }\n}\n\n.mobile-menu {\n background-color: rgba($deputy-color, 0.5);\n\n .mobile-menu-list {\n position: relative;\n list-style: none;\n margin-top: 50px;\n padding: 0;\n border-top: 1px solid $deputy-color;\n\n .mobile-menu-item {\n padding: 10px 30px;\n border-bottom: 1px solid $deputy-color;\n }\n\n a {\n font-size: 18px;\n font-family: $global-font-family;\n\n &:hover {\n color: $theme-color;\n }\n }\n }\n}\n\n@include max-screen() {\n .mobile-navbar {\n display: block;\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./css/_partial/_mobile.scss","// ==============================\n// Back to top\n// =============================\n\n.back-to-top {\n display: none;\n position: fixed;\n right: 20px;\n bottom: 20px;\n transition-property: transform;\n transition-timing-function: ease-out;\n transition-duration: 0.3s;\n z-index: 10;\n\n &:hover {\n transform: translateY(-5px); \n }\n}\n\n@include max-screen() {\n .back-to-top {\n display: none !important;\n }\n}\n\n\n// WEBPACK FOOTER //\n// ./css/_partial/_back-to-top.scss","// ==============================\n// Archive\n// =============================\n\n.not-found {\n text-align: center;\n\n .error-emoji {\n color: #363636;\n font-size: 3rem;\n }\n\n .error-text {\n color: #797979;\n font-size: 1.25rem;\n }\n\n .error-link {\n margin-top: 2rem;\n\n a {\n color: $theme-color;\n }\n }\n}\n\n\n// WEBPACK FOOTER //\n// ./css/_partial/_404.scss"],"sourceRoot":""} \ No newline at end of file diff --git a/themes/even/static/dist/even.min.js b/themes/even/static/dist/even.min.js deleted file mode 100644 index e687971..0000000 --- a/themes/even/static/dist/even.min.js +++ /dev/null @@ -1,2 +0,0 @@ -!function(e){var n={};function t(o){if(n[o])return n[o].exports;var a=n[o]={i:o,l:!1,exports:{}};return e[o].call(a.exports,a,a.exports,t),a.l=!0,a.exports}t.m=e,t.c=n,t.d=function(e,n,o){t.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:o})},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,n){return Object.prototype.hasOwnProperty.call(e,n)},t.p="",t(t.s=0)}([function(e,n,t){"use strict";var o=t(1);t(2),$(document).ready(function(){o.Even.backToTop(),o.Even.mobileNavbar(),o.Even.toc(),o.Even.fancybox()}),o.Even.flowchart(),o.Even.sequence(),hljs.initHighlighting(),o.Even.highlight()},function(e,n,t){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var o={backToTop:function(){var e=$("#back-to-top");$(window).scroll(function(){$(window).scrollTop()>100?e.fadeIn(1e3):e.fadeOut(1e3)}),e.click(function(){$("body,html").animate({scrollTop:0})})},mobileNavbar:function(){var e=$("#mobile-navbar"),n=$(".mobile-navbar-icon"),t=new Slideout({panel:document.getElementById("mobile-panel"),menu:document.getElementById("mobile-menu"),padding:180,tolerance:70});t.disableTouch(),n.click(function(){t.toggle()}),t.on("beforeopen",function(){e.addClass("fixed-open"),n.addClass("icon-click").removeClass("icon-out")}),t.on("beforeclose",function(){e.removeClass("fixed-open"),n.addClass("icon-out").removeClass("icon-click")}),$("#mobile-panel").on("touchend",function(){t.isOpen()&&n.click()})},_initToc:function(){var e=$(".post-toc"),n=$(".post-footer");if(e.length){var t=e.offset().top-20,o=n.offset().top-e.height()-20,a={start:{position:"absolute",top:t},process:{position:"fixed",top:20},end:{position:"absolute",top:o}};$(window).scroll(function(){var n=$(window).scrollTop();no?e.css(a.end):e.css(a.process)})}var r=$(".toc-link"),c=$(".headerlink"),i=$(".post-toc-content li"),l=$.map(c,function(e){return $(e).offset().top}),s=$.map(l,function(e){return e-30});$(window).scroll(function(){var e=$(window).scrollTop(),n=function(e,n){for(var t=0;te[t]&&n<=e[t+1])return t;return n>e[e.length-1]?e.length-1:-1}(s,e);if($(r).removeClass("active"),$(i).removeClass("has-active"),-1!==n){$(r[n]).addClass("active");for(var t=r[n].parentNode;"NAV"!==t.tagName;)$(t).addClass("has-active"),t=t.parentNode.parentNode}})},fancybox:function(){$.fancybox&&($(".post-content").each(function(){$(this).find("img").each(function(){$(this).wrap('')})}),$(".fancybox").fancybox({selector:".fancybox",protect:!0}))},highlight:function(){for(var e=document.querySelectorAll("pre code"),n=0;n'+(i+1)+"
";for(var l="",s=0;s'+a[s]+"";t.className+=" highlight";var d=document.createElement("figure");d.className=t.className,d.innerHTML='
'+c+'
'+l+"
",o.parentElement.replaceChild(d,o)}},toc:function(){var e=document.getElementById("post-toc");if(null!==e){var n=document.getElementById("TableOfContents");null===n?e.parentNode.removeChild(e):(this._refactorToc(n),this._linkToc(),this._initToc())}},_refactorToc:function(e){for(var n=e.children[0],t=n,o=void 0;1===t.children.length&&"UL"===(o=t.children[0].children[0]).tagName;)t=o;t!==n&&e.replaceChild(t,n)},_linkToc:function(){for(var e=document.querySelectorAll("#TableOfContents a:first-child"),n=0;nh"+t),a=0;a'+r.innerHTML}},flowchart:function(){if(window.flowchart)for(var e=document.querySelectorAll("pre code.language-flowchart"),n=0;n 100) {\n $backToTop.fadeIn(1000)\n } else {\n $backToTop.fadeOut(1000)\n }\n })\n\n $backToTop.click(function () {\n $('body,html').animate({ scrollTop: 0 })\n })\n}\n\nEven.mobileNavbar = function () {\n const $mobileNav = $('#mobile-navbar')\n const $mobileNavIcon = $('.mobile-navbar-icon')\n const slideout = new Slideout({\n 'panel': document.getElementById('mobile-panel'),\n 'menu': document.getElementById('mobile-menu'),\n 'padding': 180,\n 'tolerance': 70\n })\n slideout.disableTouch()\n\n $mobileNavIcon.click(function () {\n slideout.toggle()\n })\n\n slideout.on('beforeopen', function () {\n $mobileNav.addClass('fixed-open')\n $mobileNavIcon.addClass('icon-click').removeClass('icon-out')\n })\n\n slideout.on('beforeclose', function () {\n $mobileNav.removeClass('fixed-open')\n $mobileNavIcon.addClass('icon-out').removeClass('icon-click')\n })\n\n $('#mobile-panel').on('touchend', function () {\n slideout.isOpen() && $mobileNavIcon.click()\n })\n}\n\nEven._initToc = function () {\n const SPACING = 20\n const $toc = $('.post-toc')\n const $footer = $('.post-footer')\n\n if ($toc.length) {\n const minScrollTop = $toc.offset().top - SPACING\n const maxScrollTop = $footer.offset().top - $toc.height() - SPACING\n\n const tocState = {\n start: {\n 'position': 'absolute',\n 'top': minScrollTop\n },\n process: {\n 'position': 'fixed',\n 'top': SPACING\n },\n end: {\n 'position': 'absolute',\n 'top': maxScrollTop\n }\n }\n\n $(window).scroll(function () {\n const scrollTop = $(window).scrollTop()\n\n if (scrollTop < minScrollTop) {\n $toc.css(tocState.start)\n } else if (scrollTop > maxScrollTop) {\n $toc.css(tocState.end)\n } else {\n $toc.css(tocState.process)\n }\n })\n }\n\n const HEADERFIX = 30\n const $toclink = $('.toc-link')\n const $headerlink = $('.headerlink')\n const $tocLinkLis = $('.post-toc-content li')\n\n const headerlinkTop = $.map($headerlink, function (link) {\n return $(link).offset().top\n })\n\n const headerLinksOffsetForSearch = $.map(headerlinkTop, function (offset) {\n return offset - HEADERFIX\n })\n\n const searchActiveTocIndex = function (array, target) {\n for (let i = 0; i < array.length - 1; i++) {\n if (target > array[i] && target <= array[i + 1]) return i\n }\n if (target > array[array.length - 1]) return array.length - 1\n return -1\n }\n\n $(window).scroll(function () {\n const scrollTop = $(window).scrollTop()\n const activeTocIndex = searchActiveTocIndex(headerLinksOffsetForSearch, scrollTop)\n\n $($toclink).removeClass('active')\n $($tocLinkLis).removeClass('has-active')\n\n if (activeTocIndex !== -1) {\n $($toclink[activeTocIndex]).addClass('active')\n let ancestor = $toclink[activeTocIndex].parentNode\n while (ancestor.tagName !== 'NAV') {\n $(ancestor).addClass('has-active')\n ancestor = ancestor.parentNode.parentNode\n }\n }\n })\n}\n\nEven.fancybox = function () {\n if ($.fancybox) {\n $('.post-content').each(function () {\n $(this).find('img').each(function () {\n $(this).wrap(``)\n })\n })\n\n $('.fancybox').fancybox({\n selector: '.fancybox',\n protect: true\n })\n }\n}\n\nEven.highlight = function () {\n const blocks = document.querySelectorAll('pre code')\n for (let i = 0; i < blocks.length; i++) {\n const block = blocks[i]\n const rootElement = block.parentElement\n const lineCodes = block.innerHTML.split(/\\n/)\n if (lineCodes[lineCodes.length - 1] === '') lineCodes.pop()\n const lineLength = lineCodes.length\n\n let codeLineHtml = ''\n for (let i = 0; i < lineLength; i++) {\n codeLineHtml += `
${i + 1}
`\n }\n\n let codeHtml = ''\n for (let i = 0; i < lineLength; i++) {\n codeHtml += `
${lineCodes[i]}
`\n }\n\n block.className += ' highlight'\n const figure = document.createElement('figure')\n figure.className = block.className\n figure.innerHTML = `
${codeLineHtml}
${codeHtml}
`\n\n rootElement.parentElement.replaceChild(figure, rootElement)\n }\n}\n\nEven.toc = function () {\n const tocContainer = document.getElementById('post-toc')\n if (tocContainer !== null) {\n const toc = document.getElementById('TableOfContents')\n if (toc === null) {\n // toc = true, but there are no headings\n tocContainer.parentNode.removeChild(tocContainer)\n } else {\n this._refactorToc(toc)\n this._linkToc()\n this._initToc()\n }\n }\n}\n\nEven._refactorToc = function (toc) {\n // when headings do not start with `h1`\n const oldTocList = toc.children[0]\n let newTocList = oldTocList\n let temp\n while (newTocList.children.length === 1 && (temp = newTocList.children[0].children[0]).tagName === 'UL') newTocList = temp\n\n if (newTocList !== oldTocList) toc.replaceChild(newTocList, oldTocList)\n}\n\nEven._linkToc = function () {\n const links = document.querySelectorAll('#TableOfContents a:first-child')\n for (let i = 0; i < links.length; i++) links[i].className += ' toc-link'\n\n for (let num = 1; num <= 6; num++) {\n const headers = document.querySelectorAll('.post-content>h' + num)\n for (let i = 0; i < headers.length; i++) {\n const header = headers[i]\n header.innerHTML = `${header.innerHTML}`\n }\n }\n}\n\nEven.flowchart = function () {\n if (!window.flowchart) return\n\n const blocks = document.querySelectorAll('pre code.language-flowchart')\n for (let i = 0; i < blocks.length; i++) {\n const block = blocks[i]\n const rootElement = block.parentElement\n\n const container = document.createElement('div')\n const id = `js-flowchart-diagrams-${i}`\n container.id = id\n container.className = 'align-center'\n rootElement.parentElement.replaceChild(container, rootElement)\n\n const diagram = flowchart.parse(block.childNodes[0].nodeValue)\n diagram.drawSVG(id, window.flowchartDiagramsOptions ? window.flowchartDiagramsOptions : {})\n }\n}\n\nEven.sequence = function () {\n if (!window.Diagram) return\n\n const blocks = document.querySelectorAll('pre code.language-sequence')\n for (let i = 0; i < blocks.length; i++) {\n const block = blocks[i]\n const rootElement = block.parentElement\n\n const container = document.createElement('div')\n const id = `js-sequence-diagrams-${i}`\n container.id = id\n container.className = 'align-center'\n rootElement.parentElement.replaceChild(container, rootElement)\n\n const diagram = Diagram.parse(block.childNodes[0].nodeValue)\n diagram.drawSVG(id, window.sequenceDiagramsOptions ? window.sequenceDiagramsOptions : {theme: 'simple'})\n }\n}\n\nexport {Even}\n\n\n\n// WEBPACK FOOTER //\n// ./js/even.js"],"sourceRoot":""} \ No newline at end of file diff --git a/themes/even/static/dist/fonts/chancery/apple-chancery-webfont.eot b/themes/even/static/dist/fonts/chancery/apple-chancery-webfont.eot deleted file mode 100644 index 39c3936..0000000 Binary files a/themes/even/static/dist/fonts/chancery/apple-chancery-webfont.eot and /dev/null differ diff --git a/themes/even/static/dist/fonts/chancery/apple-chancery-webfont.svg b/themes/even/static/dist/fonts/chancery/apple-chancery-webfont.svg deleted file mode 100644 index 2b18b6a..0000000 --- a/themes/even/static/dist/fonts/chancery/apple-chancery-webfont.svg +++ /dev/null @@ -1,228 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/themes/even/static/dist/fonts/chancery/apple-chancery-webfont.ttf b/themes/even/static/dist/fonts/chancery/apple-chancery-webfont.ttf deleted file mode 100644 index 8238aa4..0000000 Binary files a/themes/even/static/dist/fonts/chancery/apple-chancery-webfont.ttf and /dev/null differ diff --git a/themes/even/static/dist/fonts/chancery/apple-chancery-webfont.woff b/themes/even/static/dist/fonts/chancery/apple-chancery-webfont.woff deleted file mode 100644 index e476776..0000000 Binary files a/themes/even/static/dist/fonts/chancery/apple-chancery-webfont.woff and /dev/null differ diff --git a/themes/even/static/dist/fonts/chancery/apple-chancery-webfont.woff2 b/themes/even/static/dist/fonts/chancery/apple-chancery-webfont.woff2 deleted file mode 100644 index 922dfb3..0000000 Binary files a/themes/even/static/dist/fonts/chancery/apple-chancery-webfont.woff2 and /dev/null differ diff --git a/themes/even/static/dist/fonts/iconfont/iconfont.eot b/themes/even/static/dist/fonts/iconfont/iconfont.eot deleted file mode 100644 index 912bca3..0000000 Binary files a/themes/even/static/dist/fonts/iconfont/iconfont.eot and /dev/null differ diff --git a/themes/even/static/dist/fonts/iconfont/iconfont.svg b/themes/even/static/dist/fonts/iconfont/iconfont.svg deleted file mode 100644 index a13a862..0000000 --- a/themes/even/static/dist/fonts/iconfont/iconfont.svg +++ /dev/null @@ -1,93 +0,0 @@ - - - - - -Created by iconfont - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/themes/even/static/dist/fonts/iconfont/iconfont.ttf b/themes/even/static/dist/fonts/iconfont/iconfont.ttf deleted file mode 100644 index f6765c5..0000000 Binary files a/themes/even/static/dist/fonts/iconfont/iconfont.ttf and /dev/null differ diff --git a/themes/even/static/dist/fonts/iconfont/iconfont.woff b/themes/even/static/dist/fonts/iconfont/iconfont.woff deleted file mode 100644 index 526da66..0000000 Binary files a/themes/even/static/dist/fonts/iconfont/iconfont.woff and /dev/null differ diff --git a/themes/even/static/favicon-16x16.png b/themes/even/static/favicon-16x16.png deleted file mode 100644 index 74c7dab..0000000 Binary files a/themes/even/static/favicon-16x16.png and /dev/null differ diff --git a/themes/even/static/favicon-32x32.png b/themes/even/static/favicon-32x32.png deleted file mode 100644 index c418957..0000000 Binary files a/themes/even/static/favicon-32x32.png and /dev/null differ diff --git a/themes/even/static/favicon.ico b/themes/even/static/favicon.ico deleted file mode 100644 index 08da9cd..0000000 Binary files a/themes/even/static/favicon.ico and /dev/null differ diff --git a/themes/even/static/img/reward/alipay.png b/themes/even/static/img/reward/alipay.png deleted file mode 100644 index b8a7b4f..0000000 Binary files a/themes/even/static/img/reward/alipay.png and /dev/null differ diff --git a/themes/even/static/img/reward/wechat.png b/themes/even/static/img/reward/wechat.png deleted file mode 100644 index a80527a..0000000 Binary files a/themes/even/static/img/reward/wechat.png and /dev/null differ diff --git a/themes/even/static/img/spinner.svg b/themes/even/static/img/spinner.svg deleted file mode 100644 index cbd8855..0000000 --- a/themes/even/static/img/spinner.svg +++ /dev/null @@ -1,49 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/themes/even/static/lib/fancybox/jquery.fancybox-3.1.20.min.css b/themes/even/static/lib/fancybox/jquery.fancybox-3.1.20.min.css deleted file mode 100644 index e88fae3..0000000 --- a/themes/even/static/lib/fancybox/jquery.fancybox-3.1.20.min.css +++ /dev/null @@ -1 +0,0 @@ -@charset "UTF-8";.fancybox-enabled{overflow:hidden}.fancybox-enabled body{overflow:visible;height:100%}.fancybox-is-hidden{position:absolute;top:-9999px;left:-9999px;visibility:hidden}.fancybox-container{position:fixed;top:0;left:0;width:100%;height:100%;z-index:99993;-webkit-tap-highlight-color:transparent;-webkit-backface-visibility:hidden;backface-visibility:hidden;-webkit-transform:translateZ(0);transform:translateZ(0)}.fancybox-container~.fancybox-container{z-index:99992}.fancybox-bg,.fancybox-inner,.fancybox-outer,.fancybox-stage{position:absolute;top:0;right:0;bottom:0;left:0}.fancybox-outer{overflow-y:auto;-webkit-overflow-scrolling:touch}.fancybox-bg{background:#1e1e1e;opacity:0;transition-duration:inherit;transition-property:opacity;transition-timing-function:cubic-bezier(.47,0,.74,.71)}.fancybox-is-open .fancybox-bg{opacity:.87;transition-timing-function:cubic-bezier(.22,.61,.36,1)}.fancybox-caption-wrap,.fancybox-infobar,.fancybox-toolbar{position:absolute;direction:ltr;z-index:99997;opacity:0;visibility:hidden;transition:opacity .25s,visibility 0s linear .25s;box-sizing:border-box}.fancybox-show-caption .fancybox-caption-wrap,.fancybox-show-infobar .fancybox-infobar,.fancybox-show-toolbar .fancybox-toolbar{opacity:1;visibility:visible;transition:opacity .25s,visibility 0s}.fancybox-infobar{top:0;left:50%;margin-left:-79px}.fancybox-infobar__body{display:inline-block;width:70px;line-height:44px;font-size:13px;font-family:Helvetica Neue,Helvetica,Arial,sans-serif;text-align:center;color:#ddd;background-color:rgba(30,30,30,.7);pointer-events:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-touch-callout:none;-webkit-tap-highlight-color:transparent;-webkit-font-smoothing:subpixel-antialiased}.fancybox-toolbar{top:0;right:0}.fancybox-stage{overflow:hidden;direction:ltr;z-index:99994;-webkit-transform:translateZ(0)}.fancybox-slide{position:absolute;top:0;left:0;width:100%;height:100%;margin:0;padding:0;overflow:auto;outline:none;white-space:normal;box-sizing:border-box;text-align:center;z-index:99994;-webkit-overflow-scrolling:touch;display:none;-webkit-backface-visibility:hidden;backface-visibility:hidden;transition-property:opacity,-webkit-transform;transition-property:transform,opacity;transition-property:transform,opacity,-webkit-transform;-webkit-transform-style:preserve-3d;transform-style:preserve-3d}.fancybox-slide:before{content:"";display:inline-block;vertical-align:middle;height:100%;width:0}.fancybox-is-sliding .fancybox-slide,.fancybox-slide--current,.fancybox-slide--next,.fancybox-slide--previous{display:block}.fancybox-slide--image{overflow:visible}.fancybox-slide--image:before{display:none}.fancybox-slide--video .fancybox-content,.fancybox-slide--video iframe{background:#000}.fancybox-slide--map .fancybox-content,.fancybox-slide--map iframe{background:#e5e3df}.fancybox-slide--next{z-index:99995}.fancybox-slide>*{display:inline-block;position:relative;padding:24px;margin:44px 0;border-width:0;vertical-align:middle;text-align:left;background-color:#fff;overflow:auto;box-sizing:border-box}.fancybox-slide .fancybox-image-wrap{position:absolute;top:0;left:0;margin:0;padding:0;border:0;z-index:99995;background:transparent;cursor:default;overflow:visible;-webkit-transform-origin:top left;transform-origin:top left;background-size:100% 100%;background-repeat:no-repeat;-webkit-backface-visibility:hidden;backface-visibility:hidden}.fancybox-can-zoomOut .fancybox-image-wrap{cursor:zoom-out}.fancybox-can-zoomIn .fancybox-image-wrap{cursor:zoom-in}.fancybox-can-drag .fancybox-image-wrap{cursor:-webkit-grab;cursor:grab}.fancybox-is-dragging .fancybox-image-wrap{cursor:-webkit-grabbing;cursor:grabbing}.fancybox-image,.fancybox-spaceball{position:absolute;top:0;left:0;width:100%;height:100%;margin:0;padding:0;border:0;max-width:none;max-height:none}.fancybox-spaceball{z-index:1}.fancybox-slide--iframe .fancybox-content{padding:0;width:80%;height:80%;max-width:calc(100% - 100px);max-height:calc(100% - 88px);overflow:visible;background:#fff}.fancybox-iframe{display:block;padding:0;border:0;height:100%}.fancybox-error,.fancybox-iframe{margin:0;width:100%;background:#fff}.fancybox-error{padding:40px;max-width:380px;cursor:default}.fancybox-error p{margin:0;padding:0;color:#444;font:16px/20px Helvetica Neue,Helvetica,Arial,sans-serif}.fancybox-close-small{position:absolute;top:0;right:0;width:44px;height:44px;padding:0;margin:0;border:0;border-radius:0;outline:none;background:transparent;z-index:10;cursor:pointer}.fancybox-close-small:after{content:"×";position:absolute;top:5px;right:5px;width:30px;height:30px;font:20px/30px Arial,Helvetica Neue,Helvetica,sans-serif;color:#888;font-weight:300;text-align:center;border-radius:50%;border-width:0;background:#fff;transition:background .25s;box-sizing:border-box;z-index:2}.fancybox-close-small:focus:after{outline:1px dotted #888}.fancybox-close-small:hover:after{color:#555;background:#eee}.fancybox-slide--iframe .fancybox-close-small{top:0;right:-44px}.fancybox-slide--iframe .fancybox-close-small:after{background:transparent;font-size:35px;color:#aaa}.fancybox-slide--iframe .fancybox-close-small:hover:after{color:#fff}.fancybox-caption-wrap{bottom:0;left:0;right:0;padding:60px 30px 0;background:linear-gradient(180deg,transparent 0,rgba(0,0,0,.1) 20%,rgba(0,0,0,.2) 40%,rgba(0,0,0,.6) 80%,rgba(0,0,0,.8));pointer-events:none}.fancybox-caption{padding:30px 0;border-top:1px solid hsla(0,0%,100%,.4);font-size:14px;font-family:Helvetica Neue,Helvetica,Arial,sans-serif;color:#fff;line-height:20px;-webkit-text-size-adjust:none}.fancybox-caption a,.fancybox-caption button,.fancybox-caption select{pointer-events:all}.fancybox-caption a{color:#fff;text-decoration:underline}.fancybox-button{display:inline-block;position:relative;margin:0;padding:0;border:0;width:44px;height:44px;line-height:44px;text-align:center;background:transparent;color:#ddd;border-radius:0;cursor:pointer;vertical-align:top;outline:none}.fancybox-button[disabled]{cursor:default;pointer-events:none}.fancybox-button,.fancybox-infobar__body{background:rgba(30,30,30,.6)}.fancybox-button:hover:not([disabled]){color:#fff;background:rgba(0,0,0,.8)}.fancybox-button:after,.fancybox-button:before{content:"";pointer-events:none;position:absolute;background-color:currentColor;color:currentColor;opacity:.9;box-sizing:border-box;display:inline-block}.fancybox-button[disabled]:after,.fancybox-button[disabled]:before{opacity:.3}.fancybox-button--left:after,.fancybox-button--right:after{top:18px;width:6px;height:6px;background:transparent;border-top:2px solid currentColor;border-right:2px solid currentColor}.fancybox-button--left:after{left:20px;-webkit-transform:rotate(-135deg);transform:rotate(-135deg)}.fancybox-button--right:after{right:20px;-webkit-transform:rotate(45deg);transform:rotate(45deg)}.fancybox-button--left{border-bottom-left-radius:5px}.fancybox-button--right{border-bottom-right-radius:5px}.fancybox-button--close:after,.fancybox-button--close:before{content:"";display:inline-block;position:absolute;height:2px;width:16px;top:calc(50% - 1px);left:calc(50% - 8px)}.fancybox-button--close:before{-webkit-transform:rotate(45deg);transform:rotate(45deg)}.fancybox-button--close:after{-webkit-transform:rotate(-45deg);transform:rotate(-45deg)}.fancybox-arrow{position:absolute;top:50%;margin:-50px 0 0;height:100px;width:54px;padding:0;border:0;outline:none;background:none;cursor:pointer;z-index:99995;opacity:0;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;transition:opacity .25s}.fancybox-arrow:after{content:"";position:absolute;top:28px;width:44px;height:44px;background-color:rgba(30,30,30,.8);background-image:url(data:image/svg+xml;base64,PHN2ZyBmaWxsPSIjRkZGRkZGIiBoZWlnaHQ9IjQ4IiB2aWV3Qm94PSIwIDAgMjQgMjQiIHdpZHRoPSI0OCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4gICAgPHBhdGggZD0iTTAgMGgyNHYyNEgweiIgZmlsbD0ibm9uZSIvPiAgICA8cGF0aCBkPSJNMTIgNGwtMS40MSAxLjQxTDE2LjE3IDExSDR2MmgxMi4xN2wtNS41OCA1LjU5TDEyIDIwbDgtOHoiLz48L3N2Zz4=);background-repeat:no-repeat;background-position:50%;background-size:24px 24px}.fancybox-arrow--right{right:0}.fancybox-arrow--left{left:0;-webkit-transform:scaleX(-1);transform:scaleX(-1)}.fancybox-arrow--left:after,.fancybox-arrow--right:after{left:0}.fancybox-show-nav .fancybox-arrow{opacity:.6}.fancybox-show-nav .fancybox-arrow[disabled]{opacity:.3}.fancybox-loading{border:6px solid hsla(0,0%,39%,.4);border-top:6px solid hsla(0,0%,100%,.6);border-radius:100%;height:50px;width:50px;-webkit-animation:a .8s infinite linear;animation:a .8s infinite linear;background:transparent;position:absolute;top:50%;left:50%;margin-top:-25px;margin-left:-25px;z-index:99999}@-webkit-keyframes a{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(359deg);transform:rotate(359deg)}}@keyframes a{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(359deg);transform:rotate(359deg)}}.fancybox-animated{transition-timing-function:cubic-bezier(0,0,.25,1)}.fancybox-fx-slide.fancybox-slide--previous{-webkit-transform:translate3d(-100%,0,0);transform:translate3d(-100%,0,0);opacity:0}.fancybox-fx-slide.fancybox-slide--next{-webkit-transform:translate3d(100%,0,0);transform:translate3d(100%,0,0);opacity:0}.fancybox-fx-slide.fancybox-slide--current{-webkit-transform:translateZ(0);transform:translateZ(0);opacity:1}.fancybox-fx-fade.fancybox-slide--next,.fancybox-fx-fade.fancybox-slide--previous{opacity:0;transition-timing-function:cubic-bezier(.19,1,.22,1)}.fancybox-fx-fade.fancybox-slide--current{opacity:1}.fancybox-fx-zoom-in-out.fancybox-slide--previous{-webkit-transform:scale3d(1.5,1.5,1.5);transform:scale3d(1.5,1.5,1.5);opacity:0}.fancybox-fx-zoom-in-out.fancybox-slide--next{-webkit-transform:scale3d(.5,.5,.5);transform:scale3d(.5,.5,.5);opacity:0}.fancybox-fx-zoom-in-out.fancybox-slide--current{-webkit-transform:scaleX(1);transform:scaleX(1);opacity:1}.fancybox-fx-rotate.fancybox-slide--previous{-webkit-transform:rotate(-1turn);transform:rotate(-1turn);opacity:0}.fancybox-fx-rotate.fancybox-slide--next{-webkit-transform:rotate(1turn);transform:rotate(1turn);opacity:0}.fancybox-fx-rotate.fancybox-slide--current{-webkit-transform:rotate(0deg);transform:rotate(0deg);opacity:1}.fancybox-fx-circular.fancybox-slide--previous{-webkit-transform:scale3d(0,0,0) translate3d(-100%,0,0);transform:scale3d(0,0,0) translate3d(-100%,0,0);opacity:0}.fancybox-fx-circular.fancybox-slide--next{-webkit-transform:scale3d(0,0,0) translate3d(100%,0,0);transform:scale3d(0,0,0) translate3d(100%,0,0);opacity:0}.fancybox-fx-circular.fancybox-slide--current{-webkit-transform:scaleX(1) translateZ(0);transform:scaleX(1) translateZ(0);opacity:1}.fancybox-fx-tube.fancybox-slide--previous{-webkit-transform:translate3d(-100%,0,0) scale(.1) skew(-10deg);transform:translate3d(-100%,0,0) scale(.1) skew(-10deg)}.fancybox-fx-tube.fancybox-slide--next{-webkit-transform:translate3d(100%,0,0) scale(.1) skew(10deg);transform:translate3d(100%,0,0) scale(.1) skew(10deg)}.fancybox-fx-tube.fancybox-slide--current{-webkit-transform:translateZ(0) scale(1);transform:translateZ(0) scale(1)}@media (max-width:800px){.fancybox-infobar{left:0;margin-left:0}.fancybox-button--left,.fancybox-button--right{display:none!important}.fancybox-caption{padding:20px 0;margin:0}}.fancybox-button--fullscreen:before{width:15px;height:11px;left:calc(50% - 7px);top:calc(50% - 6px);border:2px solid;background:none}.fancybox-button--pause:before,.fancybox-button--play:before{top:calc(50% - 6px);left:calc(50% - 4px);background:transparent}.fancybox-button--play:before{width:0;height:0;border-top:6px inset transparent;border-bottom:6px inset transparent;border-left:10px solid;border-radius:1px}.fancybox-button--pause:before{width:7px;height:11px;border-style:solid;border-width:0 2px}.fancybox-button--thumbs,.fancybox-thumbs{display:none}@media (min-width:800px){.fancybox-button--thumbs{display:inline-block}.fancybox-button--thumbs span{font-size:23px}.fancybox-button--thumbs:before{width:3px;height:3px;top:calc(50% - 2px);left:calc(50% - 2px);box-shadow:0 -4px 0,-4px -4px 0,4px -4px 0,inset 0 0 0 32px,-4px 0 0,4px 0 0,0 4px 0,-4px 4px 0,4px 4px 0}.fancybox-thumbs{position:absolute;top:0;right:0;bottom:0;left:auto;width:220px;margin:0;padding:5px 5px 0 0;background:#fff;word-break:normal;-webkit-tap-highlight-color:transparent;-webkit-overflow-scrolling:touch;-ms-overflow-style:-ms-autohiding-scrollbar;box-sizing:border-box;z-index:99995}.fancybox-show-thumbs .fancybox-thumbs{display:block}.fancybox-show-thumbs .fancybox-inner{right:220px}.fancybox-thumbs>ul{list-style:none;position:absolute;position:relative;width:100%;height:100%;margin:0;padding:0;overflow-x:hidden;overflow-y:auto;font-size:0}.fancybox-thumbs>ul>li{float:left;overflow:hidden;max-width:50%;padding:0;margin:0;width:105px;height:75px;position:relative;cursor:pointer;outline:none;border:5px solid transparent;border-top-width:0;border-right-width:0;-webkit-tap-highlight-color:transparent;-webkit-backface-visibility:hidden;backface-visibility:hidden;box-sizing:border-box}li.fancybox-thumbs-loading{background:rgba(0,0,0,.1)}.fancybox-thumbs>ul>li>img{position:absolute;top:0;left:0;min-width:100%;min-height:100%;max-width:none;max-height:none;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.fancybox-thumbs>ul>li:before{content:"";position:absolute;top:0;right:0;bottom:0;left:0;border-radius:2px;border:4px solid #4ea7f9;z-index:99991;opacity:0;transition:all .2s cubic-bezier(.25,.46,.45,.94)}.fancybox-thumbs>ul>li.fancybox-thumbs-active:before{opacity:1}} \ No newline at end of file diff --git a/themes/even/static/lib/fancybox/jquery.fancybox-3.1.20.min.js b/themes/even/static/lib/fancybox/jquery.fancybox-3.1.20.min.js deleted file mode 100644 index e5e20f0..0000000 --- a/themes/even/static/lib/fancybox/jquery.fancybox-3.1.20.min.js +++ /dev/null @@ -1,12 +0,0 @@ -// ================================================== -// fancyBox v3.1.20 -// -// Licensed GPLv3 for open source use -// or fancyBox Commercial License for commercial use -// -// http://fancyapps.com/fancybox/ -// Copyright 2017 fancyApps -// -// ================================================== -!function(t,e,n,o){"use strict";function i(t){var e=t.currentTarget,o=t.data?t.data.options:{},i=t.data?t.data.items:[],a=n(e).attr("data-fancybox")||"",s=0;t.preventDefault(),t.stopPropagation(),a?(i=i.length?i.filter('[data-fancybox="'+a+'"]'):n('[data-fancybox="'+a+'"]'),s=i.index(e),s<0&&(s=0)):i=[e],n.fancybox.open(i,o,s)}if(n){if(n.fn.fancybox)return void n.error("fancyBox already initialized");var a={loop:!1,margin:[44,0],gutter:50,keyboard:!0,arrows:!0,infobar:!1,toolbar:!0,buttons:["slideShow","fullScreen","thumbs","close"],idleTime:4,smallBtn:"auto",protect:!1,modal:!1,image:{preload:"auto"},ajax:{settings:{data:{fancybox:!0}}},iframe:{tpl:'',preload:!0,css:{},attr:{scrolling:"auto"}},animationEffect:"zoom",animationDuration:366,zoomOpacity:"auto",transitionEffect:"fade",transitionDuration:366,slideClass:"",baseClass:"",baseTpl:'',spinnerTpl:'
',errorTpl:'

{{ERROR}}

',btnTpl:{slideShow:'',fullScreen:'',thumbs:'',close:'',smallBtn:''},parentEl:"body",autoFocus:!0,backFocus:!0,trapFocus:!0,fullScreen:{autoStart:!1},touch:{vertical:!0,momentum:!0},hash:null,media:{},slideShow:{autoStart:!1,speed:4e3},thumbs:{autoStart:!1,hideOnClose:!0},onInit:n.noop,beforeLoad:n.noop,afterLoad:n.noop,beforeShow:n.noop,afterShow:n.noop,beforeClose:n.noop,afterClose:n.noop,onActivate:n.noop,onDeactivate:n.noop,clickContent:function(t,e){return"image"===t.type&&"zoom"},clickSlide:"close",clickOutside:"close",dblclickContent:!1,dblclickSlide:!1,dblclickOutside:!1,mobile:{clickContent:function(t,e){return"image"===t.type&&"toggleControls"},clickSlide:function(t,e){return"image"===t.type?"toggleControls":"close"},dblclickContent:function(t,e){return"image"===t.type&&"zoom"},dblclickSlide:function(t,e){return"image"===t.type&&"zoom"}},lang:"en",i18n:{en:{CLOSE:"Close",NEXT:"Next",PREV:"Previous",ERROR:"The requested content cannot be loaded.
Please try again later.",PLAY_START:"Start slideshow",PLAY_STOP:"Pause slideshow",FULL_SCREEN:"Full screen",THUMBS:"Thumbnails"},de:{CLOSE:"Schliessen",NEXT:"Weiter",PREV:"Zurück",ERROR:"Die angeforderten Daten konnten nicht geladen werden.
Bitte versuchen Sie es später nochmal.",PLAY_START:"Diaschau starten",PLAY_STOP:"Diaschau beenden",FULL_SCREEN:"Vollbild",THUMBS:"Vorschaubilder"}}},s=n(t),r=n(e),c=0,l=function(t){return t&&t.hasOwnProperty&&t instanceof n},u=function(){return t.requestAnimationFrame||t.webkitRequestAnimationFrame||t.mozRequestAnimationFrame||t.oRequestAnimationFrame||function(e){return t.setTimeout(e,1e3/60)}}(),d=function(){var t,n=e.createElement("fakeelement"),i={transition:"transitionend",OTransition:"oTransitionEnd",MozTransition:"transitionend",WebkitTransition:"webkitTransitionEnd"};for(t in i)if(n.style[t]!==o)return i[t]}(),f=function(t){return t&&t.length&&t[0].offsetHeight},h=function(t,o,i){var s=this;s.opts=n.extend(!0,{index:i},a,o||{}),o&&n.isArray(o.buttons)&&(s.opts.buttons=o.buttons),s.id=s.opts.id||++c,s.group=[],s.currIndex=parseInt(s.opts.index,10)||0,s.prevIndex=null,s.prevPos=null,s.currPos=0,s.firstRun=null,s.createGroup(t),s.group.length&&(s.$lastFocus=n(e.activeElement).blur(),s.slides={},s.init(t))};n.extend(h.prototype,{init:function(){var t,e,o,i=this,a=i.group[i.currIndex].opts;i.scrollTop=r.scrollTop(),i.scrollLeft=r.scrollLeft(),n.fancybox.getInstance()||n.fancybox.isMobile||"hidden"===n("body").css("overflow")||(t=n("body").width(),n("html").addClass("fancybox-enabled"),t=n("body").width()-t,t>1&&n("head").append('")),o="",n.each(a.buttons,function(t,e){o+=a.btnTpl[e]||""}),e=n(i.translate(i,a.baseTpl.replace("{{BUTTONS}}",o))).addClass("fancybox-is-hidden").attr("id","fancybox-container-"+i.id).addClass(a.baseClass).data("FancyBox",i).prependTo(a.parentEl),i.$refs={container:e},["bg","inner","infobar","toolbar","stage","caption"].forEach(function(t){i.$refs[t]=e.find(".fancybox-"+t)}),(!a.arrows||i.group.length<2)&&e.find(".fancybox-navigation").remove(),a.infobar||i.$refs.infobar.remove(),a.toolbar||i.$refs.toolbar.remove(),i.trigger("onInit"),i.activate(),i.jumpTo(i.currIndex)},translate:function(t,e){var n=t.opts.i18n[t.opts.lang];return e.replace(/\{\{(\w+)\}\}/g,function(t,e){var i=n[e];return i===o?t:i})},createGroup:function(t){var e=this,i=n.makeArray(t);n.each(i,function(t,i){var a,s,r,c,l={},u={},d=[];n.isPlainObject(i)?(l=i,u=i.opts||i):"object"===n.type(i)&&n(i).length?(a=n(i),d=a.data(),u="options"in d?d.options:{},u="object"===n.type(u)?u:{},l.src="src"in d?d.src:u.src||a.attr("href"),["width","height","thumb","type","filter"].forEach(function(t){t in d&&(u[t]=d[t])}),"srcset"in d&&(u.image={srcset:d.srcset}),u.$orig=a,l.type||l.src||(l.type="inline",l.src=i)):l={type:"html",src:i+""},l.opts=n.extend(!0,{},e.opts,u),n.fancybox.isMobile&&(l.opts=n.extend(!0,{},l.opts,l.opts.mobile)),s=l.type||l.opts.type,r=l.src||"",!s&&r&&(r.match(/(^data:image\/[a-z0-9+\/=]*,)|(\.(jp(e|g|eg)|gif|png|bmp|webp|svg|ico)((\?|#).*)?$)/i)?s="image":r.match(/\.(pdf)((\?|#).*)?$/i)?s="pdf":"#"===r.charAt(0)&&(s="inline")),l.type=s,l.index=e.group.length,l.opts.$orig&&!l.opts.$orig.length&&delete l.opts.$orig,!l.opts.$thumb&&l.opts.$orig&&(l.opts.$thumb=l.opts.$orig.find("img:first")),l.opts.$thumb&&!l.opts.$thumb.length&&delete l.opts.$thumb,"function"===n.type(l.opts.caption)?l.opts.caption=l.opts.caption.apply(i,[e,l]):"caption"in d&&(l.opts.caption=d.caption),l.opts.caption=l.opts.caption===o?"":l.opts.caption+"","ajax"===s&&(c=r.split(/\s+/,2),c.length>1&&(l.src=c.shift(),l.opts.filter=c.shift())),"auto"==l.opts.smallBtn&&(n.inArray(s,["html","inline","ajax"])>-1?(l.opts.toolbar=!1,l.opts.smallBtn=!0):l.opts.smallBtn=!1),"pdf"===s&&(l.type="iframe",l.opts.iframe.preload=!1),l.opts.modal&&(l.opts=n.extend(!0,l.opts,{infobar:0,toolbar:0,smallBtn:0,keyboard:0,slideShow:0,fullScreen:0,thumbs:0,touch:0,clickContent:!1,clickSlide:!1,clickOutside:!1,dblclickContent:!1,dblclickSlide:!1,dblclickOutside:!1})),e.group.push(l)})},addEvents:function(){var o=this;o.removeEvents(),o.$refs.container.on("click.fb-close","[data-fancybox-close]",function(t){t.stopPropagation(),t.preventDefault(),o.close(t)}).on("click.fb-prev touchend.fb-prev","[data-fancybox-prev]",function(t){t.stopPropagation(),t.preventDefault(),o.previous()}).on("click.fb-next touchend.fb-next","[data-fancybox-next]",function(t){t.stopPropagation(),t.preventDefault(),o.next()}),s.on("orientationchange.fb resize.fb",function(t){t&&t.originalEvent&&"resize"===t.originalEvent.type?u(function(){o.update()}):(o.$refs.stage.hide(),setTimeout(function(){o.$refs.stage.show(),o.update()},500))}),r.on("focusin.fb",function(t){var i=n.fancybox?n.fancybox.getInstance():null;i.isClosing||!i.current||!i.current.opts.trapFocus||n(t.target).hasClass("fancybox-container")||n(t.target).is(e)||i&&"fixed"!==n(t.target).css("position")&&!i.$refs.container.has(t.target).length&&(t.stopPropagation(),i.focus(),s.scrollTop(o.scrollTop).scrollLeft(o.scrollLeft))}),r.on("keydown.fb",function(t){var e=o.current,i=t.keyCode||t.which;if(e&&e.opts.keyboard&&!n(t.target).is("input")&&!n(t.target).is("textarea"))return 8===i||27===i?(t.preventDefault(),void o.close(t)):37===i||38===i?(t.preventDefault(),void o.previous()):39===i||40===i?(t.preventDefault(),void o.next()):void o.trigger("afterKeydown",t,i)}),o.group[o.currIndex].opts.idleTime&&(o.idleSecondsCounter=0,r.on("mousemove.fb-idle mouseenter.fb-idle mouseleave.fb-idle mousedown.fb-idle touchstart.fb-idle touchmove.fb-idle scroll.fb-idle keydown.fb-idle",function(){o.idleSecondsCounter=0,o.isIdle&&o.showControls(),o.isIdle=!1}),o.idleInterval=t.setInterval(function(){o.idleSecondsCounter++,o.idleSecondsCounter>=o.group[o.currIndex].opts.idleTime&&(o.isIdle=!0,o.idleSecondsCounter=0,o.hideControls())},1e3))},removeEvents:function(){var e=this;s.off("orientationchange.fb resize.fb"),r.off("focusin.fb keydown.fb .fb-idle"),this.$refs.container.off(".fb-close .fb-prev .fb-next"),e.idleInterval&&(t.clearInterval(e.idleInterval),e.idleInterval=null)},previous:function(t){return this.jumpTo(this.currPos-1,t)},next:function(t){return this.jumpTo(this.currPos+1,t)},jumpTo:function(t,e,i){var a,s,r,c,l,u,d,h=this,p=h.group.length;if(!(h.isSliding||h.isClosing||h.isAnimating&&h.firstRun)){if(t=parseInt(t,10),s=h.current?h.current.opts.loop:h.opts.loop,!s&&(t<0||t>=p))return!1;if(a=h.firstRun=null===h.firstRun,!(p<2&&!a&&h.isSliding)){if(c=h.current,h.prevIndex=h.currIndex,h.prevPos=h.currPos,r=h.createSlide(t),p>1&&((s||r.index>0)&&h.createSlide(t-1),(s||r.indexr.pos?"next":"previous"),c.$slide.removeClass("fancybox-slide--complete fancybox-slide--current fancybox-slide--next fancybox-slide--previous"),c.isComplete=!1,e&&(r.isMoved||r.opts.transitionEffect)&&(r.isMoved?c.$slide.addClass(d):(d="fancybox-animated "+d+" fancybox-fx-"+r.opts.transitionEffect,n.fancybox.animate(c.$slide,d,e,function(){c.$slide.removeClass(d).removeAttr("style")}))))}}},createSlide:function(t){var e,o,i=this;return o=t%i.group.length,o=o<0?i.group.length+o:o,!i.slides[t]&&i.group[o]&&(e=n('
').appendTo(i.$refs.stage),i.slides[t]=n.extend(!0,{},i.group[o],{pos:t,$slide:e,isLoaded:!1}),i.updateSlide(i.slides[t])),i.slides[t]},scaleToActual:function(t,e,i){var a,s,r,c,l,u=this,d=u.current,f=d.$content,h=parseInt(d.$slide.width(),10),p=parseInt(d.$slide.height(),10),g=d.width,b=d.height;"image"!=d.type||d.hasError||!f||u.isAnimating||(n.fancybox.stop(f),u.isAnimating=!0,t=t===o?.5*h:t,e=e===o?.5*p:e,a=n.fancybox.getTranslate(f),c=g/a.width,l=b/a.height,s=.5*h-.5*g,r=.5*p-.5*b,g>h&&(s=a.left*c-(t*c-t),s>0&&(s=0),sp&&(r=a.top*l-(e*l-e),r>0&&(r=0),rt.width||o.height>t.height))},isScaledDown:function(){var t=this,e=t.current,o=e.$content,i=!1;return o&&(i=n.fancybox.getTranslate(o),i=i.width1||Math.abs(n.height()-o.height)>1),o},loadSlide:function(t){var e,o,i,a=this;if(!t.isLoading&&!t.isLoaded){switch(t.isLoading=!0,a.trigger("beforeLoad",t),e=t.type,o=t.$slide,o.off("refresh").trigger("onReset").addClass("fancybox-slide--"+(e||"unknown")).addClass(t.opts.slideClass),e){case"image":a.setImage(t);break;case"iframe":a.setIframe(t);break;case"html":a.setContent(t,t.src||t.content);break;case"inline":n(t.src).length?a.setContent(t,n(t.src)):a.setError(t);break;case"ajax":a.showLoading(t),i=n.ajax(n.extend({},t.opts.ajax.settings,{url:t.src,success:function(e,n){"success"===n&&a.setContent(t,e)},error:function(e,n){e&&"abort"!==n&&a.setError(t)}})),o.one("onReset",function(){i.abort()});break;default:a.setError(t)}return!0}},setImage:function(e){var o,i,a,s,r=this,c=e.opts.image.srcset;if(c){a=t.devicePixelRatio||1,s=t.innerWidth*a,i=c.split(",").map(function(t){var e={};return t.trim().split(/\s+/).forEach(function(t,n){var o=parseInt(t.substring(0,t.length-1),10);return 0===n?e.url=t:void(o&&(e.value=o,e.postfix=t[t.length-1]))}),e}),i.sort(function(t,e){return t.value-e.value});for(var l=0;l=s||"x"===u.postfix&&u.value>=a){o=u;break}}!o&&i.length&&(o=i[i.length-1]),o&&(e.src=o.url,e.width&&e.height&&"w"==o.postfix&&(e.height=e.width/e.height*o.value,e.width=o.value))}e.$content=n('
').addClass("fancybox-is-hidden").appendTo(e.$slide),e.opts.preload!==!1&&e.opts.width&&e.opts.height&&(e.opts.thumb||e.opts.$thumb)?(e.width=e.opts.width,e.height=e.opts.height,e.$ghost=n("").one("error",function(){n(this).remove(),e.$ghost=null,r.setBigImage(e)}).one("load",function(){r.afterLoad(e),r.setBigImage(e)}).addClass("fancybox-image").appendTo(e.$content).attr("src",e.opts.thumb||e.opts.$thumb.attr("src"))):r.setBigImage(e)},setBigImage:function(t){var e=this,o=n("");t.$image=o.one("error",function(){e.setError(t)}).one("load",function(){clearTimeout(t.timouts),t.timouts=null,e.isClosing||(t.width=this.naturalWidth,t.height=this.naturalHeight,t.opts.image.srcset&&o.attr("sizes","100vw").attr("srcset",t.opts.image.srcset),e.hideLoading(t),t.$ghost?t.timouts=setTimeout(function(){t.timouts=null,t.$ghost.hide()},Math.min(300,Math.max(1e3,t.height/1600))):e.afterLoad(t))}).addClass("fancybox-image").attr("src",t.src).appendTo(t.$content),o[0].complete?o.trigger("load"):o[0].error?o.trigger("error"):t.timouts=setTimeout(function(){o[0].complete||t.hasError||e.showLoading(t)},100)},setIframe:function(t){var e,i=this,a=t.opts.iframe,s=t.$slide;t.$content=n('
').css(a.css).appendTo(s),e=n(a.tpl.replace(/\{rnd\}/g,(new Date).getTime())).attr(a.attr).appendTo(t.$content),a.preload?(i.showLoading(t),e.on("load.fb error.fb",function(e){this.isReady=1,t.$slide.trigger("refresh"),i.afterLoad(t)}),s.on("refresh.fb",function(){var n,i,s,r,c,l=t.$content;if(1===e[0].isReady){try{n=e.contents(),i=n.find("body")}catch(t){}i&&i.length&&(a.css.width===o||a.css.height===o)&&(s=e[0].contentWindow.document.documentElement.scrollWidth,r=Math.ceil(i.outerWidth(!0)+(l.width()-s)),c=Math.ceil(i.outerHeight(!0)),l.css({width:a.css.width===o?r+(l.outerWidth()-l.innerWidth()):a.css.width,height:a.css.height===o?c+(l.outerHeight()-l.innerHeight()):a.css.height})),l.removeClass("fancybox-is-hidden")}})):this.afterLoad(t),e.attr("src",t.src),t.opts.smallBtn===!0&&t.$content.prepend(i.translate(t,t.opts.btnTpl.smallBtn)),s.one("onReset",function(){try{n(this).find("iframe").hide().attr("src","//about:blank")}catch(t){}n(this).empty(),t.isLoaded=!1})},setContent:function(t,e){var o=this;o.isClosing||(o.hideLoading(t),t.$slide.empty(),l(e)&&e.parent().length?(e.parent(".fancybox-slide--inline").trigger("onReset"),t.$placeholder=n("
").hide().insertAfter(e),e.css("display","inline-block")):t.hasError||("string"===n.type(e)&&(e=n("
").append(n.trim(e)).contents(),3===e[0].nodeType&&(e=n("
").html(e))),t.opts.filter&&(e=n("
").html(e).find(t.opts.filter))),t.$slide.one("onReset",function(){t.$placeholder&&(t.$placeholder.after(e.hide()).remove(),t.$placeholder=null),t.$smallBtn&&(t.$smallBtn.remove(),t.$smallBtn=null),t.hasError||(n(this).empty(),t.isLoaded=!1)}),t.$content=n(e).appendTo(t.$slide),t.opts.smallBtn&&!t.$smallBtn&&(t.$smallBtn=n(o.translate(t,t.opts.btnTpl.smallBtn)).appendTo(t.$content)),this.afterLoad(t))},setError:function(t){t.hasError=!0,t.$slide.removeClass("fancybox-slide--"+t.type),this.setContent(t,this.translate(t,t.opts.errorTpl))},showLoading:function(t){var e=this;t=t||e.current,t&&!t.$spinner&&(t.$spinner=n(e.opts.spinnerTpl).appendTo(t.$slide))},hideLoading:function(t){var e=this;t=t||e.current,t&&t.$spinner&&(t.$spinner.remove(),delete t.$spinner)},afterLoad:function(t){var e=this;e.isClosing||(t.isLoading=!1,t.isLoaded=!0,e.trigger("afterLoad",t),e.hideLoading(t),t.opts.protect&&t.$content&&!t.hasError&&(t.$content.on("contextmenu.fb",function(t){return 2==t.button&&t.preventDefault(),!0}),"image"===t.type&&n('
').appendTo(t.$content)),e.revealContent(t))},revealContent:function(t){var e,i,a,s,r,c=this,l=t.$slide,u=!1;return e=t.opts[c.firstRun?"animationEffect":"transitionEffect"],a=t.opts[c.firstRun?"animationDuration":"transitionDuration"],a=parseInt(t.forcedDuration===o?a:t.forcedDuration,10),!t.isMoved&&t.pos===c.currPos&&a||(e=!1),"zoom"!==e||t.pos===c.currPos&&a&&"image"===t.type&&!t.hasError&&(u=c.getThumbPos(t))||(e="fade"),"zoom"===e?(r=c.getFitPos(t),r.scaleX=Math.round(r.width/u.width*100)/100,r.scaleY=Math.round(r.height/u.height*100)/100,delete r.width,delete r.height,s=t.opts.zoomOpacity,"auto"==s&&(s=Math.abs(t.width/t.height-u.width/u.height)>.1),s&&(u.opacity=.1,r.opacity=1),n.fancybox.setTranslate(t.$content.removeClass("fancybox-is-hidden"),u),f(t.$content),void n.fancybox.animate(t.$content,r,a,function(){c.complete()})):(c.updateSlide(t),e?(n.fancybox.stop(l),i="fancybox-animated fancybox-slide--"+(t.pos>c.prevPos?"next":"previous")+" fancybox-fx-"+e,l.removeAttr("style").removeClass("fancybox-slide--current fancybox-slide--next fancybox-slide--previous").addClass(i),t.$content.removeClass("fancybox-is-hidden"),f(l),void n.fancybox.animate(l,"fancybox-slide--current",a,function(e){l.removeClass(i).removeAttr("style"),t.pos===c.currPos&&c.complete()},!0)):(f(l),t.$content.removeClass("fancybox-is-hidden"),void(t.pos===c.currPos&&c.complete())))},getThumbPos:function(o){var i,a=this,s=!1,r=function(e){for(var o,i=e[0],a=i.getBoundingClientRect(),s=[];null!==i.parentElement;)"hidden"!==n(i.parentElement).css("overflow")&&"auto"!==n(i.parentElement).css("overflow")||s.push(i.parentElement.getBoundingClientRect()),i=i.parentElement;return o=s.every(function(t){var e=Math.min(a.right,t.right)-Math.max(a.left,t.left),n=Math.min(a.bottom,t.bottom)-Math.max(a.top,t.top);return e>0&&n>0}),o&&a.bottom>0&&a.right>0&&a.left=t.currPos-1&&o.pos<=t.currPos+1?i[o.pos]=o:o&&(n.fancybox.stop(o.$slide),o.$slide.unbind().remove())}),t.slides=i,t.updateCursor(),t.trigger("afterShow"),(n(e.activeElement).is("[disabled]")||o.opts.autoFocus&&"image"!=o.type&&"iframe"!==o.type)&&t.focus())},preload:function(){var t,e,n=this;n.group.length<2||(t=n.slides[n.currPos+1],e=n.slides[n.currPos-1],t&&"image"===t.type&&n.loadSlide(t),e&&"image"===e.type&&n.loadSlide(e))},focus:function(){var t,e=this.current;this.isClosing||(t=e&&e.isComplete?e.$slide.find("button,:input,[tabindex],a").filter(":not([disabled]):visible:first"):null,t=t&&t.length?t:this.$refs.container,t.focus())},activate:function(){var t=this;n(".fancybox-container").each(function(){var e=n(this).data("FancyBox");e&&e.uid!==t.uid&&!e.isClosing&&e.trigger("onDeactivate")}),t.current&&(t.$refs.container.index()>0&&t.$refs.container.prependTo(e.body),t.updateControls()),t.trigger("onActivate"),t.addEvents()},close:function(t,e){var o,i,a,s,r,c,l=this,f=l.current,h=function(){l.cleanUp(t)};return!l.isClosing&&(l.isClosing=!0,l.trigger("beforeClose",t)===!1?(l.isClosing=!1,u(function(){l.update()}),!1):(l.removeEvents(),f.timouts&&clearTimeout(f.timouts),a=f.$content,o=f.opts.animationEffect,i=n.isNumeric(e)?e:o?f.opts.animationDuration:0,f.$slide.off(d).removeClass("fancybox-slide--complete fancybox-slide--next fancybox-slide--previous fancybox-animated"),f.$slide.siblings().trigger("onReset").remove(),i&&l.$refs.container.removeClass("fancybox-is-open").addClass("fancybox-is-closing"),l.hideLoading(f),l.hideControls(),l.updateCursor(),"zoom"!==o||t!==!0&&a&&i&&"image"===f.type&&!f.hasError&&(c=l.getThumbPos(f))||(o="fade"),"zoom"===o?(n.fancybox.stop(a),r=n.fancybox.getTranslate(a),r.width=r.width*r.scaleX,r.height=r.height*r.scaleY,s=f.opts.zoomOpacity,"auto"==s&&(s=Math.abs(f.width/f.height-c.width/c.height)>.1),s&&(c.opacity=0),r.scaleX=r.width/c.width,r.scaleY=r.height/c.height,r.width=c.width,r.height=c.height,n.fancybox.setTranslate(f.$content,r),n.fancybox.animate(f.$content,c,i,h),!0):(o&&i?t===!0?setTimeout(h,i):n.fancybox.animate(f.$slide.removeClass("fancybox-slide--current"),"fancybox-animated fancybox-slide--previous fancybox-fx-"+o,i,h):h(),!0)))},cleanUp:function(t){var e,o=this;o.current.$slide.trigger("onReset"),o.$refs.container.empty().remove(),o.trigger("afterClose",t),o.$lastFocus&&!o.current.focusBack&&o.$lastFocus.focus(),o.current=null,e=n.fancybox.getInstance(),e?e.activate():(s.scrollTop(o.scrollTop).scrollLeft(o.scrollLeft),n("html").removeClass("fancybox-enabled"),n("#fancybox-style-noscroll").remove())},trigger:function(t,e){var o,i=Array.prototype.slice.call(arguments,1),a=this,s=e&&e.opts?e:a.current;return s?i.unshift(s):s=a,i.unshift(a),n.isFunction(s.opts[t])&&(o=s.opts[t].apply(s,i)),o===!1?o:void("afterClose"===t?r.trigger(t+".fb",i):a.$refs.container.trigger(t+".fb",i))},updateControls:function(t){var e=this,o=e.current,i=o.index,a=o.opts,s=a.caption,r=e.$refs.caption;o.$slide.trigger("refresh"),e.$caption=s&&s.length?r.html(s):null,e.isHiddenControls||e.showControls(),n("[data-fancybox-count]").html(e.group.length),n("[data-fancybox-index]").html(i+1),n("[data-fancybox-prev]").prop("disabled",!a.loop&&i<=0),n("[data-fancybox-next]").prop("disabled",!a.loop&&i>=e.group.length-1)},hideControls:function(){this.isHiddenControls=!0,this.$refs.container.removeClass("fancybox-show-infobar fancybox-show-toolbar fancybox-show-caption fancybox-show-nav")},showControls:function(){var t=this,e=t.current?t.current.opts:t.opts,n=t.$refs.container;t.isHiddenControls=!1,t.idleSecondsCounter=0,n.toggleClass("fancybox-show-toolbar",!(!e.toolbar||!e.buttons)).toggleClass("fancybox-show-infobar",!!(e.infobar&&t.group.length>1)).toggleClass("fancybox-show-nav",!!(e.arrows&&t.group.length>1)).toggleClass("fancybox-is-modal",!!e.modal),t.$caption?n.addClass("fancybox-show-caption "):n.removeClass("fancybox-show-caption")},toggleControls:function(){this.isHiddenControls?this.showControls():this.hideControls()}}),n.fancybox={version:"3.1.20",defaults:a,getInstance:function(t){var e=n('.fancybox-container:not(".fancybox-is-closing"):first').data("FancyBox"),o=Array.prototype.slice.call(arguments,1);return e instanceof h&&("string"===n.type(t)?e[t].apply(e,o):"function"===n.type(t)&&t.apply(e,o),e)},open:function(t,e,n){return new h(t,e,n)},close:function(t){var e=this.getInstance();e&&(e.close(),t===!0&&this.close())},destroy:function(){this.close(!0),r.off("click.fb-start")},isMobile:e.createTouch!==o&&/Android|webOS|iPhone|iPad|iPod|BlackBerry/i.test(navigator.userAgent),use3d:function(){var n=e.createElement("div");return t.getComputedStyle&&t.getComputedStyle(n).getPropertyValue("transform")&&!(e.documentMode&&e.documentMode<11)}(),getTranslate:function(t){var e;if(!t||!t.length)return!1;if(e=t.eq(0).css("transform"),e&&e.indexOf("matrix")!==-1?(e=e.split("(")[1],e=e.split(")")[0],e=e.split(",")):e=[],e.length)e=e.length>10?[e[13],e[12],e[0],e[5]]:[e[5],e[4],e[0],e[3]],e=e.map(parseFloat);else{e=[0,0,1,1];var n=/\.*translate\((.*)px,(.*)px\)/i,o=n.exec(t.eq(0).attr("style"));o&&(e[0]=parseFloat(o[2]),e[1]=parseFloat(o[1]))}return{top:e[0],left:e[1],scaleX:e[2],scaleY:e[3],opacity:parseFloat(t.css("opacity")),width:t.width(),height:t.height()}},setTranslate:function(t,e){var n="",i={};if(t&&e)return e.left===o&&e.top===o||(n=(e.left===o?t.position().left:e.left)+"px, "+(e.top===o?t.position().top:e.top)+"px",n=this.use3d?"translate3d("+n+", 0px)":"translate("+n+")"),e.scaleX!==o&&e.scaleY!==o&&(n=(n.length?n+" ":"")+"scale("+e.scaleX+", "+e.scaleY+")"),n.length&&(i.transform=n),e.opacity!==o&&(i.opacity=e.opacity),e.width!==o&&(i.width=e.width),e.height!==o&&(i.height=e.height),t.css(i)},animate:function(t,e,i,a,s){var r=d||"transitionend";n.isFunction(i)&&(a=i,i=null),n.isPlainObject(e)||t.removeAttr("style"),t.on(r,function(i){(!i||!i.originalEvent||t.is(i.originalEvent.target)&&"z-index"!=i.originalEvent.propertyName)&&(t.off(r),n.isPlainObject(e)?e.scaleX!==o&&e.scaleY!==o&&(t.css("transition-duration","0ms"),e.width=t.width()*e.scaleX,e.height=t.height()*e.scaleY,e.scaleX=1,e.scaleY=1,n.fancybox.setTranslate(t,e)):s!==!0&&t.removeClass(e),n.isFunction(a)&&a(i))}),n.isNumeric(i)&&t.css("transition-duration",i+"ms"),n.isPlainObject(e)?n.fancybox.setTranslate(t,e):t.addClass(e),t.data("timer",setTimeout(function(){t.trigger("transitionend")},i+16))},stop:function(t){clearTimeout(t.data("timer")),t.off(d)}},n.fn.fancybox=function(t){var e;return t=t||{},e=t.selector||!1,e?n("body").off("click.fb-start",e).on("click.fb-start",e,{items:n(e),options:t},i):this.off("click.fb-start").on("click.fb-start",{items:this,options:t},i),this},r.on("click.fb-start","[data-fancybox]",i)}}(window,document,window.jQuery),function(t){"use strict";var e=function(e,n,o){if(e)return o=o||"","object"===t.type(o)&&(o=t.param(o,!0)),t.each(n,function(t,n){e=e.replace("$"+t,n||"")}),o.length&&(e+=(e.indexOf("?")>0?"&":"?")+o),e},n={youtube:{matcher:/(youtube\.com|youtu\.be|youtube\-nocookie\.com)\/(watch\?(.*&)?v=|v\/|u\/|embed\/?)?(videoseries\?list=(.*)|[\w-]{11}|\?listType=(.*)&list=(.*))(.*)/i,params:{autoplay:1,autohide:1,fs:1,rel:0,hd:1,wmode:"transparent",enablejsapi:1,html5:1},paramPlace:8,type:"iframe",url:"//www.youtube.com/embed/$4",thumb:"//img.youtube.com/vi/$4/hqdefault.jpg"},vimeo:{matcher:/^.+vimeo.com\/(.*\/)?([\d]+)(.*)?/,params:{autoplay:1,hd:1,show_title:1,show_byline:1,show_portrait:0,fullscreen:1,api:1},paramPlace:3,type:"iframe",url:"//player.vimeo.com/video/$2"},metacafe:{matcher:/metacafe.com\/watch\/(\d+)\/(.*)?/,type:"iframe",url:"//www.metacafe.com/embed/$1/?ap=1"},dailymotion:{matcher:/dailymotion.com\/video\/(.*)\/?(.*)/,params:{additionalInfos:0,autoStart:1},type:"iframe",url:"//www.dailymotion.com/embed/video/$1"},vine:{matcher:/vine.co\/v\/([a-zA-Z0-9\?\=\-]+)/,type:"iframe",url:"//vine.co/v/$1/embed/simple"},instagram:{matcher:/(instagr\.am|instagram\.com)\/p\/([a-zA-Z0-9_\-]+)\/?/i,type:"image",url:"//$1/p/$2/media/?size=l"},google_maps:{matcher:/(maps\.)?google\.([a-z]{2,3}(\.[a-z]{2})?)\/(((maps\/(place\/(.*)\/)?\@(.*),(\d+.?\d+?)z))|(\?ll=))(.*)?/i,type:"iframe",url:function(t){return"//maps.google."+t[2]+"/?ll="+(t[9]?t[9]+"&z="+Math.floor(t[10])+(t[12]?t[12].replace(/^\//,"&"):""):t[12])+"&output="+(t[12]&&t[12].indexOf("layer=c")>0?"svembed":"embed")}}};t(document).on("onInit.fb",function(o,i){t.each(i.group,function(o,i){var a,s,r,c,l,u,d,f=i.src||"",h=!1;i.type||(a=t.extend(!0,{},n,i.opts.media),t.each(a,function(n,o){if(r=f.match(o.matcher),u={},d=n,r){if(h=o.type,o.paramPlace&&r[o.paramPlace]){l=r[o.paramPlace],"?"==l[0]&&(l=l.substring(1)),l=l.split("&");for(var a=0;ae.clientHeight,a=("scroll"===o||"auto"===o)&&e.scrollWidth>e.clientWidth;return i||a},l=function(t){for(var e=!1;;){if(e=c(t.get(0)))break;if(t=t.parent(),!t.length||t.hasClass("fancybox-stage")||t.is("body"))break}return e},u=function(t){var e=this;e.instance=t,e.$bg=t.$refs.bg,e.$stage=t.$refs.stage,e.$container=t.$refs.container,e.destroy(),e.$container.on("touchstart.fb.touch mousedown.fb.touch",n.proxy(e,"ontouchstart"))};u.prototype.destroy=function(){this.$container.off(".fb.touch")},u.prototype.ontouchstart=function(o){var i=this,c=n(o.target),u=i.instance,d=u.current,f=d.$content,h="touchstart"==o.type;if(h&&i.$container.off("mousedown.fb.touch"),!d||i.instance.isAnimating||i.instance.isClosing)return o.stopPropagation(),void o.preventDefault();if((!o.originalEvent||2!=o.originalEvent.button)&&c.length&&!r(c)&&!r(c.parent())&&!(o.originalEvent.clientX>c[0].clientWidth+c.offset().left)&&(i.startPoints=a(o),i.startPoints&&!(i.startPoints.length>1&&u.isSliding))){if(i.$target=c,i.$content=f,i.canTap=!0,n(e).off(".fb.touch"),n(e).on(h?"touchend.fb.touch touchcancel.fb.touch":"mouseup.fb.touch mouseleave.fb.touch",n.proxy(i,"ontouchend")),n(e).on(h?"touchmove.fb.touch":"mousemove.fb.touch",n.proxy(i,"ontouchmove")),o.stopPropagation(),!u.current.opts.touch&&!u.canPan()||!c.is(i.$stage)&&!i.$stage.find(c).length)return void(c.is("img")&&o.preventDefault());n.fancybox.isMobile&&(l(i.$target)||l(i.$target.parent()))||o.preventDefault(),i.canvasWidth=Math.round(d.$slide[0].clientWidth),i.canvasHeight=Math.round(d.$slide[0].clientHeight),i.startTime=(new Date).getTime(),i.distanceX=i.distanceY=i.distance=0,i.isPanning=!1,i.isSwiping=!1,i.isZooming=!1,i.sliderStartPos=i.sliderLastPos||{top:0,left:0},i.contentStartPos=n.fancybox.getTranslate(i.$content),i.contentLastPos=null,1!==i.startPoints.length||i.isZooming||(i.canTap=!u.isSliding,"image"===d.type&&(i.contentStartPos.width>i.canvasWidth+1||i.contentStartPos.height>i.canvasHeight+1)?(n.fancybox.stop(i.$content),i.$content.css("transition-duration","0ms"),i.isPanning=!0):i.isSwiping=!0,i.$container.addClass("fancybox-controls--isGrabbing")),2!==i.startPoints.length||u.isAnimating||d.hasError||"image"!==d.type||!d.isLoaded&&!d.$ghost||(i.isZooming=!0,i.isSwiping=!1,i.isPanning=!1,n.fancybox.stop(i.$content),i.$content.css("transition-duration","0ms"),i.centerPointStartX=.5*(i.startPoints[0].x+i.startPoints[1].x)-n(t).scrollLeft(),i.centerPointStartY=.5*(i.startPoints[0].y+i.startPoints[1].y)-n(t).scrollTop(),i.percentageOfImageAtPinchPointX=(i.centerPointStartX-i.contentStartPos.left)/i.contentStartPos.width,i.percentageOfImageAtPinchPointY=(i.centerPointStartY-i.contentStartPos.top)/i.contentStartPos.height,i.startDistanceBetweenFingers=s(i.startPoints[0],i.startPoints[1]))}},u.prototype.ontouchmove=function(t){var e=this;if(e.newPoints=a(t),n.fancybox.isMobile&&(l(e.$target)||l(e.$target.parent())))return t.stopPropagation(),void(e.canTap=!1);if((e.instance.current.opts.touch||e.instance.canPan())&&e.newPoints&&e.newPoints.length&&(e.distanceX=s(e.newPoints[0],e.startPoints[0],"x"),e.distanceY=s(e.newPoints[0],e.startPoints[0],"y"),e.distance=s(e.newPoints[0],e.startPoints[0]),e.distance>0)){if(!e.$target.is(e.$stage)&&!e.$stage.find(e.$target).length)return;t.stopPropagation(),t.preventDefault(),e.isSwiping?e.onSwipe():e.isPanning?e.onPan():e.isZooming&&e.onZoom()}},u.prototype.onSwipe=function(){var e,a=this,s=a.isSwiping,r=a.sliderStartPos.left||0;s===!0?Math.abs(a.distance)>10&&(a.canTap=!1,a.instance.group.length<2&&a.instance.opts.touch.vertical?a.isSwiping="y":a.instance.isSliding||a.instance.opts.touch.vertical===!1||"auto"===a.instance.opts.touch.vertical&&n(t).width()>800?a.isSwiping="x":(e=Math.abs(180*Math.atan2(a.distanceY,a.distanceX)/Math.PI),a.isSwiping=e>45&&e<135?"y":"x"),a.instance.isSliding=a.isSwiping,a.startPoints=a.newPoints,n.each(a.instance.slides,function(t,e){n.fancybox.stop(e.$slide),e.$slide.css("transition-duration","0ms"),e.inTransition=!1,e.pos===a.instance.current.pos&&(a.sliderStartPos.left=n.fancybox.getTranslate(e.$slide).left)}),a.instance.SlideShow&&a.instance.SlideShow.isActive&&a.instance.SlideShow.stop()):("x"==s&&(a.distanceX>0&&(a.instance.group.length<2||0===a.instance.current.index&&!a.instance.current.opts.loop)?r+=Math.pow(a.distanceX,.8):a.distanceX<0&&(a.instance.group.length<2||a.instance.current.index===a.instance.group.length-1&&!a.instance.current.opts.loop)?r-=Math.pow(-a.distanceX,.8):r+=a.distanceX),a.sliderLastPos={top:"x"==s?0:a.sliderStartPos.top+a.distanceY,left:r},a.requestId&&(i(a.requestId),a.requestId=null),a.requestId=o(function(){a.sliderLastPos&&(n.each(a.instance.slides,function(t,e){var o=e.pos-a.instance.currPos;n.fancybox.setTranslate(e.$slide,{top:a.sliderLastPos.top,left:a.sliderLastPos.left+o*a.canvasWidth+o*e.opts.gutter})}),a.$container.addClass("fancybox-is-sliding"))}))},u.prototype.onPan=function(){var t,e,a,s=this;s.canTap=!1,t=s.contentStartPos.width>s.canvasWidth?s.contentStartPos.left+s.distanceX:s.contentStartPos.left,e=s.contentStartPos.top+s.distanceY,a=s.limitMovement(t,e,s.contentStartPos.width,s.contentStartPos.height),a.scaleX=s.contentStartPos.scaleX,a.scaleY=s.contentStartPos.scaleY,s.contentLastPos=a,s.requestId&&(i(s.requestId),s.requestId=null),s.requestId=o(function(){n.fancybox.setTranslate(s.$content,s.contentLastPos)})},u.prototype.limitMovement=function(t,e,n,o){var i,a,s,r,c=this,l=c.canvasWidth,u=c.canvasHeight,d=c.contentStartPos.left,f=c.contentStartPos.top,h=c.distanceX,p=c.distanceY;return i=Math.max(0,.5*l-.5*n),a=Math.max(0,.5*u-.5*o),s=Math.min(l-n,.5*l-.5*n),r=Math.min(u-o,.5*u-.5*o),n>l&&(h>0&&t>i&&(t=i-1+Math.pow(-i+d+h,.8)||0),h<0&&tu&&(p>0&&e>a&&(e=a-1+Math.pow(-a+f+p,.8)||0),p<0&&ea?(t=t>0?0:t,t=ts?(e=e>0?0:e,e=e50?(n.fancybox.animate(e.instance.current.$slide,{top:e.sliderStartPos.top+e.distanceY+150*e.velocityY,opacity:0},150),o=e.instance.close(!0,300)):"x"==t&&e.distanceX>50&&e.instance.group.length>1?o=e.instance.previous(e.speedX):"x"==t&&e.distanceX<-50&&e.instance.group.length>1&&(o=e.instance.next(e.speedX)),o!==!1||"x"!=t&&"y"!=t||e.instance.jumpTo(e.instance.current.index,150),e.$container.removeClass("fancybox-is-sliding")},u.prototype.endPanning=function(){var t,e,o,i=this;i.contentLastPos&&(i.instance.current.opts.touch.momentum===!1?(t=i.contentLastPos.left,e=i.contentLastPos.top):(t=i.contentLastPos.left+i.velocityX*i.speed,e=i.contentLastPos.top+i.velocityY*i.speed),o=i.limitPosition(t,e,i.contentStartPos.width,i.contentStartPos.height),o.width=i.contentStartPos.width,o.height=i.contentStartPos.height,n.fancybox.animate(i.$content,o,330))},u.prototype.endZooming=function(){var t,e,o,i,a=this,s=a.instance.current,r=a.newWidth,c=a.newHeight;a.contentLastPos&&(t=a.contentLastPos.left,e=a.contentLastPos.top,i={top:e,left:t,width:r,height:c,scaleX:1,scaleY:1},n.fancybox.setTranslate(a.$content,i),rs.width||c>s.height?a.instance.scaleToActual(a.centerPointStartX,a.centerPointStartY,150):(o=a.limitPosition(t,e,r,c),n.fancybox.setTranslate(a.content,n.fancybox.getTranslate(a.$content)),n.fancybox.animate(a.$content,o,150)))},u.prototype.onTap=function(t){var e,o=this,i=n(t.target),s=o.instance,r=s.current,c=t&&a(t)||o.startPoints,l=c[0]?c[0].x-o.$stage.offset().left:0,u=c[0]?c[0].y-o.$stage.offset().top:0,d=function(e){var i=r.opts[e];if(n.isFunction(i)&&(i=i.apply(s,[r,t])),i)switch(i){case"close":s.close(o.startEvent);break;case"toggleControls":s.toggleControls(!0);break;case"next":s.next();break;case"nextOrClose":s.group.length>1?s.next():s.close(o.startEvent);break;case"zoom":"image"==r.type&&(r.isLoaded||r.$ghost)&&(s.canPan()?s.scaleToFit():s.isScaledDown()?s.scaleToActual(l,u):s.group.length<2&&s.close(o.startEvent))}};if(!(t.originalEvent&&2==t.originalEvent.button||s.isSliding||l>i[0].clientWidth+i.offset().left)){if(i.is(".fancybox-bg,.fancybox-inner,.fancybox-outer,.fancybox-container"))e="Outside";else if(i.is(".fancybox-slide"))e="Slide";else{if(!s.current.$content||!s.current.$content.has(t.target).length)return;e="Content"}if(o.tapped){if(clearTimeout(o.tapped),o.tapped=null,Math.abs(l-o.tapX)>50||Math.abs(u-o.tapY)>50||s.isSliding)return this;d("dblclick"+e)}else o.tapX=l,o.tapY=u,r.opts["dblclick"+e]&&r.opts["dblclick"+e]!==r.opts["click"+e]?o.tapped=setTimeout(function(){o.tapped=null,d("click"+e)},300):d("click"+e);return this}},n(e).on("onActivate.fb",function(t,e){e&&!e.Guestures&&(e.Guestures=new u(e))}),n(e).on("beforeClose.fb",function(t,e){e&&e.Guestures&&e.Guestures.destroy()})}(window,document,window.jQuery),function(t,e){"use strict";var n=function(t){this.instance=t,this.init()};e.extend(n.prototype,{timer:null,isActive:!1,$button:null,speed:3e3,init:function(){var t=this;t.$button=t.instance.$refs.toolbar.find("[data-fancybox-play]").on("click",function(){t.toggle()}),(t.instance.group.length<2||!t.instance.group[t.instance.currIndex].opts.slideShow)&&t.$button.hide()},set:function(){var t=this;t.instance&&t.instance.current&&(t.instance.current.opts.loop||t.instance.currIndex1&&t.instance.group[t.instance.currIndex].opts.thumbs&&("image"==e.type||e.opts.thumb||e.opts.$thumb)&&("image"==n.type||n.opts.thumb||n.opts.$thumb)?(t.$button.on("click",function(){t.toggle()}),t.isActive=!0):(t.$button.hide(),t.isActive=!1)},create:function(){var t,n,o=this.instance;this.$grid=e('
').appendTo(o.$refs.container),t="
    ",e.each(o.group,function(e,o){n=o.opts.thumb||(o.opts.$thumb?o.opts.$thumb.attr("src"):null),n||"image"!==o.type||(n=o.src),n&&n.length&&(t+='
  • ')}),t+="
",this.$list=e(t).appendTo(this.$grid).on("click","li",function(){o.jumpTo(e(this).data("index"))}),this.$list.find("img").hide().one("load",function(){var t,n,o,i,a=e(this).parent().removeClass("fancybox-thumbs-loading"),s=a.outerWidth(),r=a.outerHeight();t=this.naturalWidth||this.width,n=this.naturalHeight||this.height,o=t/s,i=n/r,o>=1&&i>=1&&(o>i?(t/=i,n=r):(t=s,n/=o)),e(this).css({width:Math.floor(t),height:Math.floor(n),"margin-top":Math.min(0,Math.floor(.3*r-.3*n)),"margin-left":Math.min(0,Math.floor(.5*s-.5*t))}).show()}).each(function(){this.src=e(this).data("src")})},focus:function(){this.instance.current&&this.$list.children().removeClass("fancybox-thumbs-active").filter('[data-index="'+this.instance.current.index+'"]').addClass("fancybox-thumbs-active").focus()},close:function(){this.$grid.hide()},update:function(){this.instance.$refs.container.toggleClass("fancybox-show-thumbs",this.isVisible),this.isVisible?(this.$grid||this.create(),this.instance.trigger("onThumbsShow"),this.focus()):this.$grid&&this.instance.trigger("onThumbsHide"),this.instance.update()},hide:function(){this.isVisible=!1,this.update()},show:function(){this.isVisible=!0,this.update()},toggle:function(){this.isVisible=!this.isVisible,this.update()}}),e(t).on({"onInit.fb":function(t,e){e&&!e.Thumbs&&(e.Thumbs=new n(e))},"beforeShow.fb":function(t,e,n,o){var i=e&&e.Thumbs;if(i&&i.isActive){if(n.modal)return i.$button.hide(),void i.hide();o&&e.opts.thumbs.autoStart===!0&&i.show(),i.isVisible&&i.focus()}},"afterKeydown.fb":function(t,e,n,o,i){var a=e&&e.Thumbs;a&&a.isActive&&71===i&&(o.preventDefault(),a.toggle())},"beforeClose.fb":function(t,e){var n=e&&e.Thumbs;n&&n.isVisible&&e.opts.thumbs.hideOnClose!==!1&&n.close()}})}(document,window.jQuery),function(t,e,n){"use strict";function o(){var t=e.location.hash.substr(1),n=t.split("-"),o=n.length>1&&/^\+?\d+$/.test(n[n.length-1])?parseInt(n.pop(-1),10)||1:1,i=n.join("-");return o<1&&(o=1),{hash:t,index:o,gallery:i}}function i(t){var e;""!==t.gallery&&(e=n("[data-fancybox='"+n.escapeSelector(t.gallery)+"']").eq(t.index-1),e.length?e.trigger("click"):n("#"+n.escapeSelector(t.gallery)).trigger("click"))}function a(t){var e;return!!t&&(e=t.current?t.current.opts:t.opts,e.$orig?e.$orig.data("fancybox"):e.hash||"")}n.escapeSelector||(n.escapeSelector=function(t){var e=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\x80-\uFFFF\w-]/g,n=function(t,e){return e?"\0"===t?"�":t.slice(0,-1)+"\\"+t.charCodeAt(t.length-1).toString(16)+" ":"\\"+t};return(t+"").replace(e,n)});var s=null,r=null;n(function(){setTimeout(function(){n.fancybox.defaults.hash!==!1&&(n(t).on({"onInit.fb":function(t,e){var n,i;e.group[e.currIndex].opts.hash!==!1&&(n=o(),i=a(e),i&&n.gallery&&i==n.gallery&&(e.currIndex=n.index-1))},"beforeShow.fb":function(n,o,i,c){var l;i.opts.hash!==!1&&(l=a(o),l&&""!==l&&(e.location.hash.indexOf(l)<0&&(o.opts.origHash=e.location.hash),s=l+(o.group.length>1?"-"+(i.index+1):""),"replaceState"in e.history?(r&&clearTimeout(r),r=setTimeout(function(){e.history[c?"pushState":"replaceState"]({},t.title,e.location.pathname+e.location.search+"#"+s),r=null},300)):e.location.hash=s))},"beforeClose.fb":function(o,i,c){var l,u;r&&clearTimeout(r),c.opts.hash!==!1&&(l=a(i),u=i&&i.opts.origHash?i.opts.origHash:"",l&&""!==l&&("replaceState"in history?e.history.replaceState({},t.title,e.location.pathname+e.location.search+u):(e.location.hash=u,n(e).scrollTop(i.scrollTop).scrollLeft(i.scrollLeft))),s=null)}}),n(e).on("hashchange.fb",function(){var t=o();n.fancybox.getInstance()?!s||s===t.gallery+"-"+t.index||1===t.index&&s==t.gallery||(s=null,n.fancybox.close()):""!==t.gallery&&i(t)}),n(e).one("unload.fb popstate.fb",function(){n.fancybox.getInstance("close",!0,0)}),i(o()))},50)})}(document,window,window.jQuery); \ No newline at end of file diff --git a/themes/even/static/lib/gitalk/gitalk-1.2.2.min.css b/themes/even/static/lib/gitalk/gitalk-1.2.2.min.css deleted file mode 100644 index b0ad513..0000000 --- a/themes/even/static/lib/gitalk/gitalk-1.2.2.min.css +++ /dev/null @@ -1,7 +0,0 @@ -/** - * Minified by jsDelivr using clean-css v4.1.9. - * Original file: /npm/gitalk@1.2.2/dist/gitalk.css - * - * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files - */ -@font-face{font-family:octicons-link;src:url(data:font/woff;charset=utf-8;base64,d09GRgABAAAAAAZwABAAAAAACFQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABEU0lHAAAGaAAAAAgAAAAIAAAAAUdTVUIAAAZcAAAACgAAAAoAAQAAT1MvMgAAAyQAAABJAAAAYFYEU3RjbWFwAAADcAAAAEUAAACAAJThvmN2dCAAAATkAAAABAAAAAQAAAAAZnBnbQAAA7gAAACyAAABCUM+8IhnYXNwAAAGTAAAABAAAAAQABoAI2dseWYAAAFsAAABPAAAAZwcEq9taGVhZAAAAsgAAAA0AAAANgh4a91oaGVhAAADCAAAABoAAAAkCA8DRGhtdHgAAAL8AAAADAAAAAwGAACfbG9jYQAAAsAAAAAIAAAACABiATBtYXhwAAACqAAAABgAAAAgAA8ASm5hbWUAAAToAAABQgAAAlXu73sOcG9zdAAABiwAAAAeAAAAME3QpOBwcmVwAAAEbAAAAHYAAAB/aFGpk3jaTY6xa8JAGMW/O62BDi0tJLYQincXEypYIiGJjSgHniQ6umTsUEyLm5BV6NDBP8Tpts6F0v+k/0an2i+itHDw3v2+9+DBKTzsJNnWJNTgHEy4BgG3EMI9DCEDOGEXzDADU5hBKMIgNPZqoD3SilVaXZCER3/I7AtxEJLtzzuZfI+VVkprxTlXShWKb3TBecG11rwoNlmmn1P2WYcJczl32etSpKnziC7lQyWe1smVPy/Lt7Kc+0vWY/gAgIIEqAN9we0pwKXreiMasxvabDQMM4riO+qxM2ogwDGOZTXxwxDiycQIcoYFBLj5K3EIaSctAq2kTYiw+ymhce7vwM9jSqO8JyVd5RH9gyTt2+J/yUmYlIR0s04n6+7Vm1ozezUeLEaUjhaDSuXHwVRgvLJn1tQ7xiuVv/ocTRF42mNgZGBgYGbwZOBiAAFGJBI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jaPZNW13/+lm6S9FT7rLHFJ6fQbkATOG1j2OFMucKJJsxIVfQORl+9Jyda6Sl1dUYhSCm1dyClfoeDve4qMYdLEbfqHf3O/AdDumsjAAB42mNgYoAAZQYjBmyAGYQZmdhL8zLdDEydARfoAqIAAAABAAMABwAKABMAB///AA8AAQAAAAAAAAAAAAAAAAABAAAAAA==) format('woff')}.markdown-body{-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%;line-height:1.5;color:#24292e;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol";font-size:16px;line-height:1.5;word-wrap:break-word}.markdown-body .pl-c{color:#6a737d}.markdown-body .pl-c1,.markdown-body .pl-s .pl-v{color:#005cc5}.markdown-body .pl-e,.markdown-body .pl-en{color:#6f42c1}.markdown-body .pl-s .pl-s1,.markdown-body .pl-smi{color:#24292e}.markdown-body .pl-ent{color:#22863a}.markdown-body .pl-k{color:#d73a49}.markdown-body .pl-pds,.markdown-body .pl-s,.markdown-body .pl-s .pl-pse .pl-s1,.markdown-body .pl-sr,.markdown-body .pl-sr .pl-cce,.markdown-body .pl-sr .pl-sra,.markdown-body .pl-sr .pl-sre{color:#032f62}.markdown-body .pl-smw,.markdown-body .pl-v{color:#e36209}.markdown-body .pl-bu{color:#b31d28}.markdown-body .pl-ii{color:#fafbfc;background-color:#b31d28}.markdown-body .pl-c2{color:#fafbfc;background-color:#d73a49}.markdown-body .pl-c2::before{content:"^M"}.markdown-body .pl-sr .pl-cce{font-weight:700;color:#22863a}.markdown-body .pl-ml{color:#735c0f}.markdown-body .pl-mh,.markdown-body .pl-mh .pl-en,.markdown-body .pl-ms{font-weight:700;color:#005cc5}.markdown-body .pl-mi{font-style:italic;color:#24292e}.markdown-body .pl-mb{font-weight:700;color:#24292e}.markdown-body .pl-md{color:#b31d28;background-color:#ffeef0}.markdown-body .pl-mi1{color:#22863a;background-color:#f0fff4}.markdown-body .pl-mc{color:#e36209;background-color:#ffebda}.markdown-body .pl-mi2{color:#f6f8fa;background-color:#005cc5}.markdown-body .pl-mdr{font-weight:700;color:#6f42c1}.markdown-body .pl-ba{color:#586069}.markdown-body .pl-sg{color:#959da5}.markdown-body .pl-corl{text-decoration:underline;color:#032f62}.markdown-body .octicon{display:inline-block;vertical-align:text-top;fill:currentColor}.markdown-body a{background-color:transparent;-webkit-text-decoration-skip:objects}.markdown-body a:active,.markdown-body a:hover{outline-width:0}.markdown-body strong{font-weight:inherit}.markdown-body strong{font-weight:bolder}.markdown-body h1{font-size:2em;margin:.67em 0}.markdown-body img{border-style:none}.markdown-body svg:not(:root){overflow:hidden}.markdown-body code,.markdown-body kbd,.markdown-body pre{font-family:monospace,monospace;font-size:1em}.markdown-body hr{-webkit-box-sizing:content-box;box-sizing:content-box;height:0;overflow:visible}.markdown-body input{font:inherit;margin:0}.markdown-body input{overflow:visible}.markdown-body [type=checkbox]{-webkit-box-sizing:border-box;box-sizing:border-box;padding:0}.markdown-body *{-webkit-box-sizing:border-box;box-sizing:border-box}.markdown-body input{font-family:inherit;font-size:inherit;line-height:inherit}.markdown-body a{color:#0366d6;text-decoration:none}.markdown-body a:hover{text-decoration:underline}.markdown-body strong{font-weight:600}.markdown-body hr{height:0;margin:15px 0;overflow:hidden;background:0 0;border:0;border-bottom:1px solid #dfe2e5}.markdown-body hr::before{display:table;content:""}.markdown-body hr::after{display:table;clear:both;content:""}.markdown-body table{border-spacing:0;border-collapse:collapse}.markdown-body td,.markdown-body th{padding:0}.markdown-body h1,.markdown-body h2,.markdown-body h3,.markdown-body h4,.markdown-body h5,.markdown-body h6{margin-top:0;margin-bottom:0}.markdown-body h1{font-size:32px;font-weight:600}.markdown-body h2{font-size:24px;font-weight:600}.markdown-body h3{font-size:20px;font-weight:600}.markdown-body h4{font-size:16px;font-weight:600}.markdown-body h5{font-size:14px;font-weight:600}.markdown-body h6{font-size:12px;font-weight:600}.markdown-body p{margin-top:0;margin-bottom:10px}.markdown-body blockquote{margin:0}.markdown-body ol,.markdown-body ul{padding-left:0;margin-top:0;margin-bottom:0}.markdown-body ol ol,.markdown-body ul ol{list-style-type:lower-roman}.markdown-body ol ol ol,.markdown-body ol ul ol,.markdown-body ul ol ol,.markdown-body ul ul ol{list-style-type:lower-alpha}.markdown-body dd{margin-left:0}.markdown-body code{font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace;font-size:12px}.markdown-body pre{margin-top:0;margin-bottom:0;font:12px SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace}.markdown-body .octicon{vertical-align:text-bottom}.markdown-body .pl-0{padding-left:0!important}.markdown-body .pl-1{padding-left:4px!important}.markdown-body .pl-2{padding-left:8px!important}.markdown-body .pl-3{padding-left:16px!important}.markdown-body .pl-4{padding-left:24px!important}.markdown-body .pl-5{padding-left:32px!important}.markdown-body .pl-6{padding-left:40px!important}.markdown-body::before{display:table;content:""}.markdown-body::after{display:table;clear:both;content:""}.markdown-body>:first-child{margin-top:0!important}.markdown-body>:last-child{margin-bottom:0!important}.markdown-body a:not([href]){color:inherit;text-decoration:none}.markdown-body .anchor{float:left;padding-right:4px;margin-left:-20px;line-height:1}.markdown-body .anchor:focus{outline:0}.markdown-body blockquote,.markdown-body dl,.markdown-body ol,.markdown-body p,.markdown-body pre,.markdown-body table,.markdown-body ul{margin-top:0;margin-bottom:16px}.markdown-body hr{height:.25em;padding:0;margin:24px 0;background-color:#e1e4e8;border:0}.markdown-body blockquote{padding:0 1em;color:#6a737d;border-left:.25em solid #dfe2e5}.markdown-body blockquote>:first-child{margin-top:0}.markdown-body blockquote>:last-child{margin-bottom:0}.markdown-body kbd{display:inline-block;padding:3px 5px;font-size:11px;line-height:10px;color:#444d56;vertical-align:middle;background-color:#fafbfc;border:solid 1px #c6cbd1;border-bottom-color:#959da5;border-radius:3px;-webkit-box-shadow:inset 0 -1px 0 #959da5;box-shadow:inset 0 -1px 0 #959da5}.markdown-body h1,.markdown-body h2,.markdown-body h3,.markdown-body h4,.markdown-body h5,.markdown-body h6{margin-top:24px;margin-bottom:16px;font-weight:600;line-height:1.25}.markdown-body h1 .octicon-link,.markdown-body h2 .octicon-link,.markdown-body h3 .octicon-link,.markdown-body h4 .octicon-link,.markdown-body h5 .octicon-link,.markdown-body h6 .octicon-link{color:#1b1f23;vertical-align:middle;visibility:hidden}.markdown-body h1:hover .anchor,.markdown-body h2:hover .anchor,.markdown-body h3:hover .anchor,.markdown-body h4:hover .anchor,.markdown-body h5:hover .anchor,.markdown-body h6:hover .anchor{text-decoration:none}.markdown-body h1:hover .anchor .octicon-link,.markdown-body h2:hover .anchor .octicon-link,.markdown-body h3:hover .anchor .octicon-link,.markdown-body h4:hover .anchor .octicon-link,.markdown-body h5:hover .anchor .octicon-link,.markdown-body h6:hover .anchor .octicon-link{visibility:visible}.markdown-body h1{padding-bottom:.3em;font-size:2em;border-bottom:1px solid #eaecef}.markdown-body h2{padding-bottom:.3em;font-size:1.5em;border-bottom:1px solid #eaecef}.markdown-body h3{font-size:1.25em}.markdown-body h4{font-size:1em}.markdown-body h5{font-size:.875em}.markdown-body h6{font-size:.85em;color:#6a737d}.markdown-body ol,.markdown-body ul{padding-left:2em}.markdown-body ol ol,.markdown-body ol ul,.markdown-body ul ol,.markdown-body ul ul{margin-top:0;margin-bottom:0}.markdown-body li>p{margin-top:16px}.markdown-body li+li{margin-top:.25em}.markdown-body dl{padding:0}.markdown-body dl dt{padding:0;margin-top:16px;font-size:1em;font-style:italic;font-weight:600}.markdown-body dl dd{padding:0 16px;margin-bottom:16px}.markdown-body table{display:block;width:100%;overflow:auto}.markdown-body table th{font-weight:600}.markdown-body table td,.markdown-body table th{padding:6px 13px;border:1px solid #dfe2e5}.markdown-body table tr{background-color:#fff;border-top:1px solid #c6cbd1}.markdown-body table tr:nth-child(2n){background-color:#f6f8fa}.markdown-body img{max-width:100%;-webkit-box-sizing:content-box;box-sizing:content-box;background-color:#fff}.markdown-body code{padding:0;padding-top:.2em;padding-bottom:.2em;margin:0;font-size:85%;background-color:rgba(27,31,35,.05);border-radius:3px}.markdown-body code::after,.markdown-body code::before{letter-spacing:-.2em;content:"\A0"}.markdown-body pre{word-wrap:normal}.markdown-body pre>code{padding:0;margin:0;font-size:100%;word-break:normal;white-space:pre;background:0 0;border:0}.markdown-body .highlight{margin-bottom:16px}.markdown-body .highlight pre{margin-bottom:0;word-break:normal}.markdown-body .highlight pre,.markdown-body pre{padding:16px;overflow:auto;font-size:85%;line-height:1.45;background-color:#f6f8fa;border-radius:3px}.markdown-body pre code{display:inline;max-width:auto;padding:0;margin:0;overflow:visible;line-height:inherit;word-wrap:normal;background-color:transparent;border:0}.markdown-body pre code::after,.markdown-body pre code::before{content:normal}.markdown-body .full-commit .btn-outline:not(:disabled):hover{color:#005cc5;border-color:#005cc5}.markdown-body kbd{display:inline-block;padding:3px 5px;font:11px SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace;line-height:10px;color:#444d56;vertical-align:middle;background-color:#fafbfc;border:solid 1px #d1d5da;border-bottom-color:#c6cbd1;border-radius:3px;-webkit-box-shadow:inset 0 -1px 0 #c6cbd1;box-shadow:inset 0 -1px 0 #c6cbd1}.markdown-body :checked+.radio-label{position:relative;z-index:1;border-color:#0366d6}.markdown-body .task-list-item{list-style-type:none}.markdown-body .task-list-item+.task-list-item{margin-top:3px}.markdown-body .task-list-item input{margin:0 .2em .25em -1.6em;vertical-align:middle}.markdown-body hr{border-bottom-color:#eee}.gt-container{-webkit-box-sizing:border-box;box-sizing:border-box;font-size:16px}.gt-container *{-webkit-box-sizing:border-box;box-sizing:border-box}.gt-container a{color:#6190e8}.gt-container a:hover{color:#81a6ed;border-color:#81a6ed}.gt-container a.is--active{color:#333;cursor:default!important}.gt-container a.is--active:hover{color:#333}.gt-container .gt-svg{display:inline-block;width:1em;height:1em;vertical-align:sub}.gt-container .gt-svg svg{width:100%;height:100%;fill:#6190e8}.gt-container .gt-ico{display:inline-block}.gt-container .gt-ico-text{margin-left:.3125em}.gt-container .gt-ico-github .gt-svg{width:100%;height:100%}.gt-container .gt-ico-github svg{fill:inherit}.gt-container .gt-spinner{position:relative}.gt-container .gt-spinner::before{content:'';-webkit-box-sizing:border-box;box-sizing:border-box;position:absolute;top:3px;width:.75em;height:.75em;margin-top:-.1875em;margin-left:-.375em;border-radius:50%;border:1px solid #fff;border-top-color:#6190e8;-webkit-animation:gt-kf-rotate .6s linear infinite;animation:gt-kf-rotate .6s linear infinite}.gt-container .gt-loader{position:relative;border:1px solid #999;-webkit-animation:ease gt-kf-rotate 1.5s infinite;animation:ease gt-kf-rotate 1.5s infinite;display:inline-block;font-style:normal;width:1.75em;height:1.75em;line-height:1.75em;border-radius:50%}.gt-container .gt-loader:before{content:'';position:absolute;display:block;top:0;left:50%;margin-top:-.1875em;margin-left:-.1875em;width:.375em;height:.375em;background-color:#999;border-radius:50%}.gt-container .gt-avatar{display:inline-block;width:3.125em;height:3.125em}@media (max-width:479px){.gt-container .gt-avatar{width:2em;height:2em}}.gt-container .gt-avatar img{width:100%;height:auto;border-radius:3px}.gt-container .gt-avatar-github{width:3em;height:3em}@media (max-width:479px){.gt-container .gt-avatar-github{width:1.875em;height:1.875em}}.gt-container .gt-btn{padding:.75em 1em;display:inline-block;line-height:1;text-decoration:none;white-space:nowrap;cursor:pointer;border:none;border-radius:5px;background-color:#6190e8;color:#fff;outline:0;font-size:.75em}.gt-container .gt-btn:hover{background-color:#81a6ed;color:#fff}.gt-container .gt-btn-text{font-weight:400}.gt-container .gt-btn-loading{position:relative;margin-left:.5em;display:inline-block;width:.75em;height:1em;vertical-align:top}.gt-container .gt-btn.is--disable{cursor:not-allowed;opacity:.5}.gt-container .gt-btn-login{margin-right:0}.gt-container .gt-error{text-align:center;margin:.625em;color:#ff3860}.gt-container .gt-initing{padding:1.25em 0;text-align:center}.gt-container .gt-initing-text{margin:.625em auto;font-size:92%}.gt-container .gt-no-init{padding:1.25em 0;text-align:center}.gt-container .gt-link{border-bottom:1px dotted #6190e8}.gt-container .gt-link-counts,.gt-container .gt-link-project{text-decoration:none}.gt-container .gt-meta{margin:1.25em 0;padding:1em 0;position:relative;border-bottom:1px solid #e9e9e9;font-size:1em;position:relative;z-index:10}.gt-container .gt-meta:after,.gt-container .gt-meta:before{content:" ";display:table}.gt-container .gt-meta:after{clear:both}.gt-container .gt-counts{margin:0 .625em 0 0}.gt-container .gt-user{float:right;margin:0;font-size:92%}.gt-container .gt-user-pic{width:16px;height:16px;vertical-align:top;margin-right:.5em}.gt-container .gt-user-inner{display:inline-block;cursor:pointer}.gt-container .gt-user .gt-ico{margin:0 0 0 .3125em}.gt-container .gt-user .gt-ico svg{fill:inherit}.gt-container .gt-user .is--poping .gt-ico svg{fill:#6190e8}.gt-container .gt-version{color:#a1a1a1;margin-left:.375em}.gt-container .gt-copyright{margin:0 .9375em .5em;border-top:1px solid #e9e9e9;padding-top:.5em}.gt-container .gt-popup{position:absolute;right:0;top:2.375em;background:#fff;display:inline-block;border:1px solid #e9e9e9;padding:.625em 0;font-size:.875em;letter-spacing:.5px}.gt-container .gt-popup .gt-action{cursor:pointer;display:block;margin:.5em 0;padding:0 1.125em;position:relative;text-decoration:none}.gt-container .gt-popup .gt-action.is--active:before{content:'';width:.25em;height:.25em;background:#6190e8;position:absolute;left:.5em;top:.4375em}.gt-container .gt-header{position:relative;display:-webkit-box;display:-ms-flexbox;display:flex}.gt-container .gt-header-comment{-webkit-box-flex:1;-ms-flex:1;flex:1;margin-left:1.25em}@media (max-width:479px){.gt-container .gt-header-comment{margin-left:.875em}}.gt-container .gt-header-textarea{padding:.75em;display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:100%;min-height:5.125em;max-height:15em;border-radius:5px;border:1px solid rgba(0,0,0,.1);font-size:.875em;word-wrap:break-word;resize:vertical;background-color:#f6f6f6;outline:0;-webkit-transition:all .25s ease;transition:all .25s ease}.gt-container .gt-header-textarea:hover{background-color:#fbfbfb}.gt-container .gt-header-controls{position:relative;margin:.75em 0 0}.gt-container .gt-header-controls:after,.gt-container .gt-header-controls:before{content:" ";display:table}.gt-container .gt-header-controls:after{clear:both}.gt-container .gt-header-controls-tip{font-size:.875em;color:#6190e8;text-decoration:none;vertical-align:sub}@media (max-width:479px){.gt-container .gt-header-controls-tip{display:none}}.gt-container .gt-header-controls .gt-btn{float:right}@media (max-width:479px){.gt-container .gt-header-controls .gt-btn{float:none;width:100%}}.gt-container:after{content:'';position:fixed;bottom:100%;left:0;right:0;top:0;opacity:0}.gt-container.gt-input-focused{position:relative}.gt-container.gt-input-focused:after{content:'';position:fixed;bottom:0;left:0;right:0;top:0;background:#000;opacity:.6;-webkit-transition:opacity .3s,bottom 0s;transition:opacity .3s,bottom 0s;z-index:9999}.gt-container.gt-input-focused .gt-header-comment{z-index:10000}.gt-container .gt-comments{padding-top:1.25em}.gt-container .gt-comments-null{text-align:center}.gt-container .gt-comments-controls{margin:1.25em 0;text-align:center}.gt-container .gt-comment{position:relative;padding:.625em 0;display:-webkit-box;display:-ms-flexbox;display:flex}.gt-container .gt-comment-content{-webkit-box-flex:1;-ms-flex:1;flex:1;margin-left:1.25em;padding:.75em 1em;background-color:#f9f9f9;overflow:auto;-webkit-transition:all ease .25s;transition:all ease .25s}.gt-container .gt-comment-content:hover{-webkit-box-shadow:0 .625em 3.75em 0 #f4f4f4;box-shadow:0 .625em 3.75em 0 #f4f4f4}@media (max-width:479px){.gt-container .gt-comment-content{margin-left:.875em;padding:.625em .75em}}.gt-container .gt-comment-header{margin-bottom:.5em;font-size:.875em;position:relative}.gt-container .gt-comment-username{font-weight:500;color:#6190e8;text-decoration:none}.gt-container .gt-comment-username:hover{text-decoration:underline}.gt-container .gt-comment-text{margin-left:.5em;color:#a1a1a1}.gt-container .gt-comment-date{margin-left:.5em;color:#a1a1a1}.gt-container .gt-comment-edit,.gt-container .gt-comment-like,.gt-container .gt-comment-reply{position:absolute;height:1.375em}.gt-container .gt-comment-edit:hover,.gt-container .gt-comment-like:hover,.gt-container .gt-comment-reply:hover{cursor:pointer}.gt-container .gt-comment-like{top:0;right:2em}.gt-container .gt-comment-edit,.gt-container .gt-comment-reply{top:0;right:0}.gt-container .gt-comment-body{color:#333!important}.gt-container .gt-comment-admin .gt-comment-content{background-color:#f6f9fe}@-webkit-keyframes gt-kf-rotate{0%{-webkit-transform:rotate(0);transform:rotate(0)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes gt-kf-rotate{0%{-webkit-transform:rotate(0);transform:rotate(0)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}} diff --git a/themes/even/static/lib/gitalk/gitalk-1.2.2.min.js b/themes/even/static/lib/gitalk/gitalk-1.2.2.min.js deleted file mode 100644 index 1292428..0000000 --- a/themes/even/static/lib/gitalk/gitalk-1.2.2.min.js +++ /dev/null @@ -1,19 +0,0 @@ -!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.Gitalk=t():e.Gitalk=t()}(this,function(){return function(e){function t(r){if(n[r])return n[r].exports;var o=n[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,t),o.l=!0,o.exports}var n={};return t.m=e,t.c=n,t.d=function(e,n,r){t.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:r})},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="/dist",t(t.s=75)}([function(e,t){var n=e.exports={version:"2.4.0"};"number"==typeof __e&&(__e=n)},function(e,t,n){var r=n(39)("wks"),o=n(24),i=n(2).Symbol,a="function"==typeof i;(e.exports=function(e){return r[e]||(r[e]=a&&i[e]||(a?i:o)("Symbol."+e))}).store=r},function(e,t){var n=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},function(e,t,n){"use strict";function r(e){return"[object Array]"===N.call(e)}function o(e){return"[object ArrayBuffer]"===N.call(e)}function i(e){return"undefined"!=typeof FormData&&e instanceof FormData}function a(e){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&e.buffer instanceof ArrayBuffer}function u(e){return"string"==typeof e}function s(e){return"number"==typeof e}function c(e){return void 0===e}function l(e){return null!==e&&"object"==typeof e}function f(e){return"[object Date]"===N.call(e)}function p(e){return"[object File]"===N.call(e)}function d(e){return"[object Blob]"===N.call(e)}function h(e){return"[object Function]"===N.call(e)}function m(e){return l(e)&&h(e.pipe)}function v(e){return"undefined"!=typeof URLSearchParams&&e instanceof URLSearchParams}function g(e){return e.replace(/^\s*/,"").replace(/\s*$/,"")}function y(){return("undefined"==typeof navigator||"ReactNative"!==navigator.product)&&("undefined"!=typeof window&&"undefined"!=typeof document)}function b(e,t){if(null!==e&&void 0!==e)if("object"==typeof e||r(e)||(e=[e]),r(e))for(var n=0,o=e.length;n0;)n[r]=arguments[r+2];if(!g(e))return e;var o=e.attributes||e.props,i=G.h(e.nodeName||e.type,o,e.children||o&&o.children),a=[i,t];return n&&n.length?a.push(n):t&&t.children&&a.push(t.children),m(G.cloneElement.apply(void 0,a))}function g(e){return e&&(e instanceof q||e.$$typeof===H)}function y(e,t){return t._refProxies[e]||(t._refProxies[e]=function(n){t&&t.refs&&(t.refs[e]=n,null===n&&(delete t._refProxies[e],t=null))})}function b(e){var t=e.nodeName,n=e.attributes;if(n&&"string"==typeof t){var r={};for(var o in n)r[o.toLowerCase()]=o;if(r.ondoubleclick&&(n.ondblclick=n[r.ondoubleclick],delete n[r.ondoubleclick]),r.onchange&&("textarea"===t||"input"===t.toLowerCase()&&!/^fil|che|rad/i.test(n.type))){var i=r.oninput||"oninput";n[i]||(n[i]=M([n[i],n[r.onchange]]),delete n[r.onchange])}}}function _(e){var t=e.attributes;if(t){var n=t.className||t.class;n&&(t.className=n)}}function w(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);return e}function x(e,t){for(var n in e)if(!(n in t))return!0;for(var r in t)if(e[r]!==t[r])return!0;return!1}function E(e){return e&&e.base||e}function N(){}function C(e){function t(e,t){T(this),I.call(this,e,t,Y),k.call(this,e,t)}return e=w({constructor:t},e),e.mixins&&O(e,S(e.mixins)),e.statics&&w(t,e.statics),e.propTypes&&(t.propTypes=e.propTypes),e.defaultProps&&(t.defaultProps=e.defaultProps),e.getDefaultProps&&(t.defaultProps=e.getDefaultProps()),N.prototype=I.prototype,t.prototype=w(new N,e),t.displayName=e.displayName||"Component",t}function S(e){for(var t={},n=0;n1)for(var n=1;n=t.length?{value:void 0,done:!0}:(e=r(t,n),this._i+=e.length,{value:e,done:!1})})},function(e,t){var n={}.toString;e.exports=function(e){return n.call(e).slice(8,-1)}},function(e,t,n){var r=n(35);e.exports=function(e){return Object(r(e))}},function(e,t){e.exports=!0},function(e,t){var n=0,r=Math.random();e.exports=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++n+r).toString(36))}},function(e,t,n){var r=n(7).f,o=n(11),i=n(1)("toStringTag");e.exports=function(e,t,n){e&&!o(e=n?e:e.prototype,i)&&r(e,i,{configurable:!0,value:t})}},function(e,t,n){n(96);for(var r=n(2),o=n(10),i=n(16),a=n(1)("toStringTag"),u=["NodeList","DOMTokenList","MediaList","StyleSheetList","CSSRuleList"],s=0;s<5;s++){var c=u[s],l=r[c],f=l&&l.prototype;f&&!f[a]&&o(f,a,c),i[c]=i.Array}},function(e,t){t.f={}.propertyIsEnumerable},function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}},function(e,t,n){var r=n(14),o=n(2).document,i=r(o)&&r(o.createElement);e.exports=function(e){return i?o.createElement(e):{}}},function(e,t,n){var r=n(14);e.exports=function(e,t){if(!r(e))return e;var n,o;if(t&&"function"==typeof(n=e.toString)&&!r(o=n.call(e)))return o;if("function"==typeof(n=e.valueOf)&&!r(o=n.call(e)))return o;if(!t&&"function"==typeof(n=e.toString)&&!r(o=n.call(e)))return o;throw TypeError("Can't convert object to primitive value")}},function(e,t,n){"use strict";function r(e){return function(){return e}}var o=function(){};o.thatReturns=r,o.thatReturnsFalse=r(!1),o.thatReturnsTrue=r(!0),o.thatReturnsNull=r(null),o.thatReturnsThis=function(){return this},o.thatReturnsArgument=function(e){return e},e.exports=o},function(e,t,n){"use strict";(function(t){function n(e,t,n,o,i,a,u,s){if(r(t),!e){var c;if(void 0===t)c=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var l=[n,o,i,a,u,s],f=0;c=new Error(t.replace(/%s/g,function(){return l[f++]})),c.name="Invariant Violation"}throw c.framesToPop=1,c}}var r=function(e){};"production"!==t.env.NODE_ENV&&(r=function(e){if(void 0===e)throw new Error("invariant requires an error message argument")}),e.exports=n}).call(t,n(5))},function(e,t,n){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(e,t){var n=Math.ceil,r=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?r:n)(e)}},function(e,t){e.exports=function(e){if(void 0==e)throw TypeError("Can't call method on "+e);return e}},function(e,t,n){var r=n(8),o=n(93),i=n(40),a=n(38)("IE_PROTO"),u=function(){},s=function(){var e,t=n(29)("iframe"),r=i.length;for(t.style.display="none",n(57).appendChild(t),t.src="javascript:",e=t.contentWindow.document,e.open(),e.write("",rE:!0,sL:["actionscript","javascript","handlebars","xml"]}},{cN:"meta",v:[{b:/<\?xml/,e:/\?>/,r:10},{b:/<\?\w+/,e:/\?>/}]},{cN:"tag",b:"",c:[{cN:"name",b:/[^\/><\s]+/,r:0},t]}]}});hljs.registerLanguage("markdown",function(e){return{aliases:["md","mkdown","mkd"],c:[{cN:"section",v:[{b:"^#{1,6}",e:"$"},{b:"^.+?\\n[=-]{2,}$"}]},{b:"<",e:">",sL:"xml",r:0},{cN:"bullet",b:"^([*+-]|(\\d+\\.))\\s+"},{cN:"strong",b:"[*_]{2}.+?[*_]{2}"},{cN:"emphasis",v:[{b:"\\*.+?\\*"},{b:"_.+?_",r:0}]},{cN:"quote",b:"^>\\s+",e:"$"},{cN:"code",v:[{b:"^```w*s*$",e:"^```s*$"},{b:"`.+?`"},{b:"^( {4}| )",e:"$",r:0}]},{b:"^[-\\*]{3,}",e:"$"},{b:"\\[.+?\\][\\(\\[].*?[\\)\\]]",rB:!0,c:[{cN:"string",b:"\\[",e:"\\]",eB:!0,rE:!0,r:0},{cN:"link",b:"\\]\\(",e:"\\)",eB:!0,eE:!0},{cN:"symbol",b:"\\]\\[",e:"\\]",eB:!0,eE:!0}],r:10},{b:/^\[[^\n]+\]:/,rB:!0,c:[{cN:"symbol",b:/\[/,e:/\]/,eB:!0,eE:!0},{cN:"link",b:/:\s*/,e:/$/,eB:!0}]}]}});hljs.registerLanguage("scala",function(e){var t={cN:"meta",b:"@[A-Za-z]+"},a={cN:"subst",v:[{b:"\\$[A-Za-z0-9_]+"},{b:"\\${",e:"}"}]},r={cN:"string",v:[{b:'"',e:'"',i:"\\n",c:[e.BE]},{b:'"""',e:'"""',r:10},{b:'[a-z]+"',e:'"',i:"\\n",c:[e.BE,a]},{cN:"string",b:'[a-z]+"""',e:'"""',c:[a],r:10}]},c={cN:"symbol",b:"'\\w[\\w\\d_]*(?!')"},i={cN:"type",b:"\\b[A-Z][A-Za-z0-9_]*",r:0},s={cN:"title",b:/[^0-9\n\t "'(),.`{}\[\]:;][^\n\t "'(),.`{}\[\]:;]+|[^0-9\n\t "'(),.`{}\[\]:;=]/,r:0},n={cN:"class",bK:"class object trait type",e:/[:={\[\n;]/,eE:!0,c:[{bK:"extends with",r:10},{b:/\[/,e:/\]/,eB:!0,eE:!0,r:0,c:[i]},{cN:"params",b:/\(/,e:/\)/,eB:!0,eE:!0,r:0,c:[i]},s]},l={cN:"function",bK:"def",e:/[:={\[(\n;]/,eE:!0,c:[s]};return{k:{literal:"true false null",keyword:"type yield lazy override def with val var sealed abstract private trait object if forSome for while throw finally protected extends import final return else break new catch super class case package default try this match continue throws implicit"},c:[e.CLCM,e.CBCM,r,c,i,l,n,e.CNM,t]}});hljs.registerLanguage("matlab",function(e){var a=[e.CNM,{cN:"string",b:"'",e:"'",c:[e.BE,{b:"''"}]}],s={r:0,c:[{b:/'['\.]*/}]};return{k:{keyword:"break case catch classdef continue else elseif end enumerated events for function global if methods otherwise parfor persistent properties return spmd switch try while",built_in:"sin sind sinh asin asind asinh cos cosd cosh acos acosd acosh tan tand tanh atan atand atan2 atanh sec secd sech asec asecd asech csc cscd csch acsc acscd acsch cot cotd coth acot acotd acoth hypot exp expm1 log log1p log10 log2 pow2 realpow reallog realsqrt sqrt nthroot nextpow2 abs angle complex conj imag real unwrap isreal cplxpair fix floor ceil round mod rem sign airy besselj bessely besselh besseli besselk beta betainc betaln ellipj ellipke erf erfc erfcx erfinv expint gamma gammainc gammaln psi legendre cross dot factor isprime primes gcd lcm rat rats perms nchoosek factorial cart2sph cart2pol pol2cart sph2cart hsv2rgb rgb2hsv zeros ones eye repmat rand randn linspace logspace freqspace meshgrid accumarray size length ndims numel disp isempty isequal isequalwithequalnans cat reshape diag blkdiag tril triu fliplr flipud flipdim rot90 find sub2ind ind2sub bsxfun ndgrid permute ipermute shiftdim circshift squeeze isscalar isvector ans eps realmax realmin pi i inf nan isnan isinf isfinite j why compan gallery hadamard hankel hilb invhilb magic pascal rosser toeplitz vander wilkinson"},i:'(//|"|#|/\\*|\\s+/\\w+)',c:[{cN:"function",bK:"function",e:"$",c:[e.UTM,{cN:"params",v:[{b:"\\(",e:"\\)"},{b:"\\[",e:"\\]"}]}]},{b:/[a-zA-Z_][a-zA-Z_0-9]*'['\.]*/,rB:!0,r:0,c:[{b:/[a-zA-Z_][a-zA-Z_0-9]*/,r:0},s.c[0]]},{b:"\\[",e:"\\]",c:a,r:0,starts:s},{b:"\\{",e:/}/,c:a,r:0,starts:s},{b:/\)/,r:0,starts:s},e.C("^\\s*\\%\\{\\s*$","^\\s*\\%\\}\\s*$"),e.C("\\%","$")].concat(a)}});hljs.registerLanguage("json",function(e){var i={literal:"true false null"},n=[e.QSM,e.CNM],r={e:",",eW:!0,eE:!0,c:n,k:i},t={b:"{",e:"}",c:[{cN:"attr",b:/"/,e:/"/,c:[e.BE],i:"\\n"},e.inherit(r,{b:/:/})],i:"\\S"},c={b:"\\[",e:"\\]",c:[e.inherit(r)],i:"\\S"};return n.splice(n.length,0,t,c),{c:n,k:i,i:"\\S"}});hljs.registerLanguage("kotlin",function(e){var t={keyword:"abstract as val var vararg get set class object open private protected public noinline crossinline dynamic final enum if else do while for when throw try catch finally import package is in fun override companion reified inline lateinit initinterface annotation data sealed internal infix operator out by constructor super trait volatile transient native default",built_in:"Byte Short Char Int Long Boolean Float Double Void Unit Nothing",literal:"true false null"},r={cN:"keyword",b:/\b(break|continue|return|this)\b/,starts:{c:[{cN:"symbol",b:/@\w+/}]}},i={cN:"symbol",b:e.UIR+"@"},n={cN:"subst",b:"\\${",e:"}",c:[e.ASM,e.CNM]},a={cN:"variable",b:"\\$"+e.UIR},c={cN:"string",v:[{b:'"""',e:'"""',c:[a,n]},{b:"'",e:"'",i:/\n/,c:[e.BE]},{b:'"',e:'"',i:/\n/,c:[e.BE,a,n]}]},s={cN:"meta",b:"@(?:file|property|field|get|set|receiver|param|setparam|delegate)\\s*:(?:\\s*"+e.UIR+")?"},o={cN:"meta",b:"@"+e.UIR,c:[{b:/\(/,e:/\)/,c:[e.inherit(c,{cN:"meta-string"})]}]};return{k:t,c:[e.C("/\\*\\*","\\*/",{r:0,c:[{cN:"doctag",b:"@[A-Za-z]+"}]}),e.CLCM,e.CBCM,r,i,s,o,{cN:"function",bK:"fun",e:"[(]|$",rB:!0,eE:!0,k:t,i:/fun\s+(<.*>)?[^\s\(]+(\s+[^\s\(]+)\s*=/,r:5,c:[{b:e.UIR+"\\s*\\(",rB:!0,r:0,c:[e.UTM]},{cN:"type",b://,k:"reified",r:0},{cN:"params",b:/\(/,e:/\)/,endsParent:!0,k:t,r:0,c:[{b:/:/,e:/[=,\/]/,eW:!0,c:[{cN:"type",b:e.UIR},e.CLCM,e.CBCM],r:0},e.CLCM,e.CBCM,s,o,c,e.CNM]},e.CBCM]},{cN:"class",bK:"class interface trait",e:/[:\{(]|$/,eE:!0,i:"extends implements",c:[{bK:"public protected internal private constructor"},e.UTM,{cN:"type",b://,eB:!0,eE:!0,r:0},{cN:"type",b:/[,:]\s*/,e:/[<\(,]|$/,eB:!0,rE:!0},s,o]},c,{cN:"meta",b:"^#!/usr/bin/env",e:"$",i:"\n"},e.CNM]}}); \ No newline at end of file diff --git a/themes/even/static/lib/jquery/jquery-3.2.1.min.js b/themes/even/static/lib/jquery/jquery-3.2.1.min.js deleted file mode 100644 index 644d35e..0000000 --- a/themes/even/static/lib/jquery/jquery-3.2.1.min.js +++ /dev/null @@ -1,4 +0,0 @@ -/*! jQuery v3.2.1 | (c) JS Foundation and other contributors | jquery.org/license */ -!function(a,b){"use strict";"object"==typeof module&&"object"==typeof module.exports?module.exports=a.document?b(a,!0):function(a){if(!a.document)throw new Error("jQuery requires a window with a document");return b(a)}:b(a)}("undefined"!=typeof window?window:this,function(a,b){"use strict";var c=[],d=a.document,e=Object.getPrototypeOf,f=c.slice,g=c.concat,h=c.push,i=c.indexOf,j={},k=j.toString,l=j.hasOwnProperty,m=l.toString,n=m.call(Object),o={};function p(a,b){b=b||d;var c=b.createElement("script");c.text=a,b.head.appendChild(c).parentNode.removeChild(c)}var q="3.2.1",r=function(a,b){return new r.fn.init(a,b)},s=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,t=/^-ms-/,u=/-([a-z])/g,v=function(a,b){return b.toUpperCase()};r.fn=r.prototype={jquery:q,constructor:r,length:0,toArray:function(){return f.call(this)},get:function(a){return null==a?f.call(this):a<0?this[a+this.length]:this[a]},pushStack:function(a){var b=r.merge(this.constructor(),a);return b.prevObject=this,b},each:function(a){return r.each(this,a)},map:function(a){return this.pushStack(r.map(this,function(b,c){return a.call(b,c,b)}))},slice:function(){return this.pushStack(f.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(a){var b=this.length,c=+a+(a<0?b:0);return this.pushStack(c>=0&&c0&&b-1 in a)}var x=function(a){var b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u="sizzle"+1*new Date,v=a.document,w=0,x=0,y=ha(),z=ha(),A=ha(),B=function(a,b){return a===b&&(l=!0),0},C={}.hasOwnProperty,D=[],E=D.pop,F=D.push,G=D.push,H=D.slice,I=function(a,b){for(var c=0,d=a.length;c+~]|"+K+")"+K+"*"),S=new RegExp("="+K+"*([^\\]'\"]*?)"+K+"*\\]","g"),T=new RegExp(N),U=new RegExp("^"+L+"$"),V={ID:new RegExp("^#("+L+")"),CLASS:new RegExp("^\\.("+L+")"),TAG:new RegExp("^("+L+"|[*])"),ATTR:new RegExp("^"+M),PSEUDO:new RegExp("^"+N),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+K+"*(even|odd|(([+-]|)(\\d*)n|)"+K+"*(?:([+-]|)"+K+"*(\\d+)|))"+K+"*\\)|)","i"),bool:new RegExp("^(?:"+J+")$","i"),needsContext:new RegExp("^"+K+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+K+"*((?:-\\d)?\\d*)"+K+"*\\)|)(?=[^-]|$)","i")},W=/^(?:input|select|textarea|button)$/i,X=/^h\d$/i,Y=/^[^{]+\{\s*\[native \w/,Z=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,$=/[+~]/,_=new RegExp("\\\\([\\da-f]{1,6}"+K+"?|("+K+")|.)","ig"),aa=function(a,b,c){var d="0x"+b-65536;return d!==d||c?b:d<0?String.fromCharCode(d+65536):String.fromCharCode(d>>10|55296,1023&d|56320)},ba=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,ca=function(a,b){return b?"\0"===a?"\ufffd":a.slice(0,-1)+"\\"+a.charCodeAt(a.length-1).toString(16)+" ":"\\"+a},da=function(){m()},ea=ta(function(a){return a.disabled===!0&&("form"in a||"label"in a)},{dir:"parentNode",next:"legend"});try{G.apply(D=H.call(v.childNodes),v.childNodes),D[v.childNodes.length].nodeType}catch(fa){G={apply:D.length?function(a,b){F.apply(a,H.call(b))}:function(a,b){var c=a.length,d=0;while(a[c++]=b[d++]);a.length=c-1}}}function ga(a,b,d,e){var f,h,j,k,l,o,r,s=b&&b.ownerDocument,w=b?b.nodeType:9;if(d=d||[],"string"!=typeof a||!a||1!==w&&9!==w&&11!==w)return d;if(!e&&((b?b.ownerDocument||b:v)!==n&&m(b),b=b||n,p)){if(11!==w&&(l=Z.exec(a)))if(f=l[1]){if(9===w){if(!(j=b.getElementById(f)))return d;if(j.id===f)return d.push(j),d}else if(s&&(j=s.getElementById(f))&&t(b,j)&&j.id===f)return d.push(j),d}else{if(l[2])return G.apply(d,b.getElementsByTagName(a)),d;if((f=l[3])&&c.getElementsByClassName&&b.getElementsByClassName)return G.apply(d,b.getElementsByClassName(f)),d}if(c.qsa&&!A[a+" "]&&(!q||!q.test(a))){if(1!==w)s=b,r=a;else if("object"!==b.nodeName.toLowerCase()){(k=b.getAttribute("id"))?k=k.replace(ba,ca):b.setAttribute("id",k=u),o=g(a),h=o.length;while(h--)o[h]="#"+k+" "+sa(o[h]);r=o.join(","),s=$.test(a)&&qa(b.parentNode)||b}if(r)try{return G.apply(d,s.querySelectorAll(r)),d}catch(x){}finally{k===u&&b.removeAttribute("id")}}}return i(a.replace(P,"$1"),b,d,e)}function ha(){var a=[];function b(c,e){return a.push(c+" ")>d.cacheLength&&delete b[a.shift()],b[c+" "]=e}return b}function ia(a){return a[u]=!0,a}function ja(a){var b=n.createElement("fieldset");try{return!!a(b)}catch(c){return!1}finally{b.parentNode&&b.parentNode.removeChild(b),b=null}}function ka(a,b){var c=a.split("|"),e=c.length;while(e--)d.attrHandle[c[e]]=b}function la(a,b){var c=b&&a,d=c&&1===a.nodeType&&1===b.nodeType&&a.sourceIndex-b.sourceIndex;if(d)return d;if(c)while(c=c.nextSibling)if(c===b)return-1;return a?1:-1}function ma(a){return function(b){var c=b.nodeName.toLowerCase();return"input"===c&&b.type===a}}function na(a){return function(b){var c=b.nodeName.toLowerCase();return("input"===c||"button"===c)&&b.type===a}}function oa(a){return function(b){return"form"in b?b.parentNode&&b.disabled===!1?"label"in b?"label"in b.parentNode?b.parentNode.disabled===a:b.disabled===a:b.isDisabled===a||b.isDisabled!==!a&&ea(b)===a:b.disabled===a:"label"in b&&b.disabled===a}}function pa(a){return ia(function(b){return b=+b,ia(function(c,d){var e,f=a([],c.length,b),g=f.length;while(g--)c[e=f[g]]&&(c[e]=!(d[e]=c[e]))})})}function qa(a){return a&&"undefined"!=typeof a.getElementsByTagName&&a}c=ga.support={},f=ga.isXML=function(a){var b=a&&(a.ownerDocument||a).documentElement;return!!b&&"HTML"!==b.nodeName},m=ga.setDocument=function(a){var b,e,g=a?a.ownerDocument||a:v;return g!==n&&9===g.nodeType&&g.documentElement?(n=g,o=n.documentElement,p=!f(n),v!==n&&(e=n.defaultView)&&e.top!==e&&(e.addEventListener?e.addEventListener("unload",da,!1):e.attachEvent&&e.attachEvent("onunload",da)),c.attributes=ja(function(a){return a.className="i",!a.getAttribute("className")}),c.getElementsByTagName=ja(function(a){return a.appendChild(n.createComment("")),!a.getElementsByTagName("*").length}),c.getElementsByClassName=Y.test(n.getElementsByClassName),c.getById=ja(function(a){return o.appendChild(a).id=u,!n.getElementsByName||!n.getElementsByName(u).length}),c.getById?(d.filter.ID=function(a){var b=a.replace(_,aa);return function(a){return a.getAttribute("id")===b}},d.find.ID=function(a,b){if("undefined"!=typeof b.getElementById&&p){var c=b.getElementById(a);return c?[c]:[]}}):(d.filter.ID=function(a){var b=a.replace(_,aa);return function(a){var c="undefined"!=typeof a.getAttributeNode&&a.getAttributeNode("id");return c&&c.value===b}},d.find.ID=function(a,b){if("undefined"!=typeof b.getElementById&&p){var c,d,e,f=b.getElementById(a);if(f){if(c=f.getAttributeNode("id"),c&&c.value===a)return[f];e=b.getElementsByName(a),d=0;while(f=e[d++])if(c=f.getAttributeNode("id"),c&&c.value===a)return[f]}return[]}}),d.find.TAG=c.getElementsByTagName?function(a,b){return"undefined"!=typeof b.getElementsByTagName?b.getElementsByTagName(a):c.qsa?b.querySelectorAll(a):void 0}:function(a,b){var c,d=[],e=0,f=b.getElementsByTagName(a);if("*"===a){while(c=f[e++])1===c.nodeType&&d.push(c);return d}return f},d.find.CLASS=c.getElementsByClassName&&function(a,b){if("undefined"!=typeof b.getElementsByClassName&&p)return b.getElementsByClassName(a)},r=[],q=[],(c.qsa=Y.test(n.querySelectorAll))&&(ja(function(a){o.appendChild(a).innerHTML="",a.querySelectorAll("[msallowcapture^='']").length&&q.push("[*^$]="+K+"*(?:''|\"\")"),a.querySelectorAll("[selected]").length||q.push("\\["+K+"*(?:value|"+J+")"),a.querySelectorAll("[id~="+u+"-]").length||q.push("~="),a.querySelectorAll(":checked").length||q.push(":checked"),a.querySelectorAll("a#"+u+"+*").length||q.push(".#.+[+~]")}),ja(function(a){a.innerHTML="";var b=n.createElement("input");b.setAttribute("type","hidden"),a.appendChild(b).setAttribute("name","D"),a.querySelectorAll("[name=d]").length&&q.push("name"+K+"*[*^$|!~]?="),2!==a.querySelectorAll(":enabled").length&&q.push(":enabled",":disabled"),o.appendChild(a).disabled=!0,2!==a.querySelectorAll(":disabled").length&&q.push(":enabled",":disabled"),a.querySelectorAll("*,:x"),q.push(",.*:")})),(c.matchesSelector=Y.test(s=o.matches||o.webkitMatchesSelector||o.mozMatchesSelector||o.oMatchesSelector||o.msMatchesSelector))&&ja(function(a){c.disconnectedMatch=s.call(a,"*"),s.call(a,"[s!='']:x"),r.push("!=",N)}),q=q.length&&new RegExp(q.join("|")),r=r.length&&new RegExp(r.join("|")),b=Y.test(o.compareDocumentPosition),t=b||Y.test(o.contains)?function(a,b){var c=9===a.nodeType?a.documentElement:a,d=b&&b.parentNode;return a===d||!(!d||1!==d.nodeType||!(c.contains?c.contains(d):a.compareDocumentPosition&&16&a.compareDocumentPosition(d)))}:function(a,b){if(b)while(b=b.parentNode)if(b===a)return!0;return!1},B=b?function(a,b){if(a===b)return l=!0,0;var d=!a.compareDocumentPosition-!b.compareDocumentPosition;return d?d:(d=(a.ownerDocument||a)===(b.ownerDocument||b)?a.compareDocumentPosition(b):1,1&d||!c.sortDetached&&b.compareDocumentPosition(a)===d?a===n||a.ownerDocument===v&&t(v,a)?-1:b===n||b.ownerDocument===v&&t(v,b)?1:k?I(k,a)-I(k,b):0:4&d?-1:1)}:function(a,b){if(a===b)return l=!0,0;var c,d=0,e=a.parentNode,f=b.parentNode,g=[a],h=[b];if(!e||!f)return a===n?-1:b===n?1:e?-1:f?1:k?I(k,a)-I(k,b):0;if(e===f)return la(a,b);c=a;while(c=c.parentNode)g.unshift(c);c=b;while(c=c.parentNode)h.unshift(c);while(g[d]===h[d])d++;return d?la(g[d],h[d]):g[d]===v?-1:h[d]===v?1:0},n):n},ga.matches=function(a,b){return ga(a,null,null,b)},ga.matchesSelector=function(a,b){if((a.ownerDocument||a)!==n&&m(a),b=b.replace(S,"='$1']"),c.matchesSelector&&p&&!A[b+" "]&&(!r||!r.test(b))&&(!q||!q.test(b)))try{var d=s.call(a,b);if(d||c.disconnectedMatch||a.document&&11!==a.document.nodeType)return d}catch(e){}return ga(b,n,null,[a]).length>0},ga.contains=function(a,b){return(a.ownerDocument||a)!==n&&m(a),t(a,b)},ga.attr=function(a,b){(a.ownerDocument||a)!==n&&m(a);var e=d.attrHandle[b.toLowerCase()],f=e&&C.call(d.attrHandle,b.toLowerCase())?e(a,b,!p):void 0;return void 0!==f?f:c.attributes||!p?a.getAttribute(b):(f=a.getAttributeNode(b))&&f.specified?f.value:null},ga.escape=function(a){return(a+"").replace(ba,ca)},ga.error=function(a){throw new Error("Syntax error, unrecognized expression: "+a)},ga.uniqueSort=function(a){var b,d=[],e=0,f=0;if(l=!c.detectDuplicates,k=!c.sortStable&&a.slice(0),a.sort(B),l){while(b=a[f++])b===a[f]&&(e=d.push(f));while(e--)a.splice(d[e],1)}return k=null,a},e=ga.getText=function(a){var b,c="",d=0,f=a.nodeType;if(f){if(1===f||9===f||11===f){if("string"==typeof a.textContent)return a.textContent;for(a=a.firstChild;a;a=a.nextSibling)c+=e(a)}else if(3===f||4===f)return a.nodeValue}else while(b=a[d++])c+=e(b);return c},d=ga.selectors={cacheLength:50,createPseudo:ia,match:V,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(a){return a[1]=a[1].replace(_,aa),a[3]=(a[3]||a[4]||a[5]||"").replace(_,aa),"~="===a[2]&&(a[3]=" "+a[3]+" "),a.slice(0,4)},CHILD:function(a){return a[1]=a[1].toLowerCase(),"nth"===a[1].slice(0,3)?(a[3]||ga.error(a[0]),a[4]=+(a[4]?a[5]+(a[6]||1):2*("even"===a[3]||"odd"===a[3])),a[5]=+(a[7]+a[8]||"odd"===a[3])):a[3]&&ga.error(a[0]),a},PSEUDO:function(a){var b,c=!a[6]&&a[2];return V.CHILD.test(a[0])?null:(a[3]?a[2]=a[4]||a[5]||"":c&&T.test(c)&&(b=g(c,!0))&&(b=c.indexOf(")",c.length-b)-c.length)&&(a[0]=a[0].slice(0,b),a[2]=c.slice(0,b)),a.slice(0,3))}},filter:{TAG:function(a){var b=a.replace(_,aa).toLowerCase();return"*"===a?function(){return!0}:function(a){return a.nodeName&&a.nodeName.toLowerCase()===b}},CLASS:function(a){var b=y[a+" "];return b||(b=new RegExp("(^|"+K+")"+a+"("+K+"|$)"))&&y(a,function(a){return b.test("string"==typeof a.className&&a.className||"undefined"!=typeof a.getAttribute&&a.getAttribute("class")||"")})},ATTR:function(a,b,c){return function(d){var e=ga.attr(d,a);return null==e?"!="===b:!b||(e+="","="===b?e===c:"!="===b?e!==c:"^="===b?c&&0===e.indexOf(c):"*="===b?c&&e.indexOf(c)>-1:"$="===b?c&&e.slice(-c.length)===c:"~="===b?(" "+e.replace(O," ")+" ").indexOf(c)>-1:"|="===b&&(e===c||e.slice(0,c.length+1)===c+"-"))}},CHILD:function(a,b,c,d,e){var f="nth"!==a.slice(0,3),g="last"!==a.slice(-4),h="of-type"===b;return 1===d&&0===e?function(a){return!!a.parentNode}:function(b,c,i){var j,k,l,m,n,o,p=f!==g?"nextSibling":"previousSibling",q=b.parentNode,r=h&&b.nodeName.toLowerCase(),s=!i&&!h,t=!1;if(q){if(f){while(p){m=b;while(m=m[p])if(h?m.nodeName.toLowerCase()===r:1===m.nodeType)return!1;o=p="only"===a&&!o&&"nextSibling"}return!0}if(o=[g?q.firstChild:q.lastChild],g&&s){m=q,l=m[u]||(m[u]={}),k=l[m.uniqueID]||(l[m.uniqueID]={}),j=k[a]||[],n=j[0]===w&&j[1],t=n&&j[2],m=n&&q.childNodes[n];while(m=++n&&m&&m[p]||(t=n=0)||o.pop())if(1===m.nodeType&&++t&&m===b){k[a]=[w,n,t];break}}else if(s&&(m=b,l=m[u]||(m[u]={}),k=l[m.uniqueID]||(l[m.uniqueID]={}),j=k[a]||[],n=j[0]===w&&j[1],t=n),t===!1)while(m=++n&&m&&m[p]||(t=n=0)||o.pop())if((h?m.nodeName.toLowerCase()===r:1===m.nodeType)&&++t&&(s&&(l=m[u]||(m[u]={}),k=l[m.uniqueID]||(l[m.uniqueID]={}),k[a]=[w,t]),m===b))break;return t-=e,t===d||t%d===0&&t/d>=0}}},PSEUDO:function(a,b){var c,e=d.pseudos[a]||d.setFilters[a.toLowerCase()]||ga.error("unsupported pseudo: "+a);return e[u]?e(b):e.length>1?(c=[a,a,"",b],d.setFilters.hasOwnProperty(a.toLowerCase())?ia(function(a,c){var d,f=e(a,b),g=f.length;while(g--)d=I(a,f[g]),a[d]=!(c[d]=f[g])}):function(a){return e(a,0,c)}):e}},pseudos:{not:ia(function(a){var b=[],c=[],d=h(a.replace(P,"$1"));return d[u]?ia(function(a,b,c,e){var f,g=d(a,null,e,[]),h=a.length;while(h--)(f=g[h])&&(a[h]=!(b[h]=f))}):function(a,e,f){return b[0]=a,d(b,null,f,c),b[0]=null,!c.pop()}}),has:ia(function(a){return function(b){return ga(a,b).length>0}}),contains:ia(function(a){return a=a.replace(_,aa),function(b){return(b.textContent||b.innerText||e(b)).indexOf(a)>-1}}),lang:ia(function(a){return U.test(a||"")||ga.error("unsupported lang: "+a),a=a.replace(_,aa).toLowerCase(),function(b){var c;do if(c=p?b.lang:b.getAttribute("xml:lang")||b.getAttribute("lang"))return c=c.toLowerCase(),c===a||0===c.indexOf(a+"-");while((b=b.parentNode)&&1===b.nodeType);return!1}}),target:function(b){var c=a.location&&a.location.hash;return c&&c.slice(1)===b.id},root:function(a){return a===o},focus:function(a){return a===n.activeElement&&(!n.hasFocus||n.hasFocus())&&!!(a.type||a.href||~a.tabIndex)},enabled:oa(!1),disabled:oa(!0),checked:function(a){var b=a.nodeName.toLowerCase();return"input"===b&&!!a.checked||"option"===b&&!!a.selected},selected:function(a){return a.parentNode&&a.parentNode.selectedIndex,a.selected===!0},empty:function(a){for(a=a.firstChild;a;a=a.nextSibling)if(a.nodeType<6)return!1;return!0},parent:function(a){return!d.pseudos.empty(a)},header:function(a){return X.test(a.nodeName)},input:function(a){return W.test(a.nodeName)},button:function(a){var b=a.nodeName.toLowerCase();return"input"===b&&"button"===a.type||"button"===b},text:function(a){var b;return"input"===a.nodeName.toLowerCase()&&"text"===a.type&&(null==(b=a.getAttribute("type"))||"text"===b.toLowerCase())},first:pa(function(){return[0]}),last:pa(function(a,b){return[b-1]}),eq:pa(function(a,b,c){return[c<0?c+b:c]}),even:pa(function(a,b){for(var c=0;c=0;)a.push(d);return a}),gt:pa(function(a,b,c){for(var d=c<0?c+b:c;++d1?function(b,c,d){var e=a.length;while(e--)if(!a[e](b,c,d))return!1;return!0}:a[0]}function va(a,b,c){for(var d=0,e=b.length;d-1&&(f[j]=!(g[j]=l))}}else r=wa(r===g?r.splice(o,r.length):r),e?e(null,g,r,i):G.apply(g,r)})}function ya(a){for(var b,c,e,f=a.length,g=d.relative[a[0].type],h=g||d.relative[" "],i=g?1:0,k=ta(function(a){return a===b},h,!0),l=ta(function(a){return I(b,a)>-1},h,!0),m=[function(a,c,d){var e=!g&&(d||c!==j)||((b=c).nodeType?k(a,c,d):l(a,c,d));return b=null,e}];i1&&ua(m),i>1&&sa(a.slice(0,i-1).concat({value:" "===a[i-2].type?"*":""})).replace(P,"$1"),c,i0,e=a.length>0,f=function(f,g,h,i,k){var l,o,q,r=0,s="0",t=f&&[],u=[],v=j,x=f||e&&d.find.TAG("*",k),y=w+=null==v?1:Math.random()||.1,z=x.length;for(k&&(j=g===n||g||k);s!==z&&null!=(l=x[s]);s++){if(e&&l){o=0,g||l.ownerDocument===n||(m(l),h=!p);while(q=a[o++])if(q(l,g||n,h)){i.push(l);break}k&&(w=y)}c&&((l=!q&&l)&&r--,f&&t.push(l))}if(r+=s,c&&s!==r){o=0;while(q=b[o++])q(t,u,g,h);if(f){if(r>0)while(s--)t[s]||u[s]||(u[s]=E.call(i));u=wa(u)}G.apply(i,u),k&&!f&&u.length>0&&r+b.length>1&&ga.uniqueSort(i)}return k&&(w=y,j=v),t};return c?ia(f):f}return h=ga.compile=function(a,b){var c,d=[],e=[],f=A[a+" "];if(!f){b||(b=g(a)),c=b.length;while(c--)f=ya(b[c]),f[u]?d.push(f):e.push(f);f=A(a,za(e,d)),f.selector=a}return f},i=ga.select=function(a,b,c,e){var f,i,j,k,l,m="function"==typeof a&&a,n=!e&&g(a=m.selector||a);if(c=c||[],1===n.length){if(i=n[0]=n[0].slice(0),i.length>2&&"ID"===(j=i[0]).type&&9===b.nodeType&&p&&d.relative[i[1].type]){if(b=(d.find.ID(j.matches[0].replace(_,aa),b)||[])[0],!b)return c;m&&(b=b.parentNode),a=a.slice(i.shift().value.length)}f=V.needsContext.test(a)?0:i.length;while(f--){if(j=i[f],d.relative[k=j.type])break;if((l=d.find[k])&&(e=l(j.matches[0].replace(_,aa),$.test(i[0].type)&&qa(b.parentNode)||b))){if(i.splice(f,1),a=e.length&&sa(i),!a)return G.apply(c,e),c;break}}}return(m||h(a,n))(e,b,!p,c,!b||$.test(a)&&qa(b.parentNode)||b),c},c.sortStable=u.split("").sort(B).join("")===u,c.detectDuplicates=!!l,m(),c.sortDetached=ja(function(a){return 1&a.compareDocumentPosition(n.createElement("fieldset"))}),ja(function(a){return a.innerHTML="","#"===a.firstChild.getAttribute("href")})||ka("type|href|height|width",function(a,b,c){if(!c)return a.getAttribute(b,"type"===b.toLowerCase()?1:2)}),c.attributes&&ja(function(a){return a.innerHTML="",a.firstChild.setAttribute("value",""),""===a.firstChild.getAttribute("value")})||ka("value",function(a,b,c){if(!c&&"input"===a.nodeName.toLowerCase())return a.defaultValue}),ja(function(a){return null==a.getAttribute("disabled")})||ka(J,function(a,b,c){var d;if(!c)return a[b]===!0?b.toLowerCase():(d=a.getAttributeNode(b))&&d.specified?d.value:null}),ga}(a);r.find=x,r.expr=x.selectors,r.expr[":"]=r.expr.pseudos,r.uniqueSort=r.unique=x.uniqueSort,r.text=x.getText,r.isXMLDoc=x.isXML,r.contains=x.contains,r.escapeSelector=x.escape;var y=function(a,b,c){var d=[],e=void 0!==c;while((a=a[b])&&9!==a.nodeType)if(1===a.nodeType){if(e&&r(a).is(c))break;d.push(a)}return d},z=function(a,b){for(var c=[];a;a=a.nextSibling)1===a.nodeType&&a!==b&&c.push(a);return c},A=r.expr.match.needsContext;function B(a,b){return a.nodeName&&a.nodeName.toLowerCase()===b.toLowerCase()}var C=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i,D=/^.[^:#\[\.,]*$/;function E(a,b,c){return r.isFunction(b)?r.grep(a,function(a,d){return!!b.call(a,d,a)!==c}):b.nodeType?r.grep(a,function(a){return a===b!==c}):"string"!=typeof b?r.grep(a,function(a){return i.call(b,a)>-1!==c}):D.test(b)?r.filter(b,a,c):(b=r.filter(b,a),r.grep(a,function(a){return i.call(b,a)>-1!==c&&1===a.nodeType}))}r.filter=function(a,b,c){var d=b[0];return c&&(a=":not("+a+")"),1===b.length&&1===d.nodeType?r.find.matchesSelector(d,a)?[d]:[]:r.find.matches(a,r.grep(b,function(a){return 1===a.nodeType}))},r.fn.extend({find:function(a){var b,c,d=this.length,e=this;if("string"!=typeof a)return this.pushStack(r(a).filter(function(){for(b=0;b1?r.uniqueSort(c):c},filter:function(a){return this.pushStack(E(this,a||[],!1))},not:function(a){return this.pushStack(E(this,a||[],!0))},is:function(a){return!!E(this,"string"==typeof a&&A.test(a)?r(a):a||[],!1).length}});var F,G=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/,H=r.fn.init=function(a,b,c){var e,f;if(!a)return this;if(c=c||F,"string"==typeof a){if(e="<"===a[0]&&">"===a[a.length-1]&&a.length>=3?[null,a,null]:G.exec(a),!e||!e[1]&&b)return!b||b.jquery?(b||c).find(a):this.constructor(b).find(a);if(e[1]){if(b=b instanceof r?b[0]:b,r.merge(this,r.parseHTML(e[1],b&&b.nodeType?b.ownerDocument||b:d,!0)),C.test(e[1])&&r.isPlainObject(b))for(e in b)r.isFunction(this[e])?this[e](b[e]):this.attr(e,b[e]);return this}return f=d.getElementById(e[2]),f&&(this[0]=f,this.length=1),this}return a.nodeType?(this[0]=a,this.length=1,this):r.isFunction(a)?void 0!==c.ready?c.ready(a):a(r):r.makeArray(a,this)};H.prototype=r.fn,F=r(d);var I=/^(?:parents|prev(?:Until|All))/,J={children:!0,contents:!0,next:!0,prev:!0};r.fn.extend({has:function(a){var b=r(a,this),c=b.length;return this.filter(function(){for(var a=0;a-1:1===c.nodeType&&r.find.matchesSelector(c,a))){f.push(c);break}return this.pushStack(f.length>1?r.uniqueSort(f):f)},index:function(a){return a?"string"==typeof a?i.call(r(a),this[0]):i.call(this,a.jquery?a[0]:a):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(a,b){return this.pushStack(r.uniqueSort(r.merge(this.get(),r(a,b))))},addBack:function(a){return this.add(null==a?this.prevObject:this.prevObject.filter(a))}});function K(a,b){while((a=a[b])&&1!==a.nodeType);return a}r.each({parent:function(a){var b=a.parentNode;return b&&11!==b.nodeType?b:null},parents:function(a){return y(a,"parentNode")},parentsUntil:function(a,b,c){return y(a,"parentNode",c)},next:function(a){return K(a,"nextSibling")},prev:function(a){return K(a,"previousSibling")},nextAll:function(a){return y(a,"nextSibling")},prevAll:function(a){return y(a,"previousSibling")},nextUntil:function(a,b,c){return y(a,"nextSibling",c)},prevUntil:function(a,b,c){return y(a,"previousSibling",c)},siblings:function(a){return z((a.parentNode||{}).firstChild,a)},children:function(a){return z(a.firstChild)},contents:function(a){return B(a,"iframe")?a.contentDocument:(B(a,"template")&&(a=a.content||a),r.merge([],a.childNodes))}},function(a,b){r.fn[a]=function(c,d){var e=r.map(this,b,c);return"Until"!==a.slice(-5)&&(d=c),d&&"string"==typeof d&&(e=r.filter(d,e)),this.length>1&&(J[a]||r.uniqueSort(e),I.test(a)&&e.reverse()),this.pushStack(e)}});var L=/[^\x20\t\r\n\f]+/g;function M(a){var b={};return r.each(a.match(L)||[],function(a,c){b[c]=!0}),b}r.Callbacks=function(a){a="string"==typeof a?M(a):r.extend({},a);var b,c,d,e,f=[],g=[],h=-1,i=function(){for(e=e||a.once,d=b=!0;g.length;h=-1){c=g.shift();while(++h-1)f.splice(c,1),c<=h&&h--}),this},has:function(a){return a?r.inArray(a,f)>-1:f.length>0},empty:function(){return f&&(f=[]),this},disable:function(){return e=g=[],f=c="",this},disabled:function(){return!f},lock:function(){return e=g=[],c||b||(f=c=""),this},locked:function(){return!!e},fireWith:function(a,c){return e||(c=c||[],c=[a,c.slice?c.slice():c],g.push(c),b||i()),this},fire:function(){return j.fireWith(this,arguments),this},fired:function(){return!!d}};return j};function N(a){return a}function O(a){throw a}function P(a,b,c,d){var e;try{a&&r.isFunction(e=a.promise)?e.call(a).done(b).fail(c):a&&r.isFunction(e=a.then)?e.call(a,b,c):b.apply(void 0,[a].slice(d))}catch(a){c.apply(void 0,[a])}}r.extend({Deferred:function(b){var c=[["notify","progress",r.Callbacks("memory"),r.Callbacks("memory"),2],["resolve","done",r.Callbacks("once memory"),r.Callbacks("once memory"),0,"resolved"],["reject","fail",r.Callbacks("once memory"),r.Callbacks("once memory"),1,"rejected"]],d="pending",e={state:function(){return d},always:function(){return f.done(arguments).fail(arguments),this},"catch":function(a){return e.then(null,a)},pipe:function(){var a=arguments;return r.Deferred(function(b){r.each(c,function(c,d){var e=r.isFunction(a[d[4]])&&a[d[4]];f[d[1]](function(){var a=e&&e.apply(this,arguments);a&&r.isFunction(a.promise)?a.promise().progress(b.notify).done(b.resolve).fail(b.reject):b[d[0]+"With"](this,e?[a]:arguments)})}),a=null}).promise()},then:function(b,d,e){var f=0;function g(b,c,d,e){return function(){var h=this,i=arguments,j=function(){var a,j;if(!(b=f&&(d!==O&&(h=void 0,i=[a]),c.rejectWith(h,i))}};b?k():(r.Deferred.getStackHook&&(k.stackTrace=r.Deferred.getStackHook()),a.setTimeout(k))}}return r.Deferred(function(a){c[0][3].add(g(0,a,r.isFunction(e)?e:N,a.notifyWith)),c[1][3].add(g(0,a,r.isFunction(b)?b:N)),c[2][3].add(g(0,a,r.isFunction(d)?d:O))}).promise()},promise:function(a){return null!=a?r.extend(a,e):e}},f={};return r.each(c,function(a,b){var g=b[2],h=b[5];e[b[1]]=g.add,h&&g.add(function(){d=h},c[3-a][2].disable,c[0][2].lock),g.add(b[3].fire),f[b[0]]=function(){return f[b[0]+"With"](this===f?void 0:this,arguments),this},f[b[0]+"With"]=g.fireWith}),e.promise(f),b&&b.call(f,f),f},when:function(a){var b=arguments.length,c=b,d=Array(c),e=f.call(arguments),g=r.Deferred(),h=function(a){return function(c){d[a]=this,e[a]=arguments.length>1?f.call(arguments):c,--b||g.resolveWith(d,e)}};if(b<=1&&(P(a,g.done(h(c)).resolve,g.reject,!b),"pending"===g.state()||r.isFunction(e[c]&&e[c].then)))return g.then();while(c--)P(e[c],h(c),g.reject);return g.promise()}});var Q=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;r.Deferred.exceptionHook=function(b,c){a.console&&a.console.warn&&b&&Q.test(b.name)&&a.console.warn("jQuery.Deferred exception: "+b.message,b.stack,c)},r.readyException=function(b){a.setTimeout(function(){throw b})};var R=r.Deferred();r.fn.ready=function(a){return R.then(a)["catch"](function(a){r.readyException(a)}),this},r.extend({isReady:!1,readyWait:1,ready:function(a){(a===!0?--r.readyWait:r.isReady)||(r.isReady=!0,a!==!0&&--r.readyWait>0||R.resolveWith(d,[r]))}}),r.ready.then=R.then;function S(){d.removeEventListener("DOMContentLoaded",S), -a.removeEventListener("load",S),r.ready()}"complete"===d.readyState||"loading"!==d.readyState&&!d.documentElement.doScroll?a.setTimeout(r.ready):(d.addEventListener("DOMContentLoaded",S),a.addEventListener("load",S));var T=function(a,b,c,d,e,f,g){var h=0,i=a.length,j=null==c;if("object"===r.type(c)){e=!0;for(h in c)T(a,b,h,c[h],!0,f,g)}else if(void 0!==d&&(e=!0,r.isFunction(d)||(g=!0),j&&(g?(b.call(a,d),b=null):(j=b,b=function(a,b,c){return j.call(r(a),c)})),b))for(;h1,null,!0)},removeData:function(a){return this.each(function(){X.remove(this,a)})}}),r.extend({queue:function(a,b,c){var d;if(a)return b=(b||"fx")+"queue",d=W.get(a,b),c&&(!d||Array.isArray(c)?d=W.access(a,b,r.makeArray(c)):d.push(c)),d||[]},dequeue:function(a,b){b=b||"fx";var c=r.queue(a,b),d=c.length,e=c.shift(),f=r._queueHooks(a,b),g=function(){r.dequeue(a,b)};"inprogress"===e&&(e=c.shift(),d--),e&&("fx"===b&&c.unshift("inprogress"),delete f.stop,e.call(a,g,f)),!d&&f&&f.empty.fire()},_queueHooks:function(a,b){var c=b+"queueHooks";return W.get(a,c)||W.access(a,c,{empty:r.Callbacks("once memory").add(function(){W.remove(a,[b+"queue",c])})})}}),r.fn.extend({queue:function(a,b){var c=2;return"string"!=typeof a&&(b=a,a="fx",c--),arguments.length\x20\t\r\n\f]+)/i,la=/^$|\/(?:java|ecma)script/i,ma={option:[1,""],thead:[1,"","
"],col:[2,"","
"],tr:[2,"","
"],td:[3,"","
"],_default:[0,"",""]};ma.optgroup=ma.option,ma.tbody=ma.tfoot=ma.colgroup=ma.caption=ma.thead,ma.th=ma.td;function na(a,b){var c;return c="undefined"!=typeof a.getElementsByTagName?a.getElementsByTagName(b||"*"):"undefined"!=typeof a.querySelectorAll?a.querySelectorAll(b||"*"):[],void 0===b||b&&B(a,b)?r.merge([a],c):c}function oa(a,b){for(var c=0,d=a.length;c-1)e&&e.push(f);else if(j=r.contains(f.ownerDocument,f),g=na(l.appendChild(f),"script"),j&&oa(g),c){k=0;while(f=g[k++])la.test(f.type||"")&&c.push(f)}return l}!function(){var a=d.createDocumentFragment(),b=a.appendChild(d.createElement("div")),c=d.createElement("input");c.setAttribute("type","radio"),c.setAttribute("checked","checked"),c.setAttribute("name","t"),b.appendChild(c),o.checkClone=b.cloneNode(!0).cloneNode(!0).lastChild.checked,b.innerHTML="",o.noCloneChecked=!!b.cloneNode(!0).lastChild.defaultValue}();var ra=d.documentElement,sa=/^key/,ta=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,ua=/^([^.]*)(?:\.(.+)|)/;function va(){return!0}function wa(){return!1}function xa(){try{return d.activeElement}catch(a){}}function ya(a,b,c,d,e,f){var g,h;if("object"==typeof b){"string"!=typeof c&&(d=d||c,c=void 0);for(h in b)ya(a,h,c,d,b[h],f);return a}if(null==d&&null==e?(e=c,d=c=void 0):null==e&&("string"==typeof c?(e=d,d=void 0):(e=d,d=c,c=void 0)),e===!1)e=wa;else if(!e)return a;return 1===f&&(g=e,e=function(a){return r().off(a),g.apply(this,arguments)},e.guid=g.guid||(g.guid=r.guid++)),a.each(function(){r.event.add(this,b,e,d,c)})}r.event={global:{},add:function(a,b,c,d,e){var f,g,h,i,j,k,l,m,n,o,p,q=W.get(a);if(q){c.handler&&(f=c,c=f.handler,e=f.selector),e&&r.find.matchesSelector(ra,e),c.guid||(c.guid=r.guid++),(i=q.events)||(i=q.events={}),(g=q.handle)||(g=q.handle=function(b){return"undefined"!=typeof r&&r.event.triggered!==b.type?r.event.dispatch.apply(a,arguments):void 0}),b=(b||"").match(L)||[""],j=b.length;while(j--)h=ua.exec(b[j])||[],n=p=h[1],o=(h[2]||"").split(".").sort(),n&&(l=r.event.special[n]||{},n=(e?l.delegateType:l.bindType)||n,l=r.event.special[n]||{},k=r.extend({type:n,origType:p,data:d,handler:c,guid:c.guid,selector:e,needsContext:e&&r.expr.match.needsContext.test(e),namespace:o.join(".")},f),(m=i[n])||(m=i[n]=[],m.delegateCount=0,l.setup&&l.setup.call(a,d,o,g)!==!1||a.addEventListener&&a.addEventListener(n,g)),l.add&&(l.add.call(a,k),k.handler.guid||(k.handler.guid=c.guid)),e?m.splice(m.delegateCount++,0,k):m.push(k),r.event.global[n]=!0)}},remove:function(a,b,c,d,e){var f,g,h,i,j,k,l,m,n,o,p,q=W.hasData(a)&&W.get(a);if(q&&(i=q.events)){b=(b||"").match(L)||[""],j=b.length;while(j--)if(h=ua.exec(b[j])||[],n=p=h[1],o=(h[2]||"").split(".").sort(),n){l=r.event.special[n]||{},n=(d?l.delegateType:l.bindType)||n,m=i[n]||[],h=h[2]&&new RegExp("(^|\\.)"+o.join("\\.(?:.*\\.|)")+"(\\.|$)"),g=f=m.length;while(f--)k=m[f],!e&&p!==k.origType||c&&c.guid!==k.guid||h&&!h.test(k.namespace)||d&&d!==k.selector&&("**"!==d||!k.selector)||(m.splice(f,1),k.selector&&m.delegateCount--,l.remove&&l.remove.call(a,k));g&&!m.length&&(l.teardown&&l.teardown.call(a,o,q.handle)!==!1||r.removeEvent(a,n,q.handle),delete i[n])}else for(n in i)r.event.remove(a,n+b[j],c,d,!0);r.isEmptyObject(i)&&W.remove(a,"handle events")}},dispatch:function(a){var b=r.event.fix(a),c,d,e,f,g,h,i=new Array(arguments.length),j=(W.get(this,"events")||{})[b.type]||[],k=r.event.special[b.type]||{};for(i[0]=b,c=1;c=1))for(;j!==this;j=j.parentNode||this)if(1===j.nodeType&&("click"!==a.type||j.disabled!==!0)){for(f=[],g={},c=0;c-1:r.find(e,this,null,[j]).length),g[e]&&f.push(d);f.length&&h.push({elem:j,handlers:f})}return j=this,i\x20\t\r\n\f]*)[^>]*)\/>/gi,Aa=/\s*$/g;function Ea(a,b){return B(a,"table")&&B(11!==b.nodeType?b:b.firstChild,"tr")?r(">tbody",a)[0]||a:a}function Fa(a){return a.type=(null!==a.getAttribute("type"))+"/"+a.type,a}function Ga(a){var b=Ca.exec(a.type);return b?a.type=b[1]:a.removeAttribute("type"),a}function Ha(a,b){var c,d,e,f,g,h,i,j;if(1===b.nodeType){if(W.hasData(a)&&(f=W.access(a),g=W.set(b,f),j=f.events)){delete g.handle,g.events={};for(e in j)for(c=0,d=j[e].length;c1&&"string"==typeof q&&!o.checkClone&&Ba.test(q))return a.each(function(e){var f=a.eq(e);s&&(b[0]=q.call(this,e,f.html())),Ja(f,b,c,d)});if(m&&(e=qa(b,a[0].ownerDocument,!1,a,d),f=e.firstChild,1===e.childNodes.length&&(e=f),f||d)){for(h=r.map(na(e,"script"),Fa),i=h.length;l")},clone:function(a,b,c){var d,e,f,g,h=a.cloneNode(!0),i=r.contains(a.ownerDocument,a);if(!(o.noCloneChecked||1!==a.nodeType&&11!==a.nodeType||r.isXMLDoc(a)))for(g=na(h),f=na(a),d=0,e=f.length;d0&&oa(g,!i&&na(a,"script")),h},cleanData:function(a){for(var b,c,d,e=r.event.special,f=0;void 0!==(c=a[f]);f++)if(U(c)){if(b=c[W.expando]){if(b.events)for(d in b.events)e[d]?r.event.remove(c,d):r.removeEvent(c,d,b.handle);c[W.expando]=void 0}c[X.expando]&&(c[X.expando]=void 0)}}}),r.fn.extend({detach:function(a){return Ka(this,a,!0)},remove:function(a){return Ka(this,a)},text:function(a){return T(this,function(a){return void 0===a?r.text(this):this.empty().each(function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=a)})},null,a,arguments.length)},append:function(){return Ja(this,arguments,function(a){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var b=Ea(this,a);b.appendChild(a)}})},prepend:function(){return Ja(this,arguments,function(a){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var b=Ea(this,a);b.insertBefore(a,b.firstChild)}})},before:function(){return Ja(this,arguments,function(a){this.parentNode&&this.parentNode.insertBefore(a,this)})},after:function(){return Ja(this,arguments,function(a){this.parentNode&&this.parentNode.insertBefore(a,this.nextSibling)})},empty:function(){for(var a,b=0;null!=(a=this[b]);b++)1===a.nodeType&&(r.cleanData(na(a,!1)),a.textContent="");return this},clone:function(a,b){return a=null!=a&&a,b=null==b?a:b,this.map(function(){return r.clone(this,a,b)})},html:function(a){return T(this,function(a){var b=this[0]||{},c=0,d=this.length;if(void 0===a&&1===b.nodeType)return b.innerHTML;if("string"==typeof a&&!Aa.test(a)&&!ma[(ka.exec(a)||["",""])[1].toLowerCase()]){a=r.htmlPrefilter(a);try{for(;c1)}});function _a(a,b,c,d,e){return new _a.prototype.init(a,b,c,d,e)}r.Tween=_a,_a.prototype={constructor:_a,init:function(a,b,c,d,e,f){this.elem=a,this.prop=c,this.easing=e||r.easing._default,this.options=b,this.start=this.now=this.cur(),this.end=d,this.unit=f||(r.cssNumber[c]?"":"px")},cur:function(){var a=_a.propHooks[this.prop];return a&&a.get?a.get(this):_a.propHooks._default.get(this)},run:function(a){var b,c=_a.propHooks[this.prop];return this.options.duration?this.pos=b=r.easing[this.easing](a,this.options.duration*a,0,1,this.options.duration):this.pos=b=a,this.now=(this.end-this.start)*b+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),c&&c.set?c.set(this):_a.propHooks._default.set(this),this}},_a.prototype.init.prototype=_a.prototype,_a.propHooks={_default:{get:function(a){var b;return 1!==a.elem.nodeType||null!=a.elem[a.prop]&&null==a.elem.style[a.prop]?a.elem[a.prop]:(b=r.css(a.elem,a.prop,""),b&&"auto"!==b?b:0)},set:function(a){r.fx.step[a.prop]?r.fx.step[a.prop](a):1!==a.elem.nodeType||null==a.elem.style[r.cssProps[a.prop]]&&!r.cssHooks[a.prop]?a.elem[a.prop]=a.now:r.style(a.elem,a.prop,a.now+a.unit)}}},_a.propHooks.scrollTop=_a.propHooks.scrollLeft={set:function(a){a.elem.nodeType&&a.elem.parentNode&&(a.elem[a.prop]=a.now)}},r.easing={linear:function(a){return a},swing:function(a){return.5-Math.cos(a*Math.PI)/2},_default:"swing"},r.fx=_a.prototype.init,r.fx.step={};var ab,bb,cb=/^(?:toggle|show|hide)$/,db=/queueHooks$/;function eb(){bb&&(d.hidden===!1&&a.requestAnimationFrame?a.requestAnimationFrame(eb):a.setTimeout(eb,r.fx.interval),r.fx.tick())}function fb(){return a.setTimeout(function(){ab=void 0}),ab=r.now()}function gb(a,b){var c,d=0,e={height:a};for(b=b?1:0;d<4;d+=2-b)c=ca[d],e["margin"+c]=e["padding"+c]=a;return b&&(e.opacity=e.width=a),e}function hb(a,b,c){for(var d,e=(kb.tweeners[b]||[]).concat(kb.tweeners["*"]),f=0,g=e.length;f1)},removeAttr:function(a){return this.each(function(){r.removeAttr(this,a)})}}),r.extend({attr:function(a,b,c){var d,e,f=a.nodeType;if(3!==f&&8!==f&&2!==f)return"undefined"==typeof a.getAttribute?r.prop(a,b,c):(1===f&&r.isXMLDoc(a)||(e=r.attrHooks[b.toLowerCase()]||(r.expr.match.bool.test(b)?lb:void 0)),void 0!==c?null===c?void r.removeAttr(a,b):e&&"set"in e&&void 0!==(d=e.set(a,c,b))?d:(a.setAttribute(b,c+""),c):e&&"get"in e&&null!==(d=e.get(a,b))?d:(d=r.find.attr(a,b), -null==d?void 0:d))},attrHooks:{type:{set:function(a,b){if(!o.radioValue&&"radio"===b&&B(a,"input")){var c=a.value;return a.setAttribute("type",b),c&&(a.value=c),b}}}},removeAttr:function(a,b){var c,d=0,e=b&&b.match(L);if(e&&1===a.nodeType)while(c=e[d++])a.removeAttribute(c)}}),lb={set:function(a,b,c){return b===!1?r.removeAttr(a,c):a.setAttribute(c,c),c}},r.each(r.expr.match.bool.source.match(/\w+/g),function(a,b){var c=mb[b]||r.find.attr;mb[b]=function(a,b,d){var e,f,g=b.toLowerCase();return d||(f=mb[g],mb[g]=e,e=null!=c(a,b,d)?g:null,mb[g]=f),e}});var nb=/^(?:input|select|textarea|button)$/i,ob=/^(?:a|area)$/i;r.fn.extend({prop:function(a,b){return T(this,r.prop,a,b,arguments.length>1)},removeProp:function(a){return this.each(function(){delete this[r.propFix[a]||a]})}}),r.extend({prop:function(a,b,c){var d,e,f=a.nodeType;if(3!==f&&8!==f&&2!==f)return 1===f&&r.isXMLDoc(a)||(b=r.propFix[b]||b,e=r.propHooks[b]),void 0!==c?e&&"set"in e&&void 0!==(d=e.set(a,c,b))?d:a[b]=c:e&&"get"in e&&null!==(d=e.get(a,b))?d:a[b]},propHooks:{tabIndex:{get:function(a){var b=r.find.attr(a,"tabindex");return b?parseInt(b,10):nb.test(a.nodeName)||ob.test(a.nodeName)&&a.href?0:-1}}},propFix:{"for":"htmlFor","class":"className"}}),o.optSelected||(r.propHooks.selected={get:function(a){var b=a.parentNode;return b&&b.parentNode&&b.parentNode.selectedIndex,null},set:function(a){var b=a.parentNode;b&&(b.selectedIndex,b.parentNode&&b.parentNode.selectedIndex)}}),r.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){r.propFix[this.toLowerCase()]=this});function pb(a){var b=a.match(L)||[];return b.join(" ")}function qb(a){return a.getAttribute&&a.getAttribute("class")||""}r.fn.extend({addClass:function(a){var b,c,d,e,f,g,h,i=0;if(r.isFunction(a))return this.each(function(b){r(this).addClass(a.call(this,b,qb(this)))});if("string"==typeof a&&a){b=a.match(L)||[];while(c=this[i++])if(e=qb(c),d=1===c.nodeType&&" "+pb(e)+" "){g=0;while(f=b[g++])d.indexOf(" "+f+" ")<0&&(d+=f+" ");h=pb(d),e!==h&&c.setAttribute("class",h)}}return this},removeClass:function(a){var b,c,d,e,f,g,h,i=0;if(r.isFunction(a))return this.each(function(b){r(this).removeClass(a.call(this,b,qb(this)))});if(!arguments.length)return this.attr("class","");if("string"==typeof a&&a){b=a.match(L)||[];while(c=this[i++])if(e=qb(c),d=1===c.nodeType&&" "+pb(e)+" "){g=0;while(f=b[g++])while(d.indexOf(" "+f+" ")>-1)d=d.replace(" "+f+" "," ");h=pb(d),e!==h&&c.setAttribute("class",h)}}return this},toggleClass:function(a,b){var c=typeof a;return"boolean"==typeof b&&"string"===c?b?this.addClass(a):this.removeClass(a):r.isFunction(a)?this.each(function(c){r(this).toggleClass(a.call(this,c,qb(this),b),b)}):this.each(function(){var b,d,e,f;if("string"===c){d=0,e=r(this),f=a.match(L)||[];while(b=f[d++])e.hasClass(b)?e.removeClass(b):e.addClass(b)}else void 0!==a&&"boolean"!==c||(b=qb(this),b&&W.set(this,"__className__",b),this.setAttribute&&this.setAttribute("class",b||a===!1?"":W.get(this,"__className__")||""))})},hasClass:function(a){var b,c,d=0;b=" "+a+" ";while(c=this[d++])if(1===c.nodeType&&(" "+pb(qb(c))+" ").indexOf(b)>-1)return!0;return!1}});var rb=/\r/g;r.fn.extend({val:function(a){var b,c,d,e=this[0];{if(arguments.length)return d=r.isFunction(a),this.each(function(c){var e;1===this.nodeType&&(e=d?a.call(this,c,r(this).val()):a,null==e?e="":"number"==typeof e?e+="":Array.isArray(e)&&(e=r.map(e,function(a){return null==a?"":a+""})),b=r.valHooks[this.type]||r.valHooks[this.nodeName.toLowerCase()],b&&"set"in b&&void 0!==b.set(this,e,"value")||(this.value=e))});if(e)return b=r.valHooks[e.type]||r.valHooks[e.nodeName.toLowerCase()],b&&"get"in b&&void 0!==(c=b.get(e,"value"))?c:(c=e.value,"string"==typeof c?c.replace(rb,""):null==c?"":c)}}}),r.extend({valHooks:{option:{get:function(a){var b=r.find.attr(a,"value");return null!=b?b:pb(r.text(a))}},select:{get:function(a){var b,c,d,e=a.options,f=a.selectedIndex,g="select-one"===a.type,h=g?null:[],i=g?f+1:e.length;for(d=f<0?i:g?f:0;d-1)&&(c=!0);return c||(a.selectedIndex=-1),f}}}}),r.each(["radio","checkbox"],function(){r.valHooks[this]={set:function(a,b){if(Array.isArray(b))return a.checked=r.inArray(r(a).val(),b)>-1}},o.checkOn||(r.valHooks[this].get=function(a){return null===a.getAttribute("value")?"on":a.value})});var sb=/^(?:focusinfocus|focusoutblur)$/;r.extend(r.event,{trigger:function(b,c,e,f){var g,h,i,j,k,m,n,o=[e||d],p=l.call(b,"type")?b.type:b,q=l.call(b,"namespace")?b.namespace.split("."):[];if(h=i=e=e||d,3!==e.nodeType&&8!==e.nodeType&&!sb.test(p+r.event.triggered)&&(p.indexOf(".")>-1&&(q=p.split("."),p=q.shift(),q.sort()),k=p.indexOf(":")<0&&"on"+p,b=b[r.expando]?b:new r.Event(p,"object"==typeof b&&b),b.isTrigger=f?2:3,b.namespace=q.join("."),b.rnamespace=b.namespace?new RegExp("(^|\\.)"+q.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,b.result=void 0,b.target||(b.target=e),c=null==c?[b]:r.makeArray(c,[b]),n=r.event.special[p]||{},f||!n.trigger||n.trigger.apply(e,c)!==!1)){if(!f&&!n.noBubble&&!r.isWindow(e)){for(j=n.delegateType||p,sb.test(j+p)||(h=h.parentNode);h;h=h.parentNode)o.push(h),i=h;i===(e.ownerDocument||d)&&o.push(i.defaultView||i.parentWindow||a)}g=0;while((h=o[g++])&&!b.isPropagationStopped())b.type=g>1?j:n.bindType||p,m=(W.get(h,"events")||{})[b.type]&&W.get(h,"handle"),m&&m.apply(h,c),m=k&&h[k],m&&m.apply&&U(h)&&(b.result=m.apply(h,c),b.result===!1&&b.preventDefault());return b.type=p,f||b.isDefaultPrevented()||n._default&&n._default.apply(o.pop(),c)!==!1||!U(e)||k&&r.isFunction(e[p])&&!r.isWindow(e)&&(i=e[k],i&&(e[k]=null),r.event.triggered=p,e[p](),r.event.triggered=void 0,i&&(e[k]=i)),b.result}},simulate:function(a,b,c){var d=r.extend(new r.Event,c,{type:a,isSimulated:!0});r.event.trigger(d,null,b)}}),r.fn.extend({trigger:function(a,b){return this.each(function(){r.event.trigger(a,b,this)})},triggerHandler:function(a,b){var c=this[0];if(c)return r.event.trigger(a,b,c,!0)}}),r.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(a,b){r.fn[b]=function(a,c){return arguments.length>0?this.on(b,null,a,c):this.trigger(b)}}),r.fn.extend({hover:function(a,b){return this.mouseenter(a).mouseleave(b||a)}}),o.focusin="onfocusin"in a,o.focusin||r.each({focus:"focusin",blur:"focusout"},function(a,b){var c=function(a){r.event.simulate(b,a.target,r.event.fix(a))};r.event.special[b]={setup:function(){var d=this.ownerDocument||this,e=W.access(d,b);e||d.addEventListener(a,c,!0),W.access(d,b,(e||0)+1)},teardown:function(){var d=this.ownerDocument||this,e=W.access(d,b)-1;e?W.access(d,b,e):(d.removeEventListener(a,c,!0),W.remove(d,b))}}});var tb=a.location,ub=r.now(),vb=/\?/;r.parseXML=function(b){var c;if(!b||"string"!=typeof b)return null;try{c=(new a.DOMParser).parseFromString(b,"text/xml")}catch(d){c=void 0}return c&&!c.getElementsByTagName("parsererror").length||r.error("Invalid XML: "+b),c};var wb=/\[\]$/,xb=/\r?\n/g,yb=/^(?:submit|button|image|reset|file)$/i,zb=/^(?:input|select|textarea|keygen)/i;function Ab(a,b,c,d){var e;if(Array.isArray(b))r.each(b,function(b,e){c||wb.test(a)?d(a,e):Ab(a+"["+("object"==typeof e&&null!=e?b:"")+"]",e,c,d)});else if(c||"object"!==r.type(b))d(a,b);else for(e in b)Ab(a+"["+e+"]",b[e],c,d)}r.param=function(a,b){var c,d=[],e=function(a,b){var c=r.isFunction(b)?b():b;d[d.length]=encodeURIComponent(a)+"="+encodeURIComponent(null==c?"":c)};if(Array.isArray(a)||a.jquery&&!r.isPlainObject(a))r.each(a,function(){e(this.name,this.value)});else for(c in a)Ab(c,a[c],b,e);return d.join("&")},r.fn.extend({serialize:function(){return r.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var a=r.prop(this,"elements");return a?r.makeArray(a):this}).filter(function(){var a=this.type;return this.name&&!r(this).is(":disabled")&&zb.test(this.nodeName)&&!yb.test(a)&&(this.checked||!ja.test(a))}).map(function(a,b){var c=r(this).val();return null==c?null:Array.isArray(c)?r.map(c,function(a){return{name:b.name,value:a.replace(xb,"\r\n")}}):{name:b.name,value:c.replace(xb,"\r\n")}}).get()}});var Bb=/%20/g,Cb=/#.*$/,Db=/([?&])_=[^&]*/,Eb=/^(.*?):[ \t]*([^\r\n]*)$/gm,Fb=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,Gb=/^(?:GET|HEAD)$/,Hb=/^\/\//,Ib={},Jb={},Kb="*/".concat("*"),Lb=d.createElement("a");Lb.href=tb.href;function Mb(a){return function(b,c){"string"!=typeof b&&(c=b,b="*");var d,e=0,f=b.toLowerCase().match(L)||[];if(r.isFunction(c))while(d=f[e++])"+"===d[0]?(d=d.slice(1)||"*",(a[d]=a[d]||[]).unshift(c)):(a[d]=a[d]||[]).push(c)}}function Nb(a,b,c,d){var e={},f=a===Jb;function g(h){var i;return e[h]=!0,r.each(a[h]||[],function(a,h){var j=h(b,c,d);return"string"!=typeof j||f||e[j]?f?!(i=j):void 0:(b.dataTypes.unshift(j),g(j),!1)}),i}return g(b.dataTypes[0])||!e["*"]&&g("*")}function Ob(a,b){var c,d,e=r.ajaxSettings.flatOptions||{};for(c in b)void 0!==b[c]&&((e[c]?a:d||(d={}))[c]=b[c]);return d&&r.extend(!0,a,d),a}function Pb(a,b,c){var d,e,f,g,h=a.contents,i=a.dataTypes;while("*"===i[0])i.shift(),void 0===d&&(d=a.mimeType||b.getResponseHeader("Content-Type"));if(d)for(e in h)if(h[e]&&h[e].test(d)){i.unshift(e);break}if(i[0]in c)f=i[0];else{for(e in c){if(!i[0]||a.converters[e+" "+i[0]]){f=e;break}g||(g=e)}f=f||g}if(f)return f!==i[0]&&i.unshift(f),c[f]}function Qb(a,b,c,d){var e,f,g,h,i,j={},k=a.dataTypes.slice();if(k[1])for(g in a.converters)j[g.toLowerCase()]=a.converters[g];f=k.shift();while(f)if(a.responseFields[f]&&(c[a.responseFields[f]]=b),!i&&d&&a.dataFilter&&(b=a.dataFilter(b,a.dataType)),i=f,f=k.shift())if("*"===f)f=i;else if("*"!==i&&i!==f){if(g=j[i+" "+f]||j["* "+f],!g)for(e in j)if(h=e.split(" "),h[1]===f&&(g=j[i+" "+h[0]]||j["* "+h[0]])){g===!0?g=j[e]:j[e]!==!0&&(f=h[0],k.unshift(h[1]));break}if(g!==!0)if(g&&a["throws"])b=g(b);else try{b=g(b)}catch(l){return{state:"parsererror",error:g?l:"No conversion from "+i+" to "+f}}}return{state:"success",data:b}}r.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:tb.href,type:"GET",isLocal:Fb.test(tb.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Kb,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":JSON.parse,"text xml":r.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(a,b){return b?Ob(Ob(a,r.ajaxSettings),b):Ob(r.ajaxSettings,a)},ajaxPrefilter:Mb(Ib),ajaxTransport:Mb(Jb),ajax:function(b,c){"object"==typeof b&&(c=b,b=void 0),c=c||{};var e,f,g,h,i,j,k,l,m,n,o=r.ajaxSetup({},c),p=o.context||o,q=o.context&&(p.nodeType||p.jquery)?r(p):r.event,s=r.Deferred(),t=r.Callbacks("once memory"),u=o.statusCode||{},v={},w={},x="canceled",y={readyState:0,getResponseHeader:function(a){var b;if(k){if(!h){h={};while(b=Eb.exec(g))h[b[1].toLowerCase()]=b[2]}b=h[a.toLowerCase()]}return null==b?null:b},getAllResponseHeaders:function(){return k?g:null},setRequestHeader:function(a,b){return null==k&&(a=w[a.toLowerCase()]=w[a.toLowerCase()]||a,v[a]=b),this},overrideMimeType:function(a){return null==k&&(o.mimeType=a),this},statusCode:function(a){var b;if(a)if(k)y.always(a[y.status]);else for(b in a)u[b]=[u[b],a[b]];return this},abort:function(a){var b=a||x;return e&&e.abort(b),A(0,b),this}};if(s.promise(y),o.url=((b||o.url||tb.href)+"").replace(Hb,tb.protocol+"//"),o.type=c.method||c.type||o.method||o.type,o.dataTypes=(o.dataType||"*").toLowerCase().match(L)||[""],null==o.crossDomain){j=d.createElement("a");try{j.href=o.url,j.href=j.href,o.crossDomain=Lb.protocol+"//"+Lb.host!=j.protocol+"//"+j.host}catch(z){o.crossDomain=!0}}if(o.data&&o.processData&&"string"!=typeof o.data&&(o.data=r.param(o.data,o.traditional)),Nb(Ib,o,c,y),k)return y;l=r.event&&o.global,l&&0===r.active++&&r.event.trigger("ajaxStart"),o.type=o.type.toUpperCase(),o.hasContent=!Gb.test(o.type),f=o.url.replace(Cb,""),o.hasContent?o.data&&o.processData&&0===(o.contentType||"").indexOf("application/x-www-form-urlencoded")&&(o.data=o.data.replace(Bb,"+")):(n=o.url.slice(f.length),o.data&&(f+=(vb.test(f)?"&":"?")+o.data,delete o.data),o.cache===!1&&(f=f.replace(Db,"$1"),n=(vb.test(f)?"&":"?")+"_="+ub++ +n),o.url=f+n),o.ifModified&&(r.lastModified[f]&&y.setRequestHeader("If-Modified-Since",r.lastModified[f]),r.etag[f]&&y.setRequestHeader("If-None-Match",r.etag[f])),(o.data&&o.hasContent&&o.contentType!==!1||c.contentType)&&y.setRequestHeader("Content-Type",o.contentType),y.setRequestHeader("Accept",o.dataTypes[0]&&o.accepts[o.dataTypes[0]]?o.accepts[o.dataTypes[0]]+("*"!==o.dataTypes[0]?", "+Kb+"; q=0.01":""):o.accepts["*"]);for(m in o.headers)y.setRequestHeader(m,o.headers[m]);if(o.beforeSend&&(o.beforeSend.call(p,y,o)===!1||k))return y.abort();if(x="abort",t.add(o.complete),y.done(o.success),y.fail(o.error),e=Nb(Jb,o,c,y)){if(y.readyState=1,l&&q.trigger("ajaxSend",[y,o]),k)return y;o.async&&o.timeout>0&&(i=a.setTimeout(function(){y.abort("timeout")},o.timeout));try{k=!1,e.send(v,A)}catch(z){if(k)throw z;A(-1,z)}}else A(-1,"No Transport");function A(b,c,d,h){var j,m,n,v,w,x=c;k||(k=!0,i&&a.clearTimeout(i),e=void 0,g=h||"",y.readyState=b>0?4:0,j=b>=200&&b<300||304===b,d&&(v=Pb(o,y,d)),v=Qb(o,v,y,j),j?(o.ifModified&&(w=y.getResponseHeader("Last-Modified"),w&&(r.lastModified[f]=w),w=y.getResponseHeader("etag"),w&&(r.etag[f]=w)),204===b||"HEAD"===o.type?x="nocontent":304===b?x="notmodified":(x=v.state,m=v.data,n=v.error,j=!n)):(n=x,!b&&x||(x="error",b<0&&(b=0))),y.status=b,y.statusText=(c||x)+"",j?s.resolveWith(p,[m,x,y]):s.rejectWith(p,[y,x,n]),y.statusCode(u),u=void 0,l&&q.trigger(j?"ajaxSuccess":"ajaxError",[y,o,j?m:n]),t.fireWith(p,[y,x]),l&&(q.trigger("ajaxComplete",[y,o]),--r.active||r.event.trigger("ajaxStop")))}return y},getJSON:function(a,b,c){return r.get(a,b,c,"json")},getScript:function(a,b){return r.get(a,void 0,b,"script")}}),r.each(["get","post"],function(a,b){r[b]=function(a,c,d,e){return r.isFunction(c)&&(e=e||d,d=c,c=void 0),r.ajax(r.extend({url:a,type:b,dataType:e,data:c,success:d},r.isPlainObject(a)&&a))}}),r._evalUrl=function(a){return r.ajax({url:a,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,"throws":!0})},r.fn.extend({wrapAll:function(a){var b;return this[0]&&(r.isFunction(a)&&(a=a.call(this[0])),b=r(a,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&b.insertBefore(this[0]),b.map(function(){var a=this;while(a.firstElementChild)a=a.firstElementChild;return a}).append(this)),this},wrapInner:function(a){return r.isFunction(a)?this.each(function(b){r(this).wrapInner(a.call(this,b))}):this.each(function(){var b=r(this),c=b.contents();c.length?c.wrapAll(a):b.append(a)})},wrap:function(a){var b=r.isFunction(a);return this.each(function(c){r(this).wrapAll(b?a.call(this,c):a)})},unwrap:function(a){return this.parent(a).not("body").each(function(){r(this).replaceWith(this.childNodes)}),this}}),r.expr.pseudos.hidden=function(a){return!r.expr.pseudos.visible(a)},r.expr.pseudos.visible=function(a){return!!(a.offsetWidth||a.offsetHeight||a.getClientRects().length)},r.ajaxSettings.xhr=function(){try{return new a.XMLHttpRequest}catch(b){}};var Rb={0:200,1223:204},Sb=r.ajaxSettings.xhr();o.cors=!!Sb&&"withCredentials"in Sb,o.ajax=Sb=!!Sb,r.ajaxTransport(function(b){var c,d;if(o.cors||Sb&&!b.crossDomain)return{send:function(e,f){var g,h=b.xhr();if(h.open(b.type,b.url,b.async,b.username,b.password),b.xhrFields)for(g in b.xhrFields)h[g]=b.xhrFields[g];b.mimeType&&h.overrideMimeType&&h.overrideMimeType(b.mimeType),b.crossDomain||e["X-Requested-With"]||(e["X-Requested-With"]="XMLHttpRequest");for(g in e)h.setRequestHeader(g,e[g]);c=function(a){return function(){c&&(c=d=h.onload=h.onerror=h.onabort=h.onreadystatechange=null,"abort"===a?h.abort():"error"===a?"number"!=typeof h.status?f(0,"error"):f(h.status,h.statusText):f(Rb[h.status]||h.status,h.statusText,"text"!==(h.responseType||"text")||"string"!=typeof h.responseText?{binary:h.response}:{text:h.responseText},h.getAllResponseHeaders()))}},h.onload=c(),d=h.onerror=c("error"),void 0!==h.onabort?h.onabort=d:h.onreadystatechange=function(){4===h.readyState&&a.setTimeout(function(){c&&d()})},c=c("abort");try{h.send(b.hasContent&&b.data||null)}catch(i){if(c)throw i}},abort:function(){c&&c()}}}),r.ajaxPrefilter(function(a){a.crossDomain&&(a.contents.script=!1)}),r.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(a){return r.globalEval(a),a}}}),r.ajaxPrefilter("script",function(a){void 0===a.cache&&(a.cache=!1),a.crossDomain&&(a.type="GET")}),r.ajaxTransport("script",function(a){if(a.crossDomain){var b,c;return{send:function(e,f){b=r("