From 09d1124188cd0b7c1d4b9283057314dbb295274a Mon Sep 17 00:00:00 2001 From: iotcat Date: Mon, 22 Jun 2020 00:05:28 +0800 Subject: [PATCH] tpjax --- _config.yml | 11 +++++++++++ package.json | 3 +++ source/_posts/hello-world.md | 5 +++++ themes/kayo | 2 +- 4 files changed, 20 insertions(+), 1 deletion(-) diff --git a/_config.yml b/_config.yml index a9c60bc..b0c42fc 100644 --- a/_config.yml +++ b/_config.yml @@ -95,6 +95,17 @@ ignore: ## Themes: https://hexo.io/themes/ theme: kayo + +# search +search: + path: search.xml + field: post + content: true + +# sitemap +sitemap: + path: sitemap.xml + # Deployment ## Docs: https://hexo.io/docs/deployment.html deploy: diff --git a/package.json b/package.json index c0f0516..2850d3e 100644 --- a/package.json +++ b/package.json @@ -17,7 +17,10 @@ "hexo-deployer-rsync": "^1.0.0", "hexo-generator-archive": "^1.0.0", "hexo-generator-category": "^1.0.0", + "hexo-generator-feed": "^2.2.0", "hexo-generator-index": "^1.0.0", + "hexo-generator-search": "^2.4.0", + "hexo-generator-seo-friendly-sitemap": "^0.0.25", "hexo-generator-tag": "^1.0.0", "hexo-reading-time": "^1.0.3", "hexo-renderer-ejs": "^1.0.0", diff --git a/source/_posts/hello-world.md b/source/_posts/hello-world.md index 821780c..119db03 100644 --- a/source/_posts/hello-world.md +++ b/source/_posts/hello-world.md @@ -1,5 +1,6 @@ --- title: Hello World +type: post --- 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). @@ -7,6 +8,10 @@ Welcome to [Hexo](https://hexo.io/)! This is your very first post. Check [docume ### Create a new post +$$ +\frac{d_r}{j_k} +$$ + ``` bash $ hexo new "My New Post" ``` diff --git a/themes/kayo b/themes/kayo index 56f2f7a..d9859f2 160000 --- a/themes/kayo +++ b/themes/kayo @@ -1 +1 @@ -Subproject commit 56f2f7a0cc1ceb8568d1dc3e65915e237d9a420c +Subproject commit d9859f299d85526009b2a745d7603ddd9902b239