add warning flag to note

This commit is contained in:
Bud Parr 2014-07-31 17:54:56 -04:00
parent 2642bd7415
commit d8a7d770b4
1 changed files with 9 additions and 1 deletions

View File

@ -30,7 +30,7 @@ repository](https://github.com/mojombo/mojombo.github.io) has the name
Content from the `master` branch of your repository will be used to build and Content from the `master` branch of your repository will be used to build and
publish the GitHub Pages site, so make sure your Jekyll site is stored there. publish the GitHub Pages site, so make sure your Jekyll site is stored there.
<div class="note info"> <div class="note warning">
<h5>Custom domains do not affect repository names</h5> <h5>Custom domains do not affect repository names</h5>
<p> <p>
GitHub Pages are initially configured to live under the GitHub Pages are initially configured to live under the
@ -54,6 +54,14 @@ actual software project for Jekyll, however the Jekyll website (that youre
looking at right now) is contained in the [gh-pages looking at right now) is contained in the [gh-pages
branch]({{ site.repository }}/tree/gh-pages) of the same repository. branch]({{ site.repository }}/tree/gh-pages) of the same repository.
<div class="note">
<h5>Source Files Must be in the Root Directory</h5>
<p>Github Pages [overrides](https://help.github.com/articles/troubleshooting-github-pages-build-failures#source-setting) the ["Site Source"](http://jekyllrb.com/docs/configuration/#global-configuration) configuration value, so if you locate your files anywhere other than the root directory, your site may not build correctly.
</p>
</div>
### Project Page URL Structure ### Project Page URL Structure
Sometimes it's nice to preview your Jekyll site before you push your `gh-pages` Sometimes it's nice to preview your Jekyll site before you push your `gh-pages`