Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/git/23.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/github/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
更改octopress git提交文件夹_Git_Github_Octopress - Fatal编程技术网

更改octopress git提交文件夹

更改octopress git提交文件夹,git,github,octopress,Git,Github,Octopress,我正在使用octopress在username.github.com/title创建我的博客, 其中title是博客的标题 在_config.yml中,我配置了permalink:/:标题/ 它现在在username.github.com/title上创建博客,但当我提交它时,它会创建一个文件夹,其标题位于目录的根目录上,而不是位于博客文件夹中 您如何更改它,使其在blog文件夹中提交,以便将我的所有博客分组到一个文件夹中,而我的博客仍位于username.github.com/title?可能

我正在使用octopress在username.github.com/title创建我的博客, 其中title是博客的标题

在_config.yml中,我配置了permalink:/:标题/

它现在在username.github.com/title上创建博客,但当我提交它时,它会创建一个文件夹,其标题位于目录的根目录上,而不是位于博客文件夹中


您如何更改它,使其在blog文件夹中提交,以便将我的所有博客分组到一个文件夹中,而我的博客仍位于username.github.com/title?

可能您可以在_config.yml中尝试以下操作

root: /
permalink: /blog/:year/:month/:day/:title/