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

如何在一个域名下建立多个博客和其它网站 #220

Closed
ratyjs opened this issue Jun 28, 2013 · 3 comments
Closed

如何在一个域名下建立多个博客和其它网站 #220

ratyjs opened this issue Jun 28, 2013 · 3 comments
Labels
question Needs help in usage

Comments

@ratyjs
Copy link

ratyjs commented Jun 28, 2013

在domain.com下
根目录搭一个博客
domain.com/
然后想在
domain.com/blog1
domain.com/blog2
中布设另外与hexo完全无关的两个站
再在domian.com/demo下存放一些静态html
如何实现,求具体配置方法

@tommy351
Copy link
Member

修改_config.yml中的urlroot設定,例如:

url: http://domain.com/blog1
root: /blog1/

@ratyjs
Copy link
Author

ratyjs commented Jun 28, 2013

如果一个博客默认建在根目录呢,然后想在/demo/下存放一些html,是不是建在hexo的/source目录下,但是使用hexo generate发布后发现/demo下的html文件和md文件都被编译了

@tommy351
Copy link
Member

請隨便找個地方另外建立一個hexo的資料夾

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Needs help in usage
Projects
None yet
Development

No branches or pull requests

2 participants