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: