Skip to content

Commit

Permalink
unset site.index for gh-pages
Browse files Browse the repository at this point in the history
ea141f1 added a site.index variable to enable local browsing of a repo after the site has been built using Jekyll by using local `file:///`links, without the need to start a local webserver with `make serve`.  This feature should probably be a PR against swcarpentry/styles.

Regardless, unsetting site.index will allow the gh-pages site to generate the correct URLs (http://swcarpentry.github.io/shell-extras/01-man-pages/ instead of http://swcarpentry.github.io/shell-extras/01-man-pages/index.html)
  • Loading branch information
brandoncurtis authored Aug 18, 2017
1 parent b6f2f02 commit c528cb4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ title: "Extra Unix Shell Material"
contact: "mailto:[email protected]"

# Default web-server Index page (can be blank)
index: "index.html"
index:

#------------------------------------------------------------
# Generic settings (should not need to change).
Expand Down

0 comments on commit c528cb4

Please sign in to comment.