Skip to content
This repository has been archived by the owner on Oct 10, 2018. It is now read-only.

Custom home page and blog to /news #12

Open
julien51 opened this issue Jan 27, 2014 · 2 comments
Open

Custom home page and blog to /news #12

julien51 opened this issue Jan 27, 2014 · 2 comments

Comments

@julien51
Copy link

Hi!

Is it possible to use a specific home page that won't list posts but then send posts to /news/ ?

Thanks!

@lovellfelix
Copy link

Try this:

Create a folder news with an index.html file in it, and copy the content from the default index page to the one you created in the news folder.

https://github.com/lovellfelix/lovellfelix.com/blob/jekyll/blog/index.html

edit _config.yml

permalink: /news/:title/
paginate_path: '/news/page:num'
https://github.com/lovellfelix/lovellfelix.com/blob/jekyll/_config.yml#L62

Lastly put whatever you want on the home page.
https://github.com/lovellfelix/lovellfelix.com/blob/jekyll/index.html

I hope this helps. :)

I am getting ready to convert my website to Jekyll I've been working on it over the past few days. It's in wild stage, but you can use it as referrence if you like.

@ksaa
Copy link
Member

ksaa commented Feb 25, 2014

Hey @julien51,

This is something I could consider including in upcoming versions. For example Adroll used jekyll-incorporated for their engineering site, and they created a separate homepage for it: http://tech.adroll.com/

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants