Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

hexo server 后显示源码,没有生成简历 #9

Closed
9201314 opened this issue Sep 29, 2020 · 6 comments
Closed

hexo server 后显示源码,没有生成简历 #9

9201314 opened this issue Sep 29, 2020 · 6 comments

Comments

@9201314
Copy link

9201314 commented Sep 29, 2020

我用的是 Hexo 5.2.0,hexo server 后就显示源码
image

@grace618
Copy link

I have the same problem

@grace618
Copy link

我已经知道答案了,他这是旧版的写法

@crispgm
Copy link
Owner

crispgm commented Nov 26, 2020

我已经知道答案了,他这是旧版的写法

@grace618 暂时还没适配新版。下来我看看。

@arthuroy
Copy link

arthuroy commented Dec 21, 2020

For hexo 5.3.0

Just add the following dependency to package.json

"dependencies": {
    "hexo-renderer-swig": "^1.1.0"
}

and run npm install, then npm run server

@yeung66
Copy link

yeung66 commented Jan 25, 2022

For hexo 5.3.0

Just add the following dependency to package.json

"dependencies": {
    "hexo-renderer-swig": "^1.1.0"
}

and run npm install, then npm run server

it works on hexo 6.0 after install hexo-renderer-swig

but need to set config manually or change the css path in head.swig

@crispgm
Copy link
Owner

crispgm commented Jan 25, 2022

For hexo 5.3.0
Just add the following dependency to package.json

"dependencies": {
    "hexo-renderer-swig": "^1.1.0"
}

and run npm install, then npm run server

it works on hexo 6.0 after install hexo-renderer-swig

but need to set config manually or change the css path in head.swig

https://github.com/crispgm/resume/tree/master/port-hexo#hexo-5-compatibility yes

@crispgm crispgm closed this as completed Jan 25, 2022
@crispgm crispgm mentioned this issue Sep 19, 2022
10 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants