From d80c54d4c3b2b66acb8339d2f486aa8d52e4552e Mon Sep 17 00:00:00 2001 From: shinbokuow Date: Wed, 15 Jul 2020 15:29:44 +0800 Subject: [PATCH] test image & math rendering --- .github/workflows/auto-deploy.yml | 2 ++ _config.yml | 2 +- themes/next/_config.yml | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/auto-deploy.yml b/.github/workflows/auto-deploy.yml index 4ac5549f27c..077db10e634 100644 --- a/.github/workflows/auto-deploy.yml +++ b/.github/workflows/auto-deploy.yml @@ -45,6 +45,8 @@ jobs: hexo --version npm install hexo-deployer-git --save npm install https://github.com/CodeFalling/hexo-asset-image -- save + npm un hexo-renderer-marked --save + npm i hexo-renderer-pandoc --save hexo clean hexo generate hexo deploy diff --git a/_config.yml b/_config.yml index 62176455fcd..3fff4f60c14 100644 --- a/_config.yml +++ b/_config.yml @@ -14,7 +14,7 @@ timezone: '' # URL ## If your site is put in a subdirectory, set url as 'http://yoursite.com/child' and root as '/child/' url: http://rcore-os.github.io/blog -root: /blog/ +root: / permalink: :year/:month/:day/:title/ permalink_defaults: pretty_urls: diff --git a/themes/next/_config.yml b/themes/next/_config.yml index cc4d64b46df..715877c4ab8 100644 --- a/themes/next/_config.yml +++ b/themes/next/_config.yml @@ -494,7 +494,7 @@ math: # hexo-renderer-pandoc (or hexo-renderer-kramed) required for full MathJax support. mathjax: - enable: false + enable: true # hexo-renderer-markdown-it-plus (or hexo-renderer-markdown-it with markdown-it-katex plugin) required for full Katex support. katex: