简体   繁体   English

在github中,您可以在项目页面的用户页面中使用Jekyll布局吗?

[英]In github, can you use Jekyll layouts from your user pages in your project pages?

I you have a github account with Jekyll-rendered pages at: 我在以下位置拥有一个拥有Jekyll渲染页面的github帐户:

username.github.com

is it possible to use the layouts from there to also render your project pages at: 是否可以使用那里的布局在以下位置还渲染项目页面:

username.github.com/projectname

If so, how? 如果是这样,怎么办?

Yes, and no. 是的,没有。 You can use the layouts to render files in the projectname path of your username.github.com repo. 您可以使用布局在用户名.github.com回购的projectname 路径中呈现文件。 If, however, you put the pages into the projectname repo , that repo will not have access to the same layouts unless you copy them in. 但是,如果你把页面到projectname 回购 ,回购这将无法获得相同的布局,除非你在复制它们。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM