从jekyll网址中删除"/ jekyll/update"

Abd*_*oof 9 url jekyll

我正在尝试使用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:      '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
Run Code Online (Sandbox Code Playgroud)

这是我的博客:http://blog-olakara.rhcloud.com/blog/如果我去任何帖子..我得到"/ jekyll/update /"..

screenshopt

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

Dav*_*uel 14

示例帖子有两个类别"jekyll"和"update"附加到url.尝试删除它们.

您还可以更改"永久链接"模式:

permalink:        /blog/:categories/:year/:month/:day/:title/
Run Code Online (Sandbox Code Playgroud)

至 :

permalink:        /blog/:year/:month/:day/:title/
Run Code Online (Sandbox Code Playgroud)