Warning: file_get_contents(/data/phpspider/zhask/data//catemap/5/url/2.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
删除“/杰基尔/更新“;来自jekyll URL_Url_Jekyll - Fatal编程技术网

删除“/杰基尔/更新“;来自jekyll URL

删除“/杰基尔/更新“;来自jekyll URL,url,jekyll,Url,Jekyll,我正试图建立一个网站使用杰基尔。这是我的配置: # Dependencies markdown: redcarpet pygments: true # Permalinks permalink: /blog/:categories/:year/:month/:day/:title/ # Setup title: Jekyll Metro tagline: 'A Metro theme for Jekyell' description:

我正试图建立一个网站使用杰基尔。这是我的配置:

# Dependencies
markdown: redcarpet
pygments: true

# Permalinks
permalink:        /blog/:categories/:year/:month/:day/:title/

# Setup
title:            Jekyll Metro
tagline:          'A Metro theme for Jekyell'
description:      'A Sample blog using JekyllMetro'
url:              http://blog-olakara.rhcloud.com

# Author Details
author:         'Abdel Raoof Olakara'


# Google Analytics
gahandler: 'UA-52149651-1'

# Blog Configurations
paginate: 5 # Posts per page on the blog index
paginate_path: "/blog/page:num"
destination: ./_site
navigation:
- text: Blog
  url: /blog/
- text: Archive
  url: /archive/
- text: About
  url: /about/

# Custom vars
version:          0.1.0
这是我的博客:如果我去任何一个帖子。。我得到“/jekyll/update/”


我需要的是避免在路径中显示jekyll/update。我正在做的配置错误是什么?

示例文章有两个类别“jekyll”和“update”,它们被附加到url中。 尝试移除它们

您还可以从以下位置更改“永久链接”模式:

permalink:        /blog/:categories/:year/:month/:day/:title/
致:

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