删除“/杰基尔/更新“;来自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/