From 7f090b03ea83edbe085160c1fc83405e28e45eaa Mon Sep 17 00:00:00 2001 From: "Daniel J. Summers" Date: Sat, 2 Sep 2017 16:25:30 -0500 Subject: [PATCH] Feed and tag/category map Added feed plugin; ensured tag/category URLs were right; ready to go live --- _config.yml | 12 +++++++++ package-lock.json | 25 +++++++------------ package.json | 2 +- .../_posts/2012/4040-web-service-for-2012.md | 2 +- .../index.md | 5 ++-- .../mantraish/layout/_partial/post-tags.pug | 2 +- 6 files changed, 26 insertions(+), 22 deletions(-) diff --git a/_config.yml b/_config.yml index 9f79962..029a023 100644 --- a/_config.yml +++ b/_config.yml @@ -55,7 +55,12 @@ index_generator: # Category & Tag default_category: uncategorized category_map: + C++: c-plus-plus + C#: c-sharp + .NET: dot-net tag_map: + c#: c-sharp + .net: dot-net category_generator: per_page: 6 @@ -80,6 +85,13 @@ pagination_dir: page ## Themes: https://hexo.io/themes/ theme: mantraish +# Feed +feed: + type: rss2 + path: feed.xml + limit: 10 + content: true + # Deployment ## Docs: https://hexo.io/docs/deployment.html deploy: diff --git a/package-lock.json b/package-lock.json index 20bd803..ba6921c 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1015,22 +1015,6 @@ "graceful-fs": "4.1.11" } }, - "hexo-generator-archive": { - "version": "0.1.4", - "resolved": "https://registry.npmjs.org/hexo-generator-archive/-/hexo-generator-archive-0.1.4.tgz", - "integrity": "sha1-Ft927JGH5RDf9sGSIEsPf3xQYGk=", - "requires": { - "hexo-pagination": "0.0.2", - "object-assign": "2.1.1" - }, - "dependencies": { - "object-assign": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/object-assign/-/object-assign-2.1.1.tgz", - "integrity": "sha1-Q8NuXVaf+OSBbE76i+AtJpZ8GKo=" - } - } - }, "hexo-generator-category": { "version": "0.1.3", "resolved": "https://registry.npmjs.org/hexo-generator-category/-/hexo-generator-category-0.1.3.tgz", @@ -1047,6 +1031,15 @@ } } }, + "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=", + "requires": { + "nunjucks": "2.5.2", + "object-assign": "4.1.1" + } + }, "hexo-generator-index": { "version": "0.2.1", "resolved": "https://registry.npmjs.org/hexo-generator-index/-/hexo-generator-index-0.2.1.tgz", diff --git a/package.json b/package.json index b674dde..906a8db 100644 --- a/package.json +++ b/package.json @@ -7,8 +7,8 @@ }, "dependencies": { "hexo": "^3.2.0", - "hexo-generator-archive": "^0.1.4", "hexo-generator-category": "^0.1.3", + "hexo-generator-feed": "^1.2.0", "hexo-generator-index": "^0.2.0", "hexo-generator-tag": "^0.2.0", "hexo-renderer-ejs": "^0.3.0", diff --git a/source/_posts/2012/4040-web-service-for-2012.md b/source/_posts/2012/4040-web-service-for-2012.md index 4d329fd..ef154cf 100644 --- a/source/_posts/2012/4040-web-service-for-2012.md +++ b/source/_posts/2012/4040-web-service-for-2012.md @@ -10,7 +10,7 @@ tags: - api - hoffmantown - english -- español +- espaƱol - html - json - prayer diff --git a/source/linux/installing-wbel4-rhel4-on-an-averatec-6200-laptop/index.md b/source/linux/installing-wbel4-rhel4-on-an-averatec-6200-laptop/index.md index c2467c5..004ec87 100644 --- a/source/linux/installing-wbel4-rhel4-on-an-averatec-6200-laptop/index.md +++ b/source/linux/installing-wbel4-rhel4-on-an-averatec-6200-laptop/index.md @@ -7,7 +7,7 @@ date: 2005-09-01 00:00:00 aside { float: right; width: auto; - border: solid 2px darkgray; + border: dashed 1px #ddd; border-right: none; padding: 5px; border-radius: 10px; @@ -21,8 +21,7 @@ aside p { } -