Sunday, 15 February 2015

Removing "/jekyll/update" from the jekyll URLs -



Removing "/jekyll/update" from the jekyll URLs -

i trying build site using jekyll. here config:

# dependencies markdown: redcarpet pygments: true # permalinks permalink: /blog/:categories/:year/:month/:day/:title/ # setup title: jekyll metro tagline: 'a metro theme 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 blog index paginate_path: "/blog/page:num" destination: ./_site navigation: - text: blog url: /blog/ - text: archive url: /archive/ - text: url: /about/ # custom vars version: 0.1.0

and here blog : http://blog-olakara.rhcloud.com/blog/ if go post.. "/jekyll/update/"..

what need avoid display of jekyll/update in path. configuration error doing?

the illustration post has 2 categories "jekyll" , "update" appended url. seek remove them.

you can alter "permalink" pattern :

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

to :

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

url jekyll

No comments:

Post a Comment