crispgm / resume

A minimalist resume template for Jekyll and Hexo
https://crispgm.github.io/resume/resume.html
MIT License
302 stars 87 forks source link

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

Closed 9201314 closed 2 years ago

9201314 commented 4 years ago

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

grace618 commented 3 years ago

I have the same problem

grace618 commented 3 years ago

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

crispgm commented 3 years ago

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

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

arthuroy commented 3 years ago

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 commented 2 years ago

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 commented 2 years ago

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