我_config.yml因此定義GitHub的網頁是不是傑奇
# Site settings
title: XTargets
email: [email protected]
description: "XTargets - Technical blog of Brad Phelan"
baseurl: "/xtargets"
url: "http://xtargets.com"
# Build settings
markdown: redcarpet
permalink: pretty
defaults:
-
scope:
path: ""
values:
layout: "post"
https://github.com/bradphelan/xtargets/blob/gh-pages/_config.yml
,當我在本地運行哲基爾服務器我的職位獲得包裹後佈局。然而,當檢查github上的gh-pages分支時,頁面不會被打包。
見
http://bradphelan.github.io/xtargets/2012/03/29/simple-javascript-powered-inline-confirm/
爲什麼會發生?
你能告訴我們一個最小的(不)工作的例子嗎?您的實際示例不會顯示問題,因爲佈局在帖子中提供(而baseurl不是)。 – Sylvain
[GitHub Pages現在運行Jekyll 2.2.0](https://github.com/blog/1867-github-pages-now-runs-jekyll-2-2-0),所以這應該不再是一個問題。 –