fongandrew / hydeout

A refreshed version of Hyde for Jekyll 3.x and 4.x
https://fongandrew.github.io/hydeout/
Other
594 stars 772 forks source link

Support for blog index in another URL different from '/' #3

Closed chrpinedo closed 7 years ago

chrpinedo commented 7 years ago

To put the blog index in a different path from '/' such as '/blog':

  1. move the 'index.html' file to '/blog/index.html'.
  2. create a new 'index.html' or 'index.md' file to have a new index page for your website.
  3. edit '_config.yml':
    • paginate_path: "/blog/page:num/"
    • sidebar_blog_link: "/blog/"

This is working for me in https://github.com/chrpinedo/chrpinedo.github.io and http://christianpinedo.me.

Thanks

fongandrew commented 7 years ago

Thanks for the PR!