diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 0000000..12fffee --- /dev/null +++ b/.gitmodules @@ -0,0 +1,3 @@ +[submodule "themes/acorn"] + path = themes/acorn + url = https://github.com/EyreFree/hexo-theme-acorn.git diff --git a/_config.yml b/_config.yml index 5638eae..9067691 100644 --- a/_config.yml +++ b/_config.yml @@ -3,17 +3,17 @@ ## Source: https://github.com/hexojs/hexo/ # Site -title: Hexo -subtitle: '' -description: '' -keywords: -author: John Doe -language: en +title: T技术沙龙 +subtitle: 'Code' +description: '专注开发者技术交流的线上 & 线下沙龙组织' +keywords: 前端,后端,移动端,编程开发,程序员,代码,IT,互联网 +author: TSalon +language: zh-CN timezone: '' # URL ## Set your site url here. For example, if you use GitHub Page, set url as 'https://username.github.io/project' -url: http://example.com +url: http://www.tsalon.tech permalink: :year/:month/:day/:title/ permalink_defaults: pretty_urls: @@ -45,7 +45,7 @@ relative_link: false future: true highlight: enable: true - line_number: true + line_number: false auto_detect: false tab_replace: '' wrap: true @@ -53,7 +53,7 @@ highlight: prismjs: enable: false preprocess: true - line_number: true + line_number: false tab_replace: '' # Home page setting @@ -99,7 +99,32 @@ ignore: ## Themes: https://hexo.io/themes/ theme: acorn +autoprefixer: + exclude: + - '*.min.css' + +clean_css: + exclude: + - '*.min.css' + +sitemap: + path: + - sitemap.xml + - sitemap.txt + template: ./sitemap_template.xml + template_txt: ./sitemap_template.txt + rel: false + tags: true + categories: true + +search: + path: search.xml + field: post + # Deployment ## Docs: https://hexo.io/docs/one-command-deployment deploy: - type: '' + type: git + repo: + github: git@github.com:EyreFree/tsalon.tech.git + branch: gh-pages diff --git a/package-lock.json b/package-lock.json index 98945a7..f078a5f 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,17 +1,22 @@ { - "name": "hexo-site", - "version": "0.0.0", + "name": "tsalon-com", + "version": "0.1.0", "lockfileVersion": 2, "requires": true, "packages": { "": { - "name": "hexo-site", - "version": "0.0.0", + "name": "tsalon-com", + "version": "0.1.0", "dependencies": { "hexo": "^6.3.0", + "hexo-admonition": "^1.1.2", + "hexo-autoprefixer": "^2.0.0", + "hexo-clean-css": "^2.0.0", "hexo-generator-archive": "^1.0.0", "hexo-generator-category": "^1.0.0", "hexo-generator-index": "^2.0.0", + "hexo-generator-search": "^2.4.3", + "hexo-generator-sitemap": "^3.0.1", "hexo-generator-tag": "^1.0.0", "hexo-renderer-ejs": "^2.0.0", "hexo-renderer-marked": "^5.0.0", @@ -217,6 +222,32 @@ "node": ">= 4.5.0" } }, + "node_modules/autoprefixer": { + "version": "9.8.8", + "resolved": "https://registry.npmjs.org/autoprefixer/-/autoprefixer-9.8.8.tgz", + "integrity": "sha512-eM9d/swFopRt5gdJ7jrpCwgvEMIayITpojhkkSMRsFHYuH5bkSQ4p/9qTEHtmNudUZh22Tehu7I6CxAW0IXTKA==", + "dependencies": { + "browserslist": "^4.12.0", + "caniuse-lite": "^1.0.30001109", + "normalize-range": "^0.1.2", + "num2fraction": "^1.2.2", + "picocolors": "^0.2.1", + "postcss": "^7.0.32", + "postcss-value-parser": "^4.1.0" + }, + "bin": { + "autoprefixer": "bin/autoprefixer" + }, + "funding": { + "type": "tidelift", + "url": "https://tidelift.com/funding/github/npm/autoprefixer" + } + }, + "node_modules/autoprefixer/node_modules/picocolors": { + "version": "0.2.1", + "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-0.2.1.tgz", + "integrity": "sha512-cMlDqaLEqfSaW8Z7N5Jw+lyIW869EzT73/F5lhtY9cLGoVxSXznfgfXMO0Z5K0o0Q2TkTXq+0KFsdnSe3jDViA==" + }, "node_modules/balanced-match": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz", @@ -278,6 +309,33 @@ "integrity": "sha512-9o5UecI3GhkpM6DrXr69PblIuWxPKk9Y0jHBRhdocZ2y7YECBFCsHm79Pr3OyR2AvjhDkabFJaDJMYRazHgsow==", "license": "BSD-2-Clause" }, + "node_modules/browserslist": { + "version": "4.21.4", + "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.21.4.tgz", + "integrity": "sha512-CBHJJdDmgjl3daYjN5Cp5kbTf1mUhZoS+beLklHIvkOWscs83YAhLlF3Wsh/lciQYAcbBJgTOD44VtG31ZM4Hw==", + "funding": [ + { + "type": "opencollective", + "url": "https://opencollective.com/browserslist" + }, + { + "type": "tidelift", + "url": "https://tidelift.com/funding/github/npm/browserslist" + } + ], + "dependencies": { + "caniuse-lite": "^1.0.30001400", + "electron-to-chromium": "^1.4.251", + "node-releases": "^2.0.6", + "update-browserslist-db": "^1.0.9" + }, + "bin": { + "browserslist": "cli.js" + }, + "engines": { + "node": "^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7" + } + }, "node_modules/bytes": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/bytes/-/bytes-3.0.0.tgz", @@ -297,6 +355,21 @@ "tslib": "^2.0.3" } }, + "node_modules/caniuse-lite": { + "version": "1.0.30001410", + "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001410.tgz", + "integrity": "sha512-QoblBnuE+rG0lc3Ur9ltP5q47lbguipa/ncNMyyGuqPk44FxbScWAeEO+k5fSQ8WekdAK4mWqNs1rADDAiN5xQ==", + "funding": [ + { + "type": "opencollective", + "url": "https://opencollective.com/browserslist" + }, + { + "type": "tidelift", + "url": "https://tidelift.com/funding/github/npm/caniuse-lite" + } + ] + }, "node_modules/chalk": { "version": "4.1.2", "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", @@ -340,6 +413,17 @@ "fsevents": "~2.3.2" } }, + "node_modules/clean-css": { + "version": "5.3.1", + "resolved": "https://registry.npmjs.org/clean-css/-/clean-css-5.3.1.tgz", + "integrity": "sha512-lCr8OHhiWCTw4v8POJovCoh4T7I9U11yVsPjMWWnnMmp9ZowCxyad1Pathle/9HjaDp+fdQKjO9fQydE6RHTZg==", + "dependencies": { + "source-map": "~0.6.0" + }, + "engines": { + "node": ">= 10.0" + } + }, "node_modules/color-convert": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", @@ -697,6 +781,11 @@ "node": ">=0.10.0" } }, + "node_modules/electron-to-chromium": { + "version": "1.4.260", + "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.260.tgz", + "integrity": "sha512-1GxPM2Bdz1AjuNjho9/TqJfxM7KZ7R8s4vA5cbbIoVacQXfvZlV+d7Y1lu4BhGzEBfjjhakr3NXKqN0PxPXIsg==" + }, "node_modules/encodeurl": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/encodeurl/-/encodeurl-1.0.2.tgz", @@ -718,6 +807,14 @@ "url": "https://github.com/fb55/entities?sponsor=1" } }, + "node_modules/escalade": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/escalade/-/escalade-3.1.1.tgz", + "integrity": "sha512-k0er2gUkLf8O0zKJiAhmkTnJlTvINGv7ygDNPbeIsX/TJjGJZHuh9B2UxbsaEkmlEo9MfhrSzmhIlhRlI2GXnw==", + "engines": { + "node": ">=6" + } + }, "node_modules/escape-html": { "version": "1.0.3", "resolved": "https://registry.npmjs.org/escape-html/-/escape-html-1.0.3.tgz", @@ -1003,6 +1100,36 @@ "url": "https://opencollective.com/hexo" } }, + "node_modules/hexo-admonition": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/hexo-admonition/-/hexo-admonition-1.1.2.tgz", + "integrity": "sha512-0TtXPe9aZBqqHPXJ77xyUck4qr3RsYkiq5tVrdgJyEYxREFfx2XcRgQh0fro5Vl1F8nmG2FraxeW2QLNUO8eaA==", + "dependencies": { + "markdown-it": "^9.1.0" + } + }, + "node_modules/hexo-autoprefixer": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/hexo-autoprefixer/-/hexo-autoprefixer-2.0.0.tgz", + "integrity": "sha512-qiAcD3K8D5PeyPh357CG6Cn+9GmCBNDRbD2ghnTZzfOo+HFLlLWXyPZfqaUZKKdP2iksmj+vYjE5oFsQizkWYw==", + "dependencies": { + "autoprefixer": "^9.4.3", + "minimatch": "^3.0.2", + "postcss": "^7.0.7" + } + }, + "node_modules/hexo-clean-css": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/hexo-clean-css/-/hexo-clean-css-2.0.0.tgz", + "integrity": "sha512-hmRaZgPax4v1mOPoTVZng/AtQaLztKKgEv7qMRL/6bO/5TeOtuTAXWmil2pjcZayz5saXe5SgWE5M2WGS6WhoQ==", + "dependencies": { + "clean-css": "^5.1.2", + "micromatch": "^4.0.4" + }, + "engines": { + "node": ">= 10.18.1" + } + }, "node_modules/hexo-cli": { "version": "4.3.0", "resolved": "https://registry.npmjs.org/hexo-cli/-/hexo-cli-4.3.0.tgz", @@ -1103,6 +1230,31 @@ "node": ">=10.13.0" } }, + "node_modules/hexo-generator-search": { + "version": "2.4.3", + "resolved": "https://registry.npmjs.org/hexo-generator-search/-/hexo-generator-search-2.4.3.tgz", + "integrity": "sha512-Z5hfZq2g3np/Tgdp2q9HobfIvU6Pdz89tnTurc1IIq/vW0MHgDynk0Aiv6kvMtKWthnZ5l0iEMT3YLN35NdYwQ==", + "dependencies": { + "nunjucks": "^3.0.1", + "utils-merge": "^1.0.0" + }, + "engines": { + "node": ">= 0.10.0" + } + }, + "node_modules/hexo-generator-sitemap": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/hexo-generator-sitemap/-/hexo-generator-sitemap-3.0.1.tgz", + "integrity": "sha512-n+0KLNmq6TLbiZPTQF6NY5MbEem/O+DFx0lgQZNQcU4tdjXIZRrQJs+KRKeT66NTkdlYTqb4WwCxswLqQz0crA==", + "dependencies": { + "hexo-util": "^2.1.0", + "micromatch": "^4.0.2", + "nunjucks": "^3.1.6" + }, + "engines": { + "node": ">=12.13.0" + } + }, "node_modules/hexo-generator-tag": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/hexo-generator-tag/-/hexo-generator-tag-1.0.0.tgz", @@ -1598,6 +1750,14 @@ "node": ">= 0.8.0" } }, + "node_modules/linkify-it": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/linkify-it/-/linkify-it-2.2.0.tgz", + "integrity": "sha512-GnAl/knGn+i1U/wjBz3akz2stz+HrHLsxMwHQGofCDfPvlf+gDKN58UtfmUquTY4/MXeE2x7k19KQmeoZi94Iw==", + "dependencies": { + "uc.micro": "^1.0.1" + } + }, "node_modules/lower-case": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/lower-case/-/lower-case-2.0.2.tgz", @@ -1607,6 +1767,39 @@ "tslib": "^2.0.3" } }, + "node_modules/markdown-it": { + "version": "9.1.0", + "resolved": "https://registry.npmjs.org/markdown-it/-/markdown-it-9.1.0.tgz", + "integrity": "sha512-xHKG4C8iPriyfu/jc2hsCC045fKrMQ0VexX2F1FGYiRxDxqMB2aAhF8WauJ3fltn2kb90moGBkiiEdooGIg55w==", + "dependencies": { + "argparse": "^1.0.7", + "entities": "~1.1.1", + "linkify-it": "^2.0.0", + "mdurl": "^1.0.1", + "uc.micro": "^1.0.5" + }, + "bin": { + "markdown-it": "bin/markdown-it.js" + } + }, + "node_modules/markdown-it/node_modules/argparse": { + "version": "1.0.10", + "resolved": "https://registry.npmjs.org/argparse/-/argparse-1.0.10.tgz", + "integrity": "sha512-o5Roy6tNG4SL/FOkCAN6RzjiakZS25RLYFrcMttJqbdd8BWrnA+fGz57iN5Pb06pvBGvl5gQ0B48dJlslXvoTg==", + "dependencies": { + "sprintf-js": "~1.0.2" + } + }, + "node_modules/markdown-it/node_modules/entities": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/entities/-/entities-1.1.2.tgz", + "integrity": "sha512-f2LZMYl1Fzu7YSBKg+RoROelpOaNrcGmE9AZubeDfrCEia483oW4MI4VyFd5VNHIgQ/7qm1I0wUHK1eJnn2y2w==" + }, + "node_modules/markdown-it/node_modules/sprintf-js": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/sprintf-js/-/sprintf-js-1.0.3.tgz", + "integrity": "sha512-D9cPgkvLlV3t3IzL0D0YLvGA9Ahk4PcvVwUbN0dSGr1aP0Nrt4AEnTUbuGvquEC0mA64Gqt1fzirlRs5ibXx8g==" + }, "node_modules/marked": { "version": "4.1.0", "resolved": "https://registry.npmjs.org/marked/-/marked-4.1.0.tgz", @@ -1619,6 +1812,11 @@ "node": ">= 12" } }, + "node_modules/mdurl": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/mdurl/-/mdurl-1.0.1.tgz", + "integrity": "sha512-/sKlQJCBYVY9Ers9hqzKou4H6V5UWc/M59TH2dvkt+84itfnq7uFOMLpOiOS4ujvHP4etln18fmIxA5R5fll0g==" + }, "node_modules/micro-memoize": { "version": "4.0.11", "resolved": "https://registry.npmjs.org/micro-memoize/-/micro-memoize-4.0.11.tgz", @@ -1782,6 +1980,11 @@ "tslib": "^2.0.3" } }, + "node_modules/node-releases": { + "version": "2.0.6", + "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-2.0.6.tgz", + "integrity": "sha512-PiVXnNuFm5+iYkLBNeq5211hvO38y63T0i2KKh2KnUs3RpzJ+JtODFjkD8yjLwnDkTYF1eKXheUwdssR+NRZdg==" + }, "node_modules/normalize-path": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/normalize-path/-/normalize-path-3.0.0.tgz", @@ -1791,6 +1994,19 @@ "node": ">=0.10.0" } }, + "node_modules/normalize-range": { + "version": "0.1.2", + "resolved": "https://registry.npmjs.org/normalize-range/-/normalize-range-0.1.2.tgz", + "integrity": "sha512-bdok/XvKII3nUpklnV6P2hxtMNrCboOjAcyBuQnWEhO665FwrSNRxU+AqpsyvO6LgGYPspN+lu5CLtw4jPRKNA==", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/num2fraction": { + "version": "1.2.2", + "resolved": "https://registry.npmjs.org/num2fraction/-/num2fraction-1.2.2.tgz", + "integrity": "sha512-Y1wZESM7VUThYY+4W+X4ySH2maqcA+p7UR+w8VWNWVAd6lwuXXWz/w/Cz43J/dI2I+PS6wD5N+bJUF+gjWvIqg==" + }, "node_modules/nunjucks": { "version": "3.2.3", "resolved": "https://registry.npmjs.org/nunjucks/-/nunjucks-3.2.3.tgz", @@ -1953,6 +2169,32 @@ "url": "https://github.com/sponsors/jonschlinkert" } }, + "node_modules/postcss": { + "version": "7.0.39", + "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.39.tgz", + "integrity": "sha512-yioayjNbHn6z1/Bywyb2Y4s3yvDAeXGOyxqD+LnVOinq6Mdmd++SW2wUNVzavyyHxd6+DxzWGIuosg6P1Rj8uA==", + "dependencies": { + "picocolors": "^0.2.1", + "source-map": "^0.6.1" + }, + "engines": { + "node": ">=6.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/postcss/" + } + }, + "node_modules/postcss-value-parser": { + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/postcss-value-parser/-/postcss-value-parser-4.2.0.tgz", + "integrity": "sha512-1NNCs6uurfkVbeXG4S8JFT9t19m45ICnif8zWLd5oPSZ50QnwMfK+H3jv408d4jw/7Bttv5axS5IiHoLaVNHeQ==" + }, + "node_modules/postcss/node_modules/picocolors": { + "version": "0.2.1", + "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-0.2.1.tgz", + "integrity": "sha512-cMlDqaLEqfSaW8Z7N5Jw+lyIW869EzT73/F5lhtY9cLGoVxSXznfgfXMO0Z5K0o0Q2TkTXq+0KFsdnSe3jDViA==" + }, "node_modules/prelude-ls": { "version": "1.1.2", "resolved": "https://registry.npmjs.org/prelude-ls/-/prelude-ls-1.1.2.tgz", @@ -2464,6 +2706,11 @@ "node": ">= 0.8.0" } }, + "node_modules/uc.micro": { + "version": "1.0.6", + "resolved": "https://registry.npmjs.org/uc.micro/-/uc.micro-1.0.6.tgz", + "integrity": "sha512-8Y75pvTYkLJW2hWQHXxoqRgV7qb9B+9vFEtidML+7koHUFapnVJAZ6cKs+Qjz5Aw3aZWHMC6u0wJE3At+nSGwA==" + }, "node_modules/universalify": { "version": "0.2.0", "resolved": "https://registry.npmjs.org/universalify/-/universalify-0.2.0.tgz", @@ -2482,6 +2729,31 @@ "node": ">= 0.8" } }, + "node_modules/update-browserslist-db": { + "version": "1.0.9", + "resolved": "https://registry.npmjs.org/update-browserslist-db/-/update-browserslist-db-1.0.9.tgz", + "integrity": "sha512-/xsqn21EGVdXI3EXSum1Yckj3ZVZugqyOZQ/CxYPBD/R+ko9NSUScf8tFF4dOKY+2pvSSJA/S+5B8s4Zr4kyvg==", + "funding": [ + { + "type": "opencollective", + "url": "https://opencollective.com/browserslist" + }, + { + "type": "tidelift", + "url": "https://tidelift.com/funding/github/npm/browserslist" + } + ], + "dependencies": { + "escalade": "^3.1.1", + "picocolors": "^1.0.0" + }, + "bin": { + "browserslist-lint": "cli.js" + }, + "peerDependencies": { + "browserslist": ">= 4.21.0" + } + }, "node_modules/url-parse": { "version": "1.5.10", "resolved": "https://registry.npmjs.org/url-parse/-/url-parse-1.5.10.tgz", @@ -2797,6 +3069,27 @@ "resolved": "https://registry.npmjs.org/atob/-/atob-2.1.2.tgz", "integrity": "sha512-Wm6ukoaOGJi/73p/cl2GvLjTI5JM1k/O14isD73YML8StrH/7/lRFgmg8nICZgD3bZZvjwCGxtMOD3wWNAu8cg==" }, + "autoprefixer": { + "version": "9.8.8", + "resolved": "https://registry.npmjs.org/autoprefixer/-/autoprefixer-9.8.8.tgz", + "integrity": "sha512-eM9d/swFopRt5gdJ7jrpCwgvEMIayITpojhkkSMRsFHYuH5bkSQ4p/9qTEHtmNudUZh22Tehu7I6CxAW0IXTKA==", + "requires": { + "browserslist": "^4.12.0", + "caniuse-lite": "^1.0.30001109", + "normalize-range": "^0.1.2", + "num2fraction": "^1.2.2", + "picocolors": "^0.2.1", + "postcss": "^7.0.32", + "postcss-value-parser": "^4.1.0" + }, + "dependencies": { + "picocolors": { + "version": "0.2.1", + "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-0.2.1.tgz", + "integrity": "sha512-cMlDqaLEqfSaW8Z7N5Jw+lyIW869EzT73/F5lhtY9cLGoVxSXznfgfXMO0Z5K0o0Q2TkTXq+0KFsdnSe3jDViA==" + } + } + }, "balanced-match": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz", @@ -2842,6 +3135,17 @@ "resolved": "https://registry.npmjs.org/browser-process-hrtime/-/browser-process-hrtime-1.0.0.tgz", "integrity": "sha512-9o5UecI3GhkpM6DrXr69PblIuWxPKk9Y0jHBRhdocZ2y7YECBFCsHm79Pr3OyR2AvjhDkabFJaDJMYRazHgsow==" }, + "browserslist": { + "version": "4.21.4", + "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.21.4.tgz", + "integrity": "sha512-CBHJJdDmgjl3daYjN5Cp5kbTf1mUhZoS+beLklHIvkOWscs83YAhLlF3Wsh/lciQYAcbBJgTOD44VtG31ZM4Hw==", + "requires": { + "caniuse-lite": "^1.0.30001400", + "electron-to-chromium": "^1.4.251", + "node-releases": "^2.0.6", + "update-browserslist-db": "^1.0.9" + } + }, "bytes": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/bytes/-/bytes-3.0.0.tgz", @@ -2856,6 +3160,11 @@ "tslib": "^2.0.3" } }, + "caniuse-lite": { + "version": "1.0.30001410", + "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001410.tgz", + "integrity": "sha512-QoblBnuE+rG0lc3Ur9ltP5q47lbguipa/ncNMyyGuqPk44FxbScWAeEO+k5fSQ8WekdAK4mWqNs1rADDAiN5xQ==" + }, "chalk": { "version": "4.1.2", "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", @@ -2880,6 +3189,14 @@ "readdirp": "~3.6.0" } }, + "clean-css": { + "version": "5.3.1", + "resolved": "https://registry.npmjs.org/clean-css/-/clean-css-5.3.1.tgz", + "integrity": "sha512-lCr8OHhiWCTw4v8POJovCoh4T7I9U11yVsPjMWWnnMmp9ZowCxyad1Pathle/9HjaDp+fdQKjO9fQydE6RHTZg==", + "requires": { + "source-map": "~0.6.0" + } + }, "color-convert": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", @@ -3129,6 +3446,11 @@ "jake": "^10.8.5" } }, + "electron-to-chromium": { + "version": "1.4.260", + "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.260.tgz", + "integrity": "sha512-1GxPM2Bdz1AjuNjho9/TqJfxM7KZ7R8s4vA5cbbIoVacQXfvZlV+d7Y1lu4BhGzEBfjjhakr3NXKqN0PxPXIsg==" + }, "encodeurl": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/encodeurl/-/encodeurl-1.0.2.tgz", @@ -3139,6 +3461,11 @@ "resolved": "https://registry.npmjs.org/entities/-/entities-3.0.1.tgz", "integrity": "sha512-WiyBqoomrwMdFG1e0kqvASYfnlb0lp8M5o5Fw2OFq1hNZxxcNk8Ik0Xm7LxzBhuidnZB/UtBqVCgUz3kBOP51Q==" }, + "escalade": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/escalade/-/escalade-3.1.1.tgz", + "integrity": "sha512-k0er2gUkLf8O0zKJiAhmkTnJlTvINGv7ygDNPbeIsX/TJjGJZHuh9B2UxbsaEkmlEo9MfhrSzmhIlhRlI2GXnw==" + }, "escape-html": { "version": "1.0.3", "resolved": "https://registry.npmjs.org/escape-html/-/escape-html-1.0.3.tgz", @@ -3336,6 +3663,33 @@ "warehouse": "^4.0.2" } }, + "hexo-admonition": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/hexo-admonition/-/hexo-admonition-1.1.2.tgz", + "integrity": "sha512-0TtXPe9aZBqqHPXJ77xyUck4qr3RsYkiq5tVrdgJyEYxREFfx2XcRgQh0fro5Vl1F8nmG2FraxeW2QLNUO8eaA==", + "requires": { + "markdown-it": "^9.1.0" + } + }, + "hexo-autoprefixer": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/hexo-autoprefixer/-/hexo-autoprefixer-2.0.0.tgz", + "integrity": "sha512-qiAcD3K8D5PeyPh357CG6Cn+9GmCBNDRbD2ghnTZzfOo+HFLlLWXyPZfqaUZKKdP2iksmj+vYjE5oFsQizkWYw==", + "requires": { + "autoprefixer": "^9.4.3", + "minimatch": "^3.0.2", + "postcss": "^7.0.7" + } + }, + "hexo-clean-css": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/hexo-clean-css/-/hexo-clean-css-2.0.0.tgz", + "integrity": "sha512-hmRaZgPax4v1mOPoTVZng/AtQaLztKKgEv7qMRL/6bO/5TeOtuTAXWmil2pjcZayz5saXe5SgWE5M2WGS6WhoQ==", + "requires": { + "clean-css": "^5.1.2", + "micromatch": "^4.0.4" + } + }, "hexo-cli": { "version": "4.3.0", "resolved": "https://registry.npmjs.org/hexo-cli/-/hexo-cli-4.3.0.tgz", @@ -3407,6 +3761,25 @@ "timsort": "^0.3.0" } }, + "hexo-generator-search": { + "version": "2.4.3", + "resolved": "https://registry.npmjs.org/hexo-generator-search/-/hexo-generator-search-2.4.3.tgz", + "integrity": "sha512-Z5hfZq2g3np/Tgdp2q9HobfIvU6Pdz89tnTurc1IIq/vW0MHgDynk0Aiv6kvMtKWthnZ5l0iEMT3YLN35NdYwQ==", + "requires": { + "nunjucks": "^3.0.1", + "utils-merge": "^1.0.0" + } + }, + "hexo-generator-sitemap": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/hexo-generator-sitemap/-/hexo-generator-sitemap-3.0.1.tgz", + "integrity": "sha512-n+0KLNmq6TLbiZPTQF6NY5MbEem/O+DFx0lgQZNQcU4tdjXIZRrQJs+KRKeT66NTkdlYTqb4WwCxswLqQz0crA==", + "requires": { + "hexo-util": "^2.1.0", + "micromatch": "^4.0.2", + "nunjucks": "^3.1.6" + } + }, "hexo-generator-tag": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/hexo-generator-tag/-/hexo-generator-tag-1.0.0.tgz", @@ -3743,6 +4116,14 @@ "type-check": "~0.3.2" } }, + "linkify-it": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/linkify-it/-/linkify-it-2.2.0.tgz", + "integrity": "sha512-GnAl/knGn+i1U/wjBz3akz2stz+HrHLsxMwHQGofCDfPvlf+gDKN58UtfmUquTY4/MXeE2x7k19KQmeoZi94Iw==", + "requires": { + "uc.micro": "^1.0.1" + } + }, "lower-case": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/lower-case/-/lower-case-2.0.2.tgz", @@ -3751,11 +4132,48 @@ "tslib": "^2.0.3" } }, + "markdown-it": { + "version": "9.1.0", + "resolved": "https://registry.npmjs.org/markdown-it/-/markdown-it-9.1.0.tgz", + "integrity": "sha512-xHKG4C8iPriyfu/jc2hsCC045fKrMQ0VexX2F1FGYiRxDxqMB2aAhF8WauJ3fltn2kb90moGBkiiEdooGIg55w==", + "requires": { + "argparse": "^1.0.7", + "entities": "~1.1.1", + "linkify-it": "^2.0.0", + "mdurl": "^1.0.1", + "uc.micro": "^1.0.5" + }, + "dependencies": { + "argparse": { + "version": "1.0.10", + "resolved": "https://registry.npmjs.org/argparse/-/argparse-1.0.10.tgz", + "integrity": "sha512-o5Roy6tNG4SL/FOkCAN6RzjiakZS25RLYFrcMttJqbdd8BWrnA+fGz57iN5Pb06pvBGvl5gQ0B48dJlslXvoTg==", + "requires": { + "sprintf-js": "~1.0.2" + } + }, + "entities": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/entities/-/entities-1.1.2.tgz", + "integrity": "sha512-f2LZMYl1Fzu7YSBKg+RoROelpOaNrcGmE9AZubeDfrCEia483oW4MI4VyFd5VNHIgQ/7qm1I0wUHK1eJnn2y2w==" + }, + "sprintf-js": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/sprintf-js/-/sprintf-js-1.0.3.tgz", + "integrity": "sha512-D9cPgkvLlV3t3IzL0D0YLvGA9Ahk4PcvVwUbN0dSGr1aP0Nrt4AEnTUbuGvquEC0mA64Gqt1fzirlRs5ibXx8g==" + } + } + }, "marked": { "version": "4.1.0", "resolved": "https://registry.npmjs.org/marked/-/marked-4.1.0.tgz", "integrity": "sha512-+Z6KDjSPa6/723PQYyc1axYZpYYpDnECDaU6hkaf5gqBieBkMKYReL5hteF2QizhlMbgbo8umXl/clZ67+GlsA==" }, + "mdurl": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/mdurl/-/mdurl-1.0.1.tgz", + "integrity": "sha512-/sKlQJCBYVY9Ers9hqzKou4H6V5UWc/M59TH2dvkt+84itfnq7uFOMLpOiOS4ujvHP4etln18fmIxA5R5fll0g==" + }, "micro-memoize": { "version": "4.0.11", "resolved": "https://registry.npmjs.org/micro-memoize/-/micro-memoize-4.0.11.tgz", @@ -3865,11 +4283,26 @@ "tslib": "^2.0.3" } }, + "node-releases": { + "version": "2.0.6", + "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-2.0.6.tgz", + "integrity": "sha512-PiVXnNuFm5+iYkLBNeq5211hvO38y63T0i2KKh2KnUs3RpzJ+JtODFjkD8yjLwnDkTYF1eKXheUwdssR+NRZdg==" + }, "normalize-path": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/normalize-path/-/normalize-path-3.0.0.tgz", "integrity": "sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA==" }, + "normalize-range": { + "version": "0.1.2", + "resolved": "https://registry.npmjs.org/normalize-range/-/normalize-range-0.1.2.tgz", + "integrity": "sha512-bdok/XvKII3nUpklnV6P2hxtMNrCboOjAcyBuQnWEhO665FwrSNRxU+AqpsyvO6LgGYPspN+lu5CLtw4jPRKNA==" + }, + "num2fraction": { + "version": "1.2.2", + "resolved": "https://registry.npmjs.org/num2fraction/-/num2fraction-1.2.2.tgz", + "integrity": "sha512-Y1wZESM7VUThYY+4W+X4ySH2maqcA+p7UR+w8VWNWVAd6lwuXXWz/w/Cz43J/dI2I+PS6wD5N+bJUF+gjWvIqg==" + }, "nunjucks": { "version": "3.2.3", "resolved": "https://registry.npmjs.org/nunjucks/-/nunjucks-3.2.3.tgz", @@ -3973,6 +4406,27 @@ "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.1.tgz", "integrity": "sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==" }, + "postcss": { + "version": "7.0.39", + "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.39.tgz", + "integrity": "sha512-yioayjNbHn6z1/Bywyb2Y4s3yvDAeXGOyxqD+LnVOinq6Mdmd++SW2wUNVzavyyHxd6+DxzWGIuosg6P1Rj8uA==", + "requires": { + "picocolors": "^0.2.1", + "source-map": "^0.6.1" + }, + "dependencies": { + "picocolors": { + "version": "0.2.1", + "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-0.2.1.tgz", + "integrity": "sha512-cMlDqaLEqfSaW8Z7N5Jw+lyIW869EzT73/F5lhtY9cLGoVxSXznfgfXMO0Z5K0o0Q2TkTXq+0KFsdnSe3jDViA==" + } + } + }, + "postcss-value-parser": { + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/postcss-value-parser/-/postcss-value-parser-4.2.0.tgz", + "integrity": "sha512-1NNCs6uurfkVbeXG4S8JFT9t19m45ICnif8zWLd5oPSZ50QnwMfK+H3jv408d4jw/7Bttv5axS5IiHoLaVNHeQ==" + }, "prelude-ls": { "version": "1.1.2", "resolved": "https://registry.npmjs.org/prelude-ls/-/prelude-ls-1.1.2.tgz", @@ -4317,6 +4771,11 @@ "prelude-ls": "~1.1.2" } }, + "uc.micro": { + "version": "1.0.6", + "resolved": "https://registry.npmjs.org/uc.micro/-/uc.micro-1.0.6.tgz", + "integrity": "sha512-8Y75pvTYkLJW2hWQHXxoqRgV7qb9B+9vFEtidML+7koHUFapnVJAZ6cKs+Qjz5Aw3aZWHMC6u0wJE3At+nSGwA==" + }, "universalify": { "version": "0.2.0", "resolved": "https://registry.npmjs.org/universalify/-/universalify-0.2.0.tgz", @@ -4327,6 +4786,15 @@ "resolved": "https://registry.npmjs.org/unpipe/-/unpipe-1.0.0.tgz", "integrity": "sha512-pjy2bYhSsufwWlKwPc+l3cN7+wuJlK6uz0YdJEOlQDbl6jo/YlPi4mb8agUkVC8BF7V8NuzeyPNqRksA3hztKQ==" }, + "update-browserslist-db": { + "version": "1.0.9", + "resolved": "https://registry.npmjs.org/update-browserslist-db/-/update-browserslist-db-1.0.9.tgz", + "integrity": "sha512-/xsqn21EGVdXI3EXSum1Yckj3ZVZugqyOZQ/CxYPBD/R+ko9NSUScf8tFF4dOKY+2pvSSJA/S+5B8s4Zr4kyvg==", + "requires": { + "escalade": "^3.1.1", + "picocolors": "^1.0.0" + } + }, "url-parse": { "version": "1.5.10", "resolved": "https://registry.npmjs.org/url-parse/-/url-parse-1.5.10.tgz", diff --git a/package.json b/package.json index 79d10fd..c615ca8 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { - "name": "hexo-site", - "version": "0.0.0", + "name": "tsalon-com", + "version": "0.1.0", "private": true, "scripts": { "build": "hexo generate", @@ -13,14 +13,21 @@ }, "dependencies": { "hexo": "^6.3.0", + "hexo-admonition": "^1.1.2", + "hexo-autoprefixer": "^2.0.0", + "hexo-clean-css": "^2.0.0", "hexo-generator-archive": "^1.0.0", "hexo-generator-category": "^1.0.0", "hexo-generator-index": "^2.0.0", + "hexo-generator-search": "^2.4.3", + "hexo-generator-sitemap": "^3.0.1", "hexo-generator-tag": "^1.0.0", "hexo-renderer-ejs": "^2.0.0", "hexo-renderer-marked": "^5.0.0", "hexo-renderer-stylus": "^2.1.0", - "hexo-server": "^3.0.0", - "hexo-theme-landscape": "^0.0.3" - } -} \ No newline at end of file + "hexo-server": "^3.0.0" + }, + "browserslist": [ + "last 2 versions" + ] +} diff --git a/sitemap_template.txt b/sitemap_template.txt new file mode 100644 index 0000000..2af555b --- /dev/null +++ b/sitemap_template.txt @@ -0,0 +1,5 @@ +{% for post in posts %}{{ post.permalink | uriencode }} +{% endfor %}{{ config.url | uriencode }} +{% for tag in tags %}{{ tag.permalink | uriencode }} +{% endfor %}{% for cat in categories %}{{ cat.permalink | uriencode }} +{% endfor %} diff --git a/sitemap_template.xml b/sitemap_template.xml new file mode 100644 index 0000000..b6ce00e --- /dev/null +++ b/sitemap_template.xml @@ -0,0 +1,40 @@ + + + {% for post in posts %} + + {{ post.permalink | uriencode }} + {% if post.updated %} + {{ post.updated | formatDate }} + {% elif post.date %} + {{ post.date | formatDate }} + {% endif %} + monthly + 0.6 + + {% endfor %} + + + {{ config.url | uriencode }} + {{ sNow | formatDate }} + daily + 1.0 + + + {% for tag in tags %} + + {{ tag.permalink | uriencode }} + {{ sNow | formatDate }} + weekly + 0.2 + + {% endfor %} + + {% for cat in categories %} + + {{ cat.permalink | uriencode }} + {{ sNow | formatDate }} + weekly + 0.2 + + {% endfor %} + diff --git a/source/_data/album.yml b/source/_data/album.yml new file mode 100644 index 0000000..fae6c2b --- /dev/null +++ b/source/_data/album.yml @@ -0,0 +1,49 @@ +## 专辑 +# name: 标题 +# en_name: 英文标题 +# description: 描述内容 +# cover: 封面图片路径 +# link: 链接路径,无链接为空即可 +# preview: 预览路径,无则可以为空 +# +- name: 中文标题一 + en_name: ENGLISH TITLE 1 + description: 披绣闼,俯雕甍,山原旷其盈视,川泽纡其骇瞩。闾阎扑地,钟鸣鼎食之家;舸舰弥津,青雀黄龙之舳。云销雨霁,彩彻区明。落霞与孤鹜齐飞,秋水共长天一色。渔舟唱晚,响穷彭蠡之滨;雁阵惊寒,声断衡阳之浦。 + cover: /images/sample/mydesk.png + link: + preview: + +- name: 中文标题二 + en_name: ENGLISH TITLE 2 + description: 披绣闼,俯雕甍,山原旷其盈视,川泽纡其骇瞩。闾阎扑地,钟鸣鼎食之家;舸舰弥津,青雀黄龙之舳。云销雨霁,彩彻区明。落霞与孤鹜齐飞,秋水共长天一色。渔舟唱晚,响穷彭蠡之滨;雁阵惊寒,声断衡阳之浦。 + cover: /images/sample/mydesk.png + link: + preview: + +- name: 中文标题三 + en_name: ENGLISH TITLE 3 + description: 披绣闼,俯雕甍,山原旷其盈视,川泽纡其骇瞩。闾阎扑地,钟鸣鼎食之家;舸舰弥津,青雀黄龙之舳。云销雨霁,彩彻区明。落霞与孤鹜齐飞,秋水共长天一色。渔舟唱晚,响穷彭蠡之滨;雁阵惊寒,声断衡阳之浦。 + cover: /images/sample/mydesk.png + link: + preview: + +- name: 中文标题四 + en_name: ENGLISH TITLE 4 + description: 披绣闼,俯雕甍,山原旷其盈视,川泽纡其骇瞩。闾阎扑地,钟鸣鼎食之家;舸舰弥津,青雀黄龙之舳。云销雨霁,彩彻区明。落霞与孤鹜齐飞,秋水共长天一色。渔舟唱晚,响穷彭蠡之滨;雁阵惊寒,声断衡阳之浦。 + cover: /images/sample/mydesk.png + link: + preview: + +- name: 中文标题五 + en_name: ENGLISH TITLE 5 + description: 披绣闼,俯雕甍,山原旷其盈视,川泽纡其骇瞩。闾阎扑地,钟鸣鼎食之家;舸舰弥津,青雀黄龙之舳。云销雨霁,彩彻区明。落霞与孤鹜齐飞,秋水共长天一色。渔舟唱晚,响穷彭蠡之滨;雁阵惊寒,声断衡阳之浦。 + cover: /images/sample/mydesk.png + link: + preview: + +- name: 中文标题六 + en_name: ENGLISH TITLE 6 + description: 披绣闼,俯雕甍,山原旷其盈视,川泽纡其骇瞩。闾阎扑地,钟鸣鼎食之家;舸舰弥津,青雀黄龙之舳。云销雨霁,彩彻区明。落霞与孤鹜齐飞,秋水共长天一色。渔舟唱晚,响穷彭蠡之滨;雁阵惊寒,声断衡阳之浦。 + cover: /images/sample/mydesk.png + link: + preview: diff --git a/source/_data/contact.yml b/source/_data/contact.yml new file mode 100644 index 0000000..98f7c2a --- /dev/null +++ b/source/_data/contact.yml @@ -0,0 +1,20 @@ +## 联系方式 +# name: 联系方式名称 +# en_name: 英文 +# icon: 图标路径,不使用图标为空即可 +# link: 链接路径,无链接为空即可 +# +- name: 微博 + en_name: weibo + icon: /images/icons/contact_weibo.svg + link: https://weibo.com/u/1302422271 + +# - name: 微信 +# en_name: wechat +# icon: /images/icons/contact_wechat.svg +# link: javascript:; + +- name: 邮箱 + en_name: e-mail + icon: /images/icons/contact_email.svg + link: mailto:t@tsalon.tech \ No newline at end of file diff --git a/source/_data/culture.yml b/source/_data/culture.yml new file mode 100644 index 0000000..52683b5 --- /dev/null +++ b/source/_data/culture.yml @@ -0,0 +1,28 @@ +## 企业文化 +# name: 标题 +# en_name: 英文标题 +# description: 描述内容 +# cover: 封面图片路径 +# cover_size: 封面图片大小 +# link: 链接路径,无链接为空即可 +# +- name: 企业文化 + en_name: + description: 潦水尽而寒潭清,烟光凝而暮山紫。俨骖騑于上路,访风景于崇阿;临帝子之长洲,得天人之旧馆。 + cover: /images/culture/icon_1.svg + cover_size: 64 + link: + +- name: 企业文化 + en_name: + description: 潦水尽而寒潭清,烟光凝而暮山紫。俨骖騑于上路,访风景于崇阿;临帝子之长洲,得天人之旧馆。 + cover: /images/culture/icon_2.svg + cover_size: 64 + link: + +- name: 企业文化 + en_name: + description: 潦水尽而寒潭清,烟光凝而暮山紫。俨骖騑于上路,访风景于崇阿;临帝子之长洲,得天人之旧馆。 + cover: /images/culture/icon_3.svg + cover_size: 64 + link: \ No newline at end of file diff --git a/source/_data/gallery.yml b/source/_data/gallery.yml new file mode 100644 index 0000000..8be1353 --- /dev/null +++ b/source/_data/gallery.yml @@ -0,0 +1,21 @@ +## 画廊 +# name: 标题 +# en_name: 英文标题 +# description: 描述内容 +# cover: 封面图片路径 +# link: 链接路径,无链接为空即可 +# preview: 预览路径,无则可以为空 +# +- name: 橡子 + en_name: Acorn + description: Acorn 是一“颗”免费且开源的 Hexo 主题,可适用于中小型企业门户或工作室等展示类网站的简单建设。 + cover: /images/sample/mydesk.png + link: + preview: + +- name: 橡子 + en_name: Acorn + description: Acorn 是一“颗”免费且开源的 Hexo 主题,可适用于中小型企业门户或工作室等展示类网站的简单建设。 + cover: /images/sample/mydesk.png + link: + preview: diff --git a/source/_data/index.yml b/source/_data/index.yml new file mode 100644 index 0000000..1550166 --- /dev/null +++ b/source/_data/index.yml @@ -0,0 +1,54 @@ +## Index Section +# name: 客户名称 +# title: 大标题 +# subtitle: 小标题,描述性 +# +- name: album + id: + title: 画廊 + subtitle: 只需要改变 2 个颜色就会让你的站点焕然一新 + partial: album + bg_color: + fluid: + more: + +- name: customers + id: + title: 客户 + subtitle: 我们的客户来自世界上最好的公司 + partials: [instapic, quotation] + bg_color: + fluid: + more: + +- name: stories + id: + title: 案例 + subtitle: 实践见真知既是最好的解释 + partial: page/stories + bg_color: bg-light + fluid: + more: + +- name: archive + id: + title: 新闻 + subtitle: 汇聚热点话题 打造创新思路 + partial: archive + bg_color: + fluid: + more: /archives/ + +# - name: solution +# id: +# title: 解决方案 +# subtitle: 品质源于专业 服务彰显真诚 +# partial: solution +# bg_color: + +# - name: pricing +# id: +# title: 定制计划 +# subtitle: 我们提供针对个人和团队的定制计划 +# partial: pricing +# bg_color: \ No newline at end of file diff --git a/source/_data/instapic.yml b/source/_data/instapic.yml new file mode 100644 index 0000000..180050b --- /dev/null +++ b/source/_data/instapic.yml @@ -0,0 +1,30 @@ +## 客户 LOGO 墙 +# name: 客户名称 +# cover: 客户 LOGO 路径 +# +- name: LOGO + cover: /images/brand.svg + +- name: LOGO + cover: /images/brand.svg + +- name: LOGO + cover: /images/brand.svg + +- name: LOGO + cover: /images/brand.svg + +- name: LOGO + cover: /images/brand.svg + +- name: LOGO + cover: /images/brand.svg + +- name: LOGO + cover: /images/brand.svg + +- name: LOGO + cover: /images/brand.svg + +- name: LOGO + cover: /images/brand.svg diff --git a/source/_data/links.yml b/source/_data/links.yml new file mode 100644 index 0000000..0a3b9ac --- /dev/null +++ b/source/_data/links.yml @@ -0,0 +1,16 @@ +## 友情链接 +# name: 文字/标题 +# link: 链接路径,无链接为空即可 +# +- name: SwiftGG 翻译组 + link: https://swift.gg/ + +# - name: Hexo +# link: https://hexo.io/ + +# - name: GitHub +# link: https://github.com + +# - name: To Base64 +# link: https://duoyu.wang + diff --git a/source/_data/quotation.yml b/source/_data/quotation.yml new file mode 100644 index 0000000..6ba2ff3 --- /dev/null +++ b/source/_data/quotation.yml @@ -0,0 +1,16 @@ +## 客户称赞 +# number: ID 不可为空,从 0 开始 +# name: 客户名称 +# words: 客户的称赞内容 +# +- number: 0 + name: 王勃,唐 + words: 豫章故郡,洪都新府。星分翼轸,地接衡庐。襟三江而带五湖,控蛮荆而引瓯越。物华天宝,龙光射牛斗之墟;人杰地灵,徐孺下陈蕃之榻。 + +- number: 1 + name: 范仲淹,宋 + words: 庆历四年春,滕子京谪守巴陵郡。越明年,政通人和,百废具兴,乃重修岳阳楼,增其旧制,刻唐贤今人诗赋于其上,属予作文以记之。 + +- number: 2 + name: 王羲之,魏晋 + words: 永和九年,岁在癸丑,暮春之初,会于会稽山阴之兰亭,修禊事也。群贤毕至,少长咸集。此地有崇山峻岭,茂林修竹,又有清流激湍,映带左右,引以为流觞曲水,列坐其次。 diff --git a/source/_data/stories.yml b/source/_data/stories.yml new file mode 100644 index 0000000..ba40468 --- /dev/null +++ b/source/_data/stories.yml @@ -0,0 +1,28 @@ +## 项目案例 +# name: 标题 +# en_name: 英文标题 +# description: 描述内容 +# cover: 封面图片路径 +# link: 链接路径,无链接为空即可 +# preview: 预览路径,无则可以为空 +# +- name: 滕王阁序 + en_name: + description: 豫章故郡,洪都新府。星分翼轸,地接衡庐。襟三江而带五湖,控蛮荆而引瓯越。物华天宝,龙光射牛斗之墟;人杰地灵,徐孺下陈蕃之榻。 + cover: /images/sample/mydesk.png + link: /2012/12/21/tengwanggexu/ + preview: + +- name: 滕王阁序 + en_name: + description: 豫章故郡,洪都新府。星分翼轸,地接衡庐。襟三江而带五湖,控蛮荆而引瓯越。物华天宝,龙光射牛斗之墟;人杰地灵,徐孺下陈蕃之榻。 + cover: /images/sample/mydesk.png + link: /2012/12/21/tengwanggexu/ + preview: + +- name: 滕王阁序 + en_name: + description: 豫章故郡,洪都新府。星分翼轸,地接衡庐。襟三江而带五湖,控蛮荆而引瓯越。物华天宝,龙光射牛斗之墟;人杰地灵,徐孺下陈蕃之榻。 + cover: /images/sample/mydesk.png + link: /2012/12/21/tengwanggexu/ + preview: diff --git a/source/_posts/hello-world.md b/source/_posts/hello-world.md deleted file mode 100644 index 821780c..0000000 --- a/source/_posts/hello-world.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: Hello World ---- -Welcome to [Hexo](https://hexo.io/)! This is your very first post. Check [documentation](https://hexo.io/docs/) for more info. If you get any problems when using Hexo, you can find the answer in [troubleshooting](https://hexo.io/docs/troubleshooting.html) or you can ask me on [GitHub](https://github.com/hexojs/hexo/issues). - -## Quick Start - -### Create a new post - -``` bash -$ hexo new "My New Post" -``` - -More info: [Writing](https://hexo.io/docs/writing.html) - -### Run server - -``` bash -$ hexo server -``` - -More info: [Server](https://hexo.io/docs/server.html) - -### Generate static files - -``` bash -$ hexo generate -``` - -More info: [Generating](https://hexo.io/docs/generating.html) - -### Deploy to remote sites - -``` bash -$ hexo deploy -``` - -More info: [Deployment](https://hexo.io/docs/one-command-deployment.html) diff --git a/source/_posts/lantingjixu.md b/source/_posts/lantingjixu.md new file mode 100644 index 0000000..bae9754 --- /dev/null +++ b/source/_posts/lantingjixu.md @@ -0,0 +1,24 @@ +--- +title: 兰亭集序 +date: 2012-12-21 01:00:00 +tags: 兰亭集序 +categories: +keywords: 兰亭集序,王羲之 +description: 永和九年,岁在癸丑,暮春之初,会于会稽山阴之兰亭,修禊事也。群贤毕至,少长咸集。 +photos: [ + ["/images/sample/mydesk.png"] +] +--- + +王羲之(303年-361年),字逸少,琅琊临沂(今山东省临沂市)人。东晋大臣、书法家,丹阳尹王旷的儿子,太尉郗鉴的女婿,有“书圣”之称。 + + +--- + +永和九年,岁在癸丑,暮春之初,会于会稽山阴之兰亭,修禊事也。群贤毕至,少长咸集。此地有崇山峻岭,茂林修竹,又有清流激湍,映带左右,引以为流觞曲水,列坐其次。虽无丝竹管弦之盛,一觞一咏,亦足以畅叙幽情。 + +是日也,天朗气清,惠风和畅。仰观宇宙之大,俯察品类之盛,所以游目骋怀,足以极视听之娱,信可乐也。 + +夫人之相与,俯仰一世。或取诸怀抱,悟言一室之内;或因寄所托,放浪形骸之外。虽趣舍万殊,静躁不同,当其欣于所遇,暂得于己,快然自足,不知老之将至;及其所之既倦,情随事迁,感慨系之矣。向之所欣,俯仰之间,已为陈迹,犹不能不以之兴怀,况修短随化,终期于尽!古人云:“死生亦大矣。”岂不痛哉! + +每览昔人兴感之由,若合一契,未尝不临文嗟悼,不能喻之于怀。固知一死生为虚诞,齐彭殇为妄作。后之视今,亦犹今之视昔,悲夫!故列叙时人,录其所述,虽世殊事异,所以兴怀,其致一也。后之览者,亦将有感于斯文。 diff --git a/source/_posts/tengwanggexu.md b/source/_posts/tengwanggexu.md new file mode 100644 index 0000000..0db0aac --- /dev/null +++ b/source/_posts/tengwanggexu.md @@ -0,0 +1,35 @@ +--- +title: 滕王阁序 +date: 2012-12-21 02:00:00 +tags: 滕王阁序 +categories: +keywords: 滕王阁序,王勃,初唐四杰 +description: 情由景生,写景是为抒情、景、情相互渗透,水乳交融。浑然天成,恰似行云流水,挥洒自如,自然流畅。 +photos: [ + ["/images/sample/mydesk.png"] +] +--- + +王勃(约650-676年),唐代诗人。汉族,字子安。绛州龙门(今山西河津)人。王勃与杨炯、卢照邻、骆宾王齐名,世称“初唐四杰”,其中王勃是“初唐四杰”之首。 + + +--- + +豫章故郡,洪都新府。星分翼轸,地接衡庐。襟三江而带五湖,控蛮荆而引瓯越。物华天宝,龙光射牛斗之墟;人杰地灵,徐孺下陈蕃之榻。雄州雾列,俊采星驰。台隍枕夷夏之交,宾主尽东南之美。都督阎公之雅望,棨戟遥临;宇文新州之懿范,襜帷暂驻。十旬休假,胜友如云;千里逢迎,高朋满座。腾蛟起凤,孟学士之词宗;紫电青霜,王将军之武库。家君作宰,路出名区;童子何知,躬逢胜饯。 + +时维九月,序属三秋。潦水尽而寒潭清,烟光凝而暮山紫。俨骖騑于上路,访风景于崇阿;临帝子之长洲,得天人之旧馆。层峦耸翠,上出重霄;飞阁流丹,下临无地。鹤汀凫渚,穷岛屿之萦回;桂殿兰宫,即冈峦之体势。 + +披绣闼,俯雕甍,山原旷其盈视,川泽纡其骇瞩。闾阎扑地,钟鸣鼎食之家;舸舰弥津,青雀黄龙之舳。云销雨霁,彩彻区明。落霞与孤鹜齐飞,秋水共长天一色。渔舟唱晚,响穷彭蠡之滨;雁阵惊寒,声断衡阳之浦。 + +遥襟甫畅,逸兴遄飞。爽籁发而清风生,纤歌凝而白云遏。睢园绿竹,气凌彭泽之樽;邺水朱华,光照临川之笔。四美具,二难并。穷睇眄于中天,极娱游于暇日。天高地迥,觉宇宙之无穷;兴尽悲来,识盈虚之有数。望长安于日下,目吴会于云间。地势极而南溟深,天柱高而北辰远。关山难越,谁悲失路之人?萍水相逢,尽是他乡之客。怀帝阍而不见,奉宣室以何年? + +嗟乎!时运不齐,命途多舛。冯唐易老,李广难封。屈贾谊于长沙,非无圣主;窜梁鸿于海曲,岂乏明时?所赖君子见机,达人知命。老当益壮,宁移白首之心?穷且益坚,不坠青云之志。酌贪泉而觉爽,处涸辙以犹欢。北海虽赊,扶摇可接;东隅已逝,桑榆非晚。孟尝高洁,空余报国之情;阮籍猖狂,岂效穷途之哭! + +勃,三尺微命,一介书生。无路请缨,等终军之弱冠;有怀投笔,慕宗悫之长风。舍簪笏于百龄,奉晨昏于万里。非谢家之宝树,接孟氏之芳邻。他日趋庭,叨陪鲤对;今兹捧袂,喜托龙门。杨意不逢,抚凌云而自惜;钟期既遇,奏流水以何惭? + +呜乎!胜地不常,盛筵难再;兰亭已矣,梓泽丘墟。临别赠言,幸承恩于伟饯;登高作赋,是所望于群公。敢竭鄙怀,恭疏短引;一言均赋,四韵俱成。请洒潘江,各倾陆海云尔: + +滕王高阁临江渚,佩玉鸣鸾罢歌舞。 +画栋朝飞南浦云,珠帘暮卷西山雨。 +闲云潭影日悠悠,物换星移几度秋。 +阁中帝子今何在?槛外长江空自流。 \ No newline at end of file diff --git a/source/_posts/xiaoyaoyou.md b/source/_posts/xiaoyaoyou.md new file mode 100644 index 0000000..4e99330 --- /dev/null +++ b/source/_posts/xiaoyaoyou.md @@ -0,0 +1,22 @@ +--- +title: 逍遥游 +date: 2012-12-21 03:00:00 +tags: 逍遥游 +categories: +keywords: 逍遥游,庄周,庄子 +description: 北冥有鱼,其名为鲲。鲲之大,不知其几千里也;化而为鸟,其名为鹏。鹏之背,不知其几千里也;怒而飞,其翼若垂天之云。是鸟也,海运则将徙于南冥。 +photos: [ + ["/images/sample/mydesk.png"] +] +--- + +庄子(公元前369年-公元前286年),名周,字子休。最早有确切记载的就是司马迁的《史记》:庄子者,蒙人也,名周。 + + +--- + +北冥有鱼,其名为鲲。鲲之大,不知其几千里也;化而为鸟,其名为鹏。鹏之背,不知其几千里也;怒而飞,其翼若垂天之云。是鸟也,海运则将徙于南冥。南冥者,天池也。《齐谐》者,志怪者也。《谐》之言曰:“鹏之徙于南冥也,水击三千里,抟扶摇而上者九万里,去以六月息者也。”野马也,尘埃也,生物之以息相吹也。天之苍苍,其正色邪?其远而无所至极邪?其视下也,亦若是则已矣。且夫水之积也不厚,则其负大舟也无力。覆杯水于坳堂之上,则芥为之舟,置杯焉则胶,水浅而舟大也。风之积也不厚,则其负大翼也无力。故九万里,则风斯在下矣,而后乃今培风;背负青天,而莫之夭阏者,而后乃今将图南。蜩与学鸠笑之曰:“我决起而飞,抢榆枋而止,时则不至,而控于地而已矣,奚以之九万里而南为?”适莽苍者,三餐而反,腹犹果然;适百里者,宿舂粮;适千里者,三月聚粮。之二虫又何知! + +小知不及大知,小年不及大年。奚以知其然也?朝菌不知晦朔,蟪蛄不知春秋,此小年也。楚之南有冥灵者,以五百岁为春,五百岁为秋;上古有大椿者,以八千岁为春,八千岁为秋,此大年也。而彭祖乃今以久特闻,众人匹之,不亦悲乎!汤之问棘也是已。穷发之北,有冥海者,天池也。有鱼焉,其广数千里,未有知其修者,其名为鲲。有鸟焉,其名为鹏,背若泰山,翼若垂天之云,抟扶摇羊角而上者九万里,绝云气,负青天,然后图南,且适南冥也。斥鴳笑之曰:“彼且奚适也?我腾跃而上,不过数仞而下,翱翔蓬蒿之间,此亦飞之至也。而彼且奚适也?”此小大之辩也。 + +故夫知效一官,行比一乡,德合一君,而征一国者,其自视也,亦若此矣。而宋荣子犹然笑之。且举世誉之而不加劝,举世非之而不加沮,定乎内外之分,辩乎荣辱之境,斯已矣。彼其于世,未数数然也。虽然,犹有未树也。夫列子御风而行,泠然善也,旬有五日而后反。彼于致福者,未数数然也。此虽免乎行,犹有所待者也。若夫乘天地之正,而御六气之辩,以游无穷者,彼且恶乎待哉?故曰:至人无己,神人无功,圣人无名。 diff --git a/source/_posts/yueyanglouji.md b/source/_posts/yueyanglouji.md new file mode 100644 index 0000000..5f85630 --- /dev/null +++ b/source/_posts/yueyanglouji.md @@ -0,0 +1,28 @@ +--- +title: 岳阳楼记 +date: 2012-12-21 04:00:00 +tags: 岳阳楼记 +categories: +keywords: 岳阳楼记,范仲淹 +description: 庆历四年春,滕子京谪守巴陵郡。越明年,政通人和,百废具兴,乃重修岳阳楼,增其旧制,刻唐贤今人诗赋于其上,属予作文以记之。 +photos: [ + ["/images/sample/mydesk.png"] +] +--- + +范仲淹(989-1052年),字希文,汉族,北宋著名的政治家、思想家、军事家、文学家、教育家,世称“范文正公”。 + + +--- + +庆历四年春,滕子京谪守巴陵郡。越明年,政通人和,百废具兴,乃重修岳阳楼,增其旧制,刻唐贤今人诗赋于其上,属予作文以记之。 + +予观夫巴陵胜状,在洞庭一湖。衔远山,吞长江,浩浩汤汤,横无际涯,朝晖夕阴,气象万千,此则岳阳楼之大观也,前人之述备矣。然则北通巫峡,南极潇湘,迁客骚人,多会于此,览物之情,得无异乎? + +若夫淫雨霏霏,连月不开,阴风怒号,浊浪排空,日星隐曜,山岳潜形,商旅不行,樯倾楫摧,薄暮冥冥,虎啸猿啼。登斯楼也,则有去国怀乡,忧谗畏讥,满目萧然,感极而悲者矣。 + +至若春和景明,波澜不惊,上下天光,一碧万顷,沙鸥翔集,锦鳞游泳,岸芷汀兰,郁郁青青。而或长烟一空,皓月千里,浮光跃金,静影沉璧,渔歌互答,此乐何极!登斯楼也,则有心旷神怡,宠辱偕忘,把酒临风,其喜洋洋者矣。 + +嗟夫!予尝求古仁人之心,或异二者之为,何哉?不以物喜,不以己悲,居庙堂之高则忧其民,处江湖之远则忧其君。是进亦忧,退亦忧。然则何时而乐耶?其必曰“先天下之忧而忧,后天下之乐而乐”乎!噫!微斯人,吾谁与归? + +时六年九月十五日。 diff --git a/source/about/index.md b/source/about/index.md new file mode 100644 index 0000000..bba40aa --- /dev/null +++ b/source/about/index.md @@ -0,0 +1,31 @@ +--- +title: 关于 +date: 2022-02-22 22:22:22 +--- + +### 滕王阁序 + +> 王勃(约650——676年),唐代诗人。汉族,字子安。绛州龙门(今山西河津)人。王勃与杨炯、卢照邻、骆宾王齐名,世称“初唐四杰”,其中王勃是“初唐四杰”之首。 + +豫章故郡,洪都新府。星分翼轸,地接衡庐。襟三江而带五湖,控蛮荆而引瓯越。物华天宝,龙光射牛斗之墟;人杰地灵,徐孺下陈蕃之榻。雄州雾列,俊采星驰。台隍枕夷夏之交,宾主尽东南之美。都督阎公之雅望,棨戟遥临;宇文新州之懿范,襜帷暂驻。十旬休假,胜友如云;千里逢迎,高朋满座。腾蛟起凤,孟学士之词宗;紫电青霜,王将军之武库。家君作宰,路出名区;童子何知,躬逢胜饯。 + +时维九月,序属三秋。潦水尽而寒潭清,烟光凝而暮山紫。俨骖騑于上路,访风景于崇阿;临帝子之长洲,得天人之旧馆。层峦耸翠,上出重霄;飞阁流丹,下临无地。鹤汀凫渚,穷岛屿之萦回;桂殿兰宫,即冈峦之体势。 + +披绣闼,俯雕甍,山原旷其盈视,川泽纡其骇瞩。闾阎扑地,钟鸣鼎食之家;舸舰弥津,青雀黄龙之舳。云销雨霁,彩彻区明。落霞与孤鹜齐飞,秋水共长天一色。渔舟唱晚,响穷彭蠡之滨;雁阵惊寒,声断衡阳之浦。 + +遥襟甫畅,逸兴遄飞。爽籁发而清风生,纤歌凝而白云遏。睢园绿竹,气凌彭泽之樽;邺水朱华,光照临川之笔。四美具,二难并。穷睇眄于中天,极娱游于暇日。天高地迥,觉宇宙之无穷;兴尽悲来,识盈虚之有数。望长安于日下,目吴会于云间。地势极而南溟深,天柱高而北辰远。关山难越,谁悲失路之人?萍水相逢,尽是他乡之客。怀帝阍而不见,奉宣室以何年? + +嗟乎!时运不齐,命途多舛。冯唐易老,李广难封。屈贾谊于长沙,非无圣主;窜梁鸿于海曲,岂乏明时?所赖君子见机,达人知命。老当益壮,宁移白首之心?穷且益坚,不坠青云之志。酌贪泉而觉爽,处涸辙以犹欢。北海虽赊,扶摇可接;东隅已逝,桑榆非晚。孟尝高洁,空余报国之情;阮籍猖狂,岂效穷途之哭! + +勃,三尺微命,一介书生。无路请缨,等终军之弱冠;有怀投笔,慕宗悫之长风。舍簪笏于百龄,奉晨昏于万里。非谢家之宝树,接孟氏之芳邻。他日趋庭,叨陪鲤对;今兹捧袂,喜托龙门。杨意不逢,抚凌云而自惜;钟期既遇,奏流水以何惭? + +呜乎!胜地不常,盛筵难再;兰亭已矣,梓泽丘墟。临别赠言,幸承恩于伟饯;登高作赋,是所望于群公。敢竭鄙怀,恭疏短引;一言均赋,四韵俱成。请洒潘江,各倾陆海云尔: + +滕王高阁临江渚,佩玉鸣鸾罢歌舞。 +画栋朝飞南浦云,珠帘暮卷西山雨。 +闲云潭影日悠悠,物换星移几度秋。 +阁中帝子今何在?槛外长江空自流。 + +--- + +最后,感谢 Hexo 团队开发出这样一个快速、简洁且高效的博客框架。 diff --git a/source/gallery/index.md b/source/gallery/index.md new file mode 100644 index 0000000..fea9d0d --- /dev/null +++ b/source/gallery/index.md @@ -0,0 +1,6 @@ +--- +title: 画廊 +data: gallery +layout: plugins +partial: gallery +--- diff --git a/source/images/banner/banner.jpg b/source/images/banner/banner.jpg new file mode 100644 index 0000000..02002b8 Binary files /dev/null and b/source/images/banner/banner.jpg differ diff --git a/source/images/brand.svg b/source/images/brand.svg new file mode 100644 index 0000000..8a92055 --- /dev/null +++ b/source/images/brand.svg @@ -0,0 +1,24 @@ + + T技术沙龙 logo + + + + + + + + T Salon + + + + + + \ No newline at end of file diff --git a/source/images/culture/icon_1.svg b/source/images/culture/icon_1.svg new file mode 100644 index 0000000..2b6d498 --- /dev/null +++ b/source/images/culture/icon_1.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/source/images/culture/icon_2.svg b/source/images/culture/icon_2.svg new file mode 100644 index 0000000..0a9abe3 --- /dev/null +++ b/source/images/culture/icon_2.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/source/images/culture/icon_3.svg b/source/images/culture/icon_3.svg new file mode 100644 index 0000000..e65904a --- /dev/null +++ b/source/images/culture/icon_3.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/source/images/favicon.ico b/source/images/favicon.ico new file mode 100644 index 0000000..96a7001 Binary files /dev/null and b/source/images/favicon.ico differ diff --git a/source/images/movie/meri_snow_mountain.mp4 b/source/images/movie/meri_snow_mountain.mp4 new file mode 100644 index 0000000..49910e7 Binary files /dev/null and b/source/images/movie/meri_snow_mountain.mp4 differ diff --git a/source/images/movie/meri_snow_mountain.png b/source/images/movie/meri_snow_mountain.png new file mode 100644 index 0000000..6e515f7 Binary files /dev/null and b/source/images/movie/meri_snow_mountain.png differ diff --git a/source/images/movie/overlay-hero.svg b/source/images/movie/overlay-hero.svg new file mode 100644 index 0000000..9944c23 --- /dev/null +++ b/source/images/movie/overlay-hero.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/source/images/sample/mydesk.png b/source/images/sample/mydesk.png new file mode 100644 index 0000000..1f7f5b9 Binary files /dev/null and b/source/images/sample/mydesk.png differ diff --git a/source/images/webclip/apple-touch-icon-114x114.png b/source/images/webclip/apple-touch-icon-114x114.png new file mode 100644 index 0000000..058cd27 Binary files /dev/null and b/source/images/webclip/apple-touch-icon-114x114.png differ diff --git a/source/images/webclip/apple-touch-icon-120x120.png b/source/images/webclip/apple-touch-icon-120x120.png new file mode 100644 index 0000000..91ea1c6 Binary files /dev/null and b/source/images/webclip/apple-touch-icon-120x120.png differ diff --git a/source/images/webclip/apple-touch-icon-144x144.png b/source/images/webclip/apple-touch-icon-144x144.png new file mode 100644 index 0000000..2e509b2 Binary files /dev/null and b/source/images/webclip/apple-touch-icon-144x144.png differ diff --git a/source/images/webclip/apple-touch-icon-152x152.png b/source/images/webclip/apple-touch-icon-152x152.png new file mode 100644 index 0000000..445005c Binary files /dev/null and b/source/images/webclip/apple-touch-icon-152x152.png differ diff --git a/source/images/webclip/apple-touch-icon-167x167.png b/source/images/webclip/apple-touch-icon-167x167.png new file mode 100644 index 0000000..f57bdf1 Binary files /dev/null and b/source/images/webclip/apple-touch-icon-167x167.png differ diff --git a/source/images/webclip/apple-touch-icon-180x180.png b/source/images/webclip/apple-touch-icon-180x180.png new file mode 100644 index 0000000..0530c37 Binary files /dev/null and b/source/images/webclip/apple-touch-icon-180x180.png differ diff --git a/source/images/webclip/apple-touch-icon-57x57.png b/source/images/webclip/apple-touch-icon-57x57.png new file mode 100644 index 0000000..ff6499c Binary files /dev/null and b/source/images/webclip/apple-touch-icon-57x57.png differ diff --git a/source/images/webclip/apple-touch-icon-72x72.png b/source/images/webclip/apple-touch-icon-72x72.png new file mode 100644 index 0000000..673d308 Binary files /dev/null and b/source/images/webclip/apple-touch-icon-72x72.png differ diff --git a/source/images/webclip/apple-touch-icon-76x76.png b/source/images/webclip/apple-touch-icon-76x76.png new file mode 100644 index 0000000..33750b0 Binary files /dev/null and b/source/images/webclip/apple-touch-icon-76x76.png differ diff --git a/source/stories/index.md b/source/stories/index.md new file mode 100644 index 0000000..6cb8549 --- /dev/null +++ b/source/stories/index.md @@ -0,0 +1,6 @@ +--- +title: 案例 +data: stories +layout: plugins +partial: stories +--- diff --git a/themes/acorn b/themes/acorn index 28e074d..b49ed25 160000 --- a/themes/acorn +++ b/themes/acorn @@ -1 +1 @@ -Subproject commit 28e074ddcd31a050c2c8eee3c27528e5f0d5ecbb +Subproject commit b49ed25ceeb62e7abae3b7ab02d33324cd73589f diff --git a/yarn.lock b/yarn.lock index 573c2bd..1ebf9f2 100644 --- a/yarn.lock +++ b/yarn.lock @@ -85,6 +85,13 @@ "resolved" "https://registry.npmjs.org/archy/-/archy-1.0.0.tgz" "version" "1.0.0" +"argparse@^1.0.7": + "integrity" "sha512-o5Roy6tNG4SL/FOkCAN6RzjiakZS25RLYFrcMttJqbdd8BWrnA+fGz57iN5Pb06pvBGvl5gQ0B48dJlslXvoTg==" + "resolved" "https://registry.npmjs.org/argparse/-/argparse-1.0.10.tgz" + "version" "1.0.10" + dependencies: + "sprintf-js" "~1.0.2" + "argparse@^2.0.1": "integrity" "sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==" "resolved" "https://registry.npmjs.org/argparse/-/argparse-2.0.1.tgz" @@ -110,6 +117,19 @@ "resolved" "https://registry.npmjs.org/atob/-/atob-2.1.2.tgz" "version" "2.1.2" +"autoprefixer@^9.4.3": + "integrity" "sha512-eM9d/swFopRt5gdJ7jrpCwgvEMIayITpojhkkSMRsFHYuH5bkSQ4p/9qTEHtmNudUZh22Tehu7I6CxAW0IXTKA==" + "resolved" "https://registry.npmjs.org/autoprefixer/-/autoprefixer-9.8.8.tgz" + "version" "9.8.8" + dependencies: + "browserslist" "^4.12.0" + "caniuse-lite" "^1.0.30001109" + "normalize-range" "^0.1.2" + "num2fraction" "^1.2.2" + "picocolors" "^0.2.1" + "postcss" "^7.0.32" + "postcss-value-parser" "^4.1.0" + "balanced-match@^1.0.0": "integrity" "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==" "resolved" "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz" @@ -159,6 +179,16 @@ "resolved" "https://registry.npmjs.org/browser-process-hrtime/-/browser-process-hrtime-1.0.0.tgz" "version" "1.0.0" +"browserslist@^4.12.0", "browserslist@>= 4.21.0": + "integrity" "sha512-CBHJJdDmgjl3daYjN5Cp5kbTf1mUhZoS+beLklHIvkOWscs83YAhLlF3Wsh/lciQYAcbBJgTOD44VtG31ZM4Hw==" + "resolved" "https://registry.npmjs.org/browserslist/-/browserslist-4.21.4.tgz" + "version" "4.21.4" + dependencies: + "caniuse-lite" "^1.0.30001400" + "electron-to-chromium" "^1.4.251" + "node-releases" "^2.0.6" + "update-browserslist-db" "^1.0.9" + "bytes@3.0.0": "integrity" "sha512-pMhOfFDPiv9t5jjIXkHosWmkSyQbvsgEVNkz0ERHbuLh2T/7j4Mqqpz523Fe8MVY89KC6Sh/QfS2sM+SjgFDcw==" "resolved" "https://registry.npmjs.org/bytes/-/bytes-3.0.0.tgz" @@ -172,6 +202,11 @@ "pascal-case" "^3.1.2" "tslib" "^2.0.3" +"caniuse-lite@^1.0.30001109", "caniuse-lite@^1.0.30001400": + "integrity" "sha512-QoblBnuE+rG0lc3Ur9ltP5q47lbguipa/ncNMyyGuqPk44FxbScWAeEO+k5fSQ8WekdAK4mWqNs1rADDAiN5xQ==" + "resolved" "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001410.tgz" + "version" "1.0.30001410" + "chalk@^4.0.0", "chalk@^4.0.2": "integrity" "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==" "resolved" "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz" @@ -195,6 +230,13 @@ optionalDependencies: "fsevents" "~2.3.2" +"clean-css@^5.1.2": + "integrity" "sha512-lCr8OHhiWCTw4v8POJovCoh4T7I9U11yVsPjMWWnnMmp9ZowCxyad1Pathle/9HjaDp+fdQKjO9fQydE6RHTZg==" + "resolved" "https://registry.npmjs.org/clean-css/-/clean-css-5.3.1.tgz" + "version" "5.3.1" + dependencies: + "source-map" "~0.6.0" + "color-convert@^2.0.1": "integrity" "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==" "resolved" "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz" @@ -423,6 +465,11 @@ dependencies: "jake" "^10.8.5" +"electron-to-chromium@^1.4.251": + "integrity" "sha512-1GxPM2Bdz1AjuNjho9/TqJfxM7KZ7R8s4vA5cbbIoVacQXfvZlV+d7Y1lu4BhGzEBfjjhakr3NXKqN0PxPXIsg==" + "resolved" "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.260.tgz" + "version" "1.4.260" + "encodeurl@~1.0.2": "integrity" "sha512-TPJXq8JqFaVYm2CWmPvnP2Iyo4ZSM7/QKcSmuMLDObfpH5fi7RUGmd/rTDf+rut/saiDiQEeVTNgAmJEdAOx0w==" "resolved" "https://registry.npmjs.org/encodeurl/-/encodeurl-1.0.2.tgz" @@ -438,6 +485,16 @@ "resolved" "https://registry.npmjs.org/entities/-/entities-3.0.1.tgz" "version" "3.0.1" +"entities@~1.1.1": + "integrity" "sha512-f2LZMYl1Fzu7YSBKg+RoROelpOaNrcGmE9AZubeDfrCEia483oW4MI4VyFd5VNHIgQ/7qm1I0wUHK1eJnn2y2w==" + "resolved" "https://registry.npmjs.org/entities/-/entities-1.1.2.tgz" + "version" "1.1.2" + +"escalade@^3.1.1": + "integrity" "sha512-k0er2gUkLf8O0zKJiAhmkTnJlTvINGv7ygDNPbeIsX/TJjGJZHuh9B2UxbsaEkmlEo9MfhrSzmhIlhRlI2GXnw==" + "resolved" "https://registry.npmjs.org/escalade/-/escalade-3.1.1.tgz" + "version" "3.1.1" + "escape-html@~1.0.3": "integrity" "sha512-NiSupZ4OeuGwr68lGIeym/ksIZMJodUGOSCZ/FSnTxcrekbvqrgdUxlJOMpijaKZVjAJrWrGs/6Jy8OMuyj9ow==" "resolved" "https://registry.npmjs.org/escape-html/-/escape-html-1.0.3.tgz" @@ -572,6 +629,30 @@ dependencies: "function-bind" "^1.1.1" +"hexo-admonition@^1.1.2": + "integrity" "sha512-0TtXPe9aZBqqHPXJ77xyUck4qr3RsYkiq5tVrdgJyEYxREFfx2XcRgQh0fro5Vl1F8nmG2FraxeW2QLNUO8eaA==" + "resolved" "https://registry.npmjs.org/hexo-admonition/-/hexo-admonition-1.1.2.tgz" + "version" "1.1.2" + dependencies: + "markdown-it" "^9.1.0" + +"hexo-autoprefixer@^2.0.0": + "integrity" "sha512-qiAcD3K8D5PeyPh357CG6Cn+9GmCBNDRbD2ghnTZzfOo+HFLlLWXyPZfqaUZKKdP2iksmj+vYjE5oFsQizkWYw==" + "resolved" "https://registry.npmjs.org/hexo-autoprefixer/-/hexo-autoprefixer-2.0.0.tgz" + "version" "2.0.0" + dependencies: + "autoprefixer" "^9.4.3" + "minimatch" "^3.0.2" + "postcss" "^7.0.7" + +"hexo-clean-css@^2.0.0": + "integrity" "sha512-hmRaZgPax4v1mOPoTVZng/AtQaLztKKgEv7qMRL/6bO/5TeOtuTAXWmil2pjcZayz5saXe5SgWE5M2WGS6WhoQ==" + "resolved" "https://registry.npmjs.org/hexo-clean-css/-/hexo-clean-css-2.0.0.tgz" + "version" "2.0.0" + dependencies: + "clean-css" "^5.1.2" + "micromatch" "^4.0.4" + "hexo-cli@^4.3.0": "integrity" "sha512-lr46h1tK1RNQJAQZbzKYAWGsmqF5DLrW6xKEakqv/o9JqgdeempBjIm7HqjcZEUBpWij4EO65X6YJiDmT9LR7g==" "resolved" "https://registry.npmjs.org/hexo-cli/-/hexo-cli-4.3.0.tgz" @@ -627,6 +708,23 @@ "hexo-pagination" "1.0.0" "timsort" "^0.3.0" +"hexo-generator-search@^2.4.3": + "integrity" "sha512-Z5hfZq2g3np/Tgdp2q9HobfIvU6Pdz89tnTurc1IIq/vW0MHgDynk0Aiv6kvMtKWthnZ5l0iEMT3YLN35NdYwQ==" + "resolved" "https://registry.npmjs.org/hexo-generator-search/-/hexo-generator-search-2.4.3.tgz" + "version" "2.4.3" + dependencies: + "nunjucks" "^3.0.1" + "utils-merge" "^1.0.0" + +"hexo-generator-sitemap@^3.0.1": + "integrity" "sha512-n+0KLNmq6TLbiZPTQF6NY5MbEem/O+DFx0lgQZNQcU4tdjXIZRrQJs+KRKeT66NTkdlYTqb4WwCxswLqQz0crA==" + "resolved" "https://registry.npmjs.org/hexo-generator-sitemap/-/hexo-generator-sitemap-3.0.1.tgz" + "version" "3.0.1" + dependencies: + "hexo-util" "^2.1.0" + "micromatch" "^4.0.2" + "nunjucks" "^3.1.6" + "hexo-generator-tag@^1.0.0": "integrity" "sha512-JDoB2T1EncRlyGSjuAhkGxRfKkN8tq0i8tFlk9I4q2L6iYxPaUnFenhji0oxufTADC16/IchuPjmMk//dt8Msg==" "resolved" "https://registry.npmjs.org/hexo-generator-tag/-/hexo-generator-tag-1.0.0.tgz" @@ -704,7 +802,7 @@ "resolved" "https://registry.npmjs.org/hexo-theme-landscape/-/hexo-theme-landscape-0.0.3.tgz" "version" "0.0.3" -"hexo-util@^2.0.0", "hexo-util@^2.5.0", "hexo-util@^2.7.0": +"hexo-util@^2.0.0", "hexo-util@^2.1.0", "hexo-util@^2.5.0", "hexo-util@^2.7.0": "integrity" "sha512-hQM3h34nhDg0bSe/Tg1lnpODvNkz7h2u0+lZGzlKL0Oufp+5KCAEUX9wal7/xC7ax3/cwEn8IuoU75kNpZLpJQ==" "resolved" "https://registry.npmjs.org/hexo-util/-/hexo-util-2.7.0.tgz" "version" "2.7.0" @@ -946,6 +1044,13 @@ "prelude-ls" "~1.1.2" "type-check" "~0.3.2" +"linkify-it@^2.0.0": + "integrity" "sha512-GnAl/knGn+i1U/wjBz3akz2stz+HrHLsxMwHQGofCDfPvlf+gDKN58UtfmUquTY4/MXeE2x7k19KQmeoZi94Iw==" + "resolved" "https://registry.npmjs.org/linkify-it/-/linkify-it-2.2.0.tgz" + "version" "2.2.0" + dependencies: + "uc.micro" "^1.0.1" + "lower-case@^2.0.2": "integrity" "sha512-7fm3l3NAF9WfN6W3JOmf5drwpVqX78JtoGJ3A6W0a6ZnldM41w2fV5D490psKFTpMds8TJse/eHLFFsNHHjHgg==" "resolved" "https://registry.npmjs.org/lower-case/-/lower-case-2.0.2.tgz" @@ -953,17 +1058,33 @@ dependencies: "tslib" "^2.0.3" +"markdown-it@^9.1.0": + "integrity" "sha512-xHKG4C8iPriyfu/jc2hsCC045fKrMQ0VexX2F1FGYiRxDxqMB2aAhF8WauJ3fltn2kb90moGBkiiEdooGIg55w==" + "resolved" "https://registry.npmjs.org/markdown-it/-/markdown-it-9.1.0.tgz" + "version" "9.1.0" + dependencies: + "argparse" "^1.0.7" + "entities" "~1.1.1" + "linkify-it" "^2.0.0" + "mdurl" "^1.0.1" + "uc.micro" "^1.0.5" + "marked@^4.0.1": "integrity" "sha512-+Z6KDjSPa6/723PQYyc1axYZpYYpDnECDaU6hkaf5gqBieBkMKYReL5hteF2QizhlMbgbo8umXl/clZ67+GlsA==" "resolved" "https://registry.npmjs.org/marked/-/marked-4.1.0.tgz" "version" "4.1.0" +"mdurl@^1.0.1": + "integrity" "sha512-/sKlQJCBYVY9Ers9hqzKou4H6V5UWc/M59TH2dvkt+84itfnq7uFOMLpOiOS4ujvHP4etln18fmIxA5R5fll0g==" + "resolved" "https://registry.npmjs.org/mdurl/-/mdurl-1.0.1.tgz" + "version" "1.0.1" + "micro-memoize@^4.0.11": "integrity" "sha512-CjxsaYe4j43df32DtzzNCwanPqZjZDwuQAZilsCYpa2ZVtSPDjHXbTlR4gsEZRyO9/twHs0b7HLjvy/sowl7sA==" "resolved" "https://registry.npmjs.org/micro-memoize/-/micro-memoize-4.0.11.tgz" "version" "4.0.11" -"micromatch@^4.0.4": +"micromatch@^4.0.2", "micromatch@^4.0.4": "integrity" "sha512-DMy+ERcEW2q8Z2Po+WNXuw3c5YaUSFjAO5GsJqfEl7UjvtIuFKO6ZrKvcItdy98dwFI2N1tg3zNIdKaQT+aNdA==" "resolved" "https://registry.npmjs.org/micromatch/-/micromatch-4.0.5.tgz" "version" "4.0.5" @@ -998,7 +1119,7 @@ "resolved" "https://registry.npmjs.org/min-indent/-/min-indent-1.0.1.tgz" "version" "1.0.1" -"minimatch@^3.0.4", "minimatch@^3.1.1": +"minimatch@^3.0.2", "minimatch@^3.0.4", "minimatch@^3.1.1": "integrity" "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==" "resolved" "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz" "version" "3.1.2" @@ -1081,12 +1202,27 @@ "lower-case" "^2.0.2" "tslib" "^2.0.3" +"node-releases@^2.0.6": + "integrity" "sha512-PiVXnNuFm5+iYkLBNeq5211hvO38y63T0i2KKh2KnUs3RpzJ+JtODFjkD8yjLwnDkTYF1eKXheUwdssR+NRZdg==" + "resolved" "https://registry.npmjs.org/node-releases/-/node-releases-2.0.6.tgz" + "version" "2.0.6" + "normalize-path@^3.0.0", "normalize-path@~3.0.0": "integrity" "sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA==" "resolved" "https://registry.npmjs.org/normalize-path/-/normalize-path-3.0.0.tgz" "version" "3.0.0" -"nunjucks@^3.2.3": +"normalize-range@^0.1.2": + "integrity" "sha512-bdok/XvKII3nUpklnV6P2hxtMNrCboOjAcyBuQnWEhO665FwrSNRxU+AqpsyvO6LgGYPspN+lu5CLtw4jPRKNA==" + "resolved" "https://registry.npmjs.org/normalize-range/-/normalize-range-0.1.2.tgz" + "version" "0.1.2" + +"num2fraction@^1.2.2": + "integrity" "sha512-Y1wZESM7VUThYY+4W+X4ySH2maqcA+p7UR+w8VWNWVAd6lwuXXWz/w/Cz43J/dI2I+PS6wD5N+bJUF+gjWvIqg==" + "resolved" "https://registry.npmjs.org/num2fraction/-/num2fraction-1.2.2.tgz" + "version" "1.2.2" + +"nunjucks@^3.0.1", "nunjucks@^3.1.6", "nunjucks@^3.2.3": "integrity" "sha512-psb6xjLj47+fE76JdZwskvwG4MYsQKXUtMsPh6U0YMvmyjRtKRFcxnlXGWglNybtNTNVmGdp94K62/+NjF5FDQ==" "resolved" "https://registry.npmjs.org/nunjucks/-/nunjucks-3.2.3.tgz" "version" "3.2.3" @@ -1180,6 +1316,11 @@ "resolved" "https://registry.npmjs.org/path-parse/-/path-parse-1.0.7.tgz" "version" "1.0.7" +"picocolors@^0.2.1": + "integrity" "sha512-cMlDqaLEqfSaW8Z7N5Jw+lyIW869EzT73/F5lhtY9cLGoVxSXznfgfXMO0Z5K0o0Q2TkTXq+0KFsdnSe3jDViA==" + "resolved" "https://registry.npmjs.org/picocolors/-/picocolors-0.2.1.tgz" + "version" "0.2.1" + "picocolors@^1.0.0": "integrity" "sha512-1fygroTLlHu66zi26VoTDv8yRgm0Fccecssto+MhsZ0D/DGW2sm8E8AjW7NU5VVTRt5GxbeZ5qBuJr+HyLYkjQ==" "resolved" "https://registry.npmjs.org/picocolors/-/picocolors-1.0.0.tgz" @@ -1190,6 +1331,19 @@ "resolved" "https://registry.npmjs.org/picomatch/-/picomatch-2.3.1.tgz" "version" "2.3.1" +"postcss-value-parser@^4.1.0": + "integrity" "sha512-1NNCs6uurfkVbeXG4S8JFT9t19m45ICnif8zWLd5oPSZ50QnwMfK+H3jv408d4jw/7Bttv5axS5IiHoLaVNHeQ==" + "resolved" "https://registry.npmjs.org/postcss-value-parser/-/postcss-value-parser-4.2.0.tgz" + "version" "4.2.0" + +"postcss@^7.0.32", "postcss@^7.0.7": + "integrity" "sha512-yioayjNbHn6z1/Bywyb2Y4s3yvDAeXGOyxqD+LnVOinq6Mdmd++SW2wUNVzavyyHxd6+DxzWGIuosg6P1Rj8uA==" + "resolved" "https://registry.npmjs.org/postcss/-/postcss-7.0.39.tgz" + "version" "7.0.39" + dependencies: + "picocolors" "^0.2.1" + "source-map" "^0.6.1" + "prelude-ls@~1.1.2": "integrity" "sha512-ESF23V4SKG6lVSGZgYNpbsiaAkdab6ZgOxe52p7+Kid3W3u3bxR4Vfd/o21dmN7jSt0IwgZ4v5MUd26FEtXE9w==" "resolved" "https://registry.npmjs.org/prelude-ls/-/prelude-ls-1.1.2.tgz" @@ -1341,7 +1495,7 @@ "atob" "^2.1.2" "decode-uri-component" "^0.2.0" -"source-map@^0.6.1", "source-map@~0.6.1": +"source-map@^0.6.1", "source-map@~0.6.0", "source-map@~0.6.1": "integrity" "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==" "resolved" "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz" "version" "0.6.1" @@ -1356,6 +1510,11 @@ "resolved" "https://registry.npmjs.org/sprintf-js/-/sprintf-js-1.1.2.tgz" "version" "1.1.2" +"sprintf-js@~1.0.2": + "integrity" "sha512-D9cPgkvLlV3t3IzL0D0YLvGA9Ahk4PcvVwUbN0dSGr1aP0Nrt4AEnTUbuGvquEC0mA64Gqt1fzirlRs5ibXx8g==" + "resolved" "https://registry.npmjs.org/sprintf-js/-/sprintf-js-1.0.3.tgz" + "version" "1.0.3" + "statuses@~1.5.0": "integrity" "sha512-OpZ3zP+jT1PI7I8nemJX4AKmAX070ZkYPVWV/AaKTJl+tXCTGyVdC1a4SL8RUQYEwk/f34ZX8UTykN68FwrqAA==" "resolved" "https://registry.npmjs.org/statuses/-/statuses-1.5.0.tgz" @@ -1484,6 +1643,11 @@ dependencies: "prelude-ls" "~1.1.2" +"uc.micro@^1.0.1", "uc.micro@^1.0.5": + "integrity" "sha512-8Y75pvTYkLJW2hWQHXxoqRgV7qb9B+9vFEtidML+7koHUFapnVJAZ6cKs+Qjz5Aw3aZWHMC6u0wJE3At+nSGwA==" + "resolved" "https://registry.npmjs.org/uc.micro/-/uc.micro-1.0.6.tgz" + "version" "1.0.6" + "universalify@^0.2.0": "integrity" "sha512-CJ1QgKmNg3CwvAv/kOFmtnEN05f0D/cn9QntgNOQlQF9dgvVTHj3t+8JPdjqawCHk7V/KA+fbUqzZ9XWhcqPUg==" "resolved" "https://registry.npmjs.org/universalify/-/universalify-0.2.0.tgz" @@ -1494,6 +1658,14 @@ "resolved" "https://registry.npmjs.org/unpipe/-/unpipe-1.0.0.tgz" "version" "1.0.0" +"update-browserslist-db@^1.0.9": + "integrity" "sha512-/xsqn21EGVdXI3EXSum1Yckj3ZVZugqyOZQ/CxYPBD/R+ko9NSUScf8tFF4dOKY+2pvSSJA/S+5B8s4Zr4kyvg==" + "resolved" "https://registry.npmjs.org/update-browserslist-db/-/update-browserslist-db-1.0.9.tgz" + "version" "1.0.9" + dependencies: + "escalade" "^3.1.1" + "picocolors" "^1.0.0" + "url-parse@^1.5.3": "integrity" "sha512-WypcfiRhfeUP9vvF0j6rw0J3hrWrw6iZv3+22h6iRMJ/8z1Tj6XfLP4DsUix5MhMPnXpiHDoKyoZ/bdCkwBCiQ==" "resolved" "https://registry.npmjs.org/url-parse/-/url-parse-1.5.10.tgz" @@ -1507,7 +1679,7 @@ "resolved" "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz" "version" "1.0.2" -"utils-merge@1.0.1": +"utils-merge@^1.0.0", "utils-merge@1.0.1": "integrity" "sha512-pMZTvIkT1d+TFGvDOqodOclx0QWkkgi6Tdoa8gC8ffGAAqz9pzPTZWAybbsHHoED/ztMtkv/VoYTYyShUn81hA==" "resolved" "https://registry.npmjs.org/utils-merge/-/utils-merge-1.0.1.tgz" "version" "1.0.1"