From 7690b4bfd26e4e35f7262413d6d88aca60d96fb0 Mon Sep 17 00:00:00 2001 From: "Daniel J. Summers" Date: Sun, 10 Sep 2017 07:26:27 -0500 Subject: [PATCH] Fixed permalink issue and restored post --- _config.yml | 2 +- package-lock.json | 98 +++++++++++-------- package.json | 6 +- .../2017}/writing-a-hexo-tag-plugin.md | 0 4 files changed, 60 insertions(+), 46 deletions(-) rename source/{_drafts => _posts/2017}/writing-a-hexo-tag-plugin.md (100%) diff --git a/_config.yml b/_config.yml index cb1111d..5c19cde 100644 --- a/_config.yml +++ b/_config.yml @@ -14,7 +14,7 @@ timezone: UTC ## If your site is put in a subdirectory, set url as 'http://yoursite.com/child' and root as '/child/' url: https://techblog.djs-consulting.com root: / -permalink: :title.html +permalink: :year/:title.html permalink_defaults: # Directory diff --git a/package-lock.json b/package-lock.json index ba6921c..a35bbac 100644 --- a/package-lock.json +++ b/package-lock.json @@ -4,6 +4,11 @@ "lockfileVersion": 1, "requires": true, "dependencies": { + "a-sync-waterfall": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/a-sync-waterfall/-/a-sync-waterfall-1.0.0.tgz", + "integrity": "sha1-OOgxnXk3niRiiEW1O5ZyKyng5Hw=" + }, "abab": { "version": "1.0.3", "resolved": "https://registry.npmjs.org/abab/-/abab-1.0.3.tgz", @@ -633,7 +638,7 @@ "integrity": "sha1-mOu6Ihr6xG4cOf02hY2Pk2dSS5I=", "optional": true, "requires": { - "nan": "2.6.2" + "nan": "2.7.0" } }, "ecc-jsbn": { @@ -676,28 +681,28 @@ "integrity": "sha1-G2HAViGQqN/2rjuyzwIAyhMLhtQ=" }, "escodegen": { - "version": "1.8.1", - "resolved": "https://registry.npmjs.org/escodegen/-/escodegen-1.8.1.tgz", - "integrity": "sha1-WltTr0aTEQvrsIZ6o0MN07cKEBg=", + "version": "1.9.0", + "resolved": "https://registry.npmjs.org/escodegen/-/escodegen-1.9.0.tgz", + "integrity": "sha512-v0MYvNQ32bzwoG2OSFzWAkuahDQHK92JBN0pTAALJ4RIxEZe766QJPDR8Hqy7XNUy5K3fnVL76OqYAdc4TZEIw==", "optional": true, "requires": { - "esprima": "2.7.3", - "estraverse": "1.9.3", + "esprima": "3.1.3", + "estraverse": "4.2.0", "esutils": "2.0.2", "optionator": "0.8.2", - "source-map": "0.2.0" + "source-map": "0.5.7" } }, "esprima": { - "version": "2.7.3", - "resolved": "https://registry.npmjs.org/esprima/-/esprima-2.7.3.tgz", - "integrity": "sha1-luO3DVd59q1JzQMmc9HDEnZ7pYE=", + "version": "3.1.3", + "resolved": "https://registry.npmjs.org/esprima/-/esprima-3.1.3.tgz", + "integrity": "sha1-/cpRzuYTOJXjyI1TXOSdv/YqRjM=", "optional": true }, "estraverse": { - "version": "1.9.3", - "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-1.9.3.tgz", - "integrity": "sha1-r2fy3JIlgkFZUJJgkaQAXSnJu0Q=", + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-4.2.0.tgz", + "integrity": "sha1-De4/7TH81GlhjOc0IJn8GvoL2xM=", "optional": true }, "esutils": { @@ -945,9 +950,9 @@ } }, "hexo": { - "version": "3.3.8", - "resolved": "https://registry.npmjs.org/hexo/-/hexo-3.3.8.tgz", - "integrity": "sha1-wl3MepJr7atkrn4MPEwifrdB3A4=", + "version": "3.3.9", + "resolved": "https://registry.npmjs.org/hexo/-/hexo-3.3.9.tgz", + "integrity": "sha512-6kFGeJxXTNltue7ftlF5AYYouWH2joU9jWXAs1IMHABqrXWGsFUHqekkQJerAdPS1FlNlv0nm5IpTJScHD6Z3A==", "requires": { "abbrev": "1.1.0", "archy": "1.0.0", @@ -957,7 +962,7 @@ "deep-assign": "2.0.0", "hexo-cli": "1.0.3", "hexo-front-matter": "0.2.3", - "hexo-fs": "0.2.1", + "hexo-fs": "0.2.2", "hexo-i18n": "0.2.1", "hexo-log": "0.1.3", "hexo-util": "0.6.1", @@ -986,7 +991,7 @@ "bluebird": "3.5.0", "chalk": "1.1.3", "command-exists": "1.2.2", - "hexo-fs": "0.2.1", + "hexo-fs": "0.2.2", "hexo-log": "0.1.3", "hexo-util": "0.6.1", "minimist": "1.2.0", @@ -1005,9 +1010,9 @@ } }, "hexo-fs": { - "version": "0.2.1", - "resolved": "https://registry.npmjs.org/hexo-fs/-/hexo-fs-0.2.1.tgz", - "integrity": "sha1-OFOirxquLgmC5rzPVKnxzRfBSSk=", + "version": "0.2.2", + "resolved": "https://registry.npmjs.org/hexo-fs/-/hexo-fs-0.2.2.tgz", + "integrity": "sha512-boZoDQYieQJJ4drW40B5XI1Tol/ucEGXSV2qjVWI51NsGbFTNw0PBIZjwSs2rum6QnJIYw50K7uBTo8WXGp/aw==", "requires": { "bluebird": "3.5.0", "chokidar": "1.7.0", @@ -1032,12 +1037,25 @@ } }, "hexo-generator-feed": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/hexo-generator-feed/-/hexo-generator-feed-1.2.0.tgz", - "integrity": "sha1-PXz2BYE4n4jI2CBWDyK+Fn4Jeb8=", + "version": "1.2.2", + "resolved": "https://registry.npmjs.org/hexo-generator-feed/-/hexo-generator-feed-1.2.2.tgz", + "integrity": "sha512-4jcvVhFgpEFRJ7A+KhBSfWoQaewRBjcVWEO4OmBgnvaZOm6XwK+b5ZXx/8BpujCLHbjXWzglXhiT7qFFS/nvzw==", "requires": { - "nunjucks": "2.5.2", + "nunjucks": "3.0.1", "object-assign": "4.1.1" + }, + "dependencies": { + "nunjucks": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/nunjucks/-/nunjucks-3.0.1.tgz", + "integrity": "sha1-TedKPlULr2+jNwMj89HHwqhr3E0=", + "requires": { + "a-sync-waterfall": "1.0.0", + "asap": "2.0.6", + "chokidar": "1.7.0", + "yargs": "3.32.0" + } + } } }, "hexo-generator-index": { @@ -1418,7 +1436,7 @@ "acorn-globals": "1.0.9", "cssom": "0.3.2", "cssstyle": "0.2.37", - "escodegen": "1.8.1", + "escodegen": "1.9.0", "nwmatcher": "1.4.1", "parse5": "1.5.1", "request": "2.81.0", @@ -1585,7 +1603,7 @@ "normalize-path": "2.1.1", "object.omit": "2.0.1", "parse-glob": "3.0.4", - "regex-cache": "0.4.3" + "regex-cache": "0.4.4" } }, "mime": { @@ -1686,9 +1704,9 @@ } }, "nan": { - "version": "2.6.2", - "resolved": "https://registry.npmjs.org/nan/-/nan-2.6.2.tgz", - "integrity": "sha1-5P805slf37WuzAjeZZb0NgWn20U=", + "version": "2.7.0", + "resolved": "https://registry.npmjs.org/nan/-/nan-2.7.0.tgz", + "integrity": "sha1-2Vv3IeyHfgjbJ27T/G63j5CDrUY=", "optional": true }, "ncp": { @@ -2246,12 +2264,11 @@ } }, "regex-cache": { - "version": "0.4.3", - "resolved": "https://registry.npmjs.org/regex-cache/-/regex-cache-0.4.3.tgz", - "integrity": "sha1-mxpsNdTQ3871cRrmUejp09cRQUU=", + "version": "0.4.4", + "resolved": "https://registry.npmjs.org/regex-cache/-/regex-cache-0.4.4.tgz", + "integrity": "sha512-nVIZwtCjkC9YgvWkpM55B5rBhBYRZhAaJbgcFYXXsHnbZ9UZI9nnVWYZpBlCqv9ho2eZryPnWrZGsOdPwVWXWQ==", "requires": { - "is-equal-shallow": "0.1.3", - "is-primitive": "2.0.0" + "is-equal-shallow": "0.1.3" } }, "remove-trailing-separator": { @@ -2407,13 +2424,10 @@ } }, "source-map": { - "version": "0.2.0", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.2.0.tgz", - "integrity": "sha1-2rc/vPwrqBm03gO9b26qSBZLP50=", - "optional": true, - "requires": { - "amdefine": "1.0.1" - } + "version": "0.5.7", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz", + "integrity": "sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w=", + "optional": true }, "sprintf-js": { "version": "1.0.3", diff --git a/package.json b/package.json index 906a8db..3ccbe15 100644 --- a/package.json +++ b/package.json @@ -3,12 +3,12 @@ "version": "4.1.0", "private": true, "hexo": { - "version": "3.3.8" + "version": "3.3.9" }, "dependencies": { - "hexo": "^3.2.0", + "hexo": "^3.3.9", "hexo-generator-category": "^0.1.3", - "hexo-generator-feed": "^1.2.0", + "hexo-generator-feed": "^1.2.2", "hexo-generator-index": "^0.2.0", "hexo-generator-tag": "^0.2.0", "hexo-renderer-ejs": "^0.3.0", diff --git a/source/_drafts/writing-a-hexo-tag-plugin.md b/source/_posts/2017/writing-a-hexo-tag-plugin.md similarity index 100% rename from source/_drafts/writing-a-hexo-tag-plugin.md rename to source/_posts/2017/writing-a-hexo-tag-plugin.md