I'm making a site using this theme: Github repo; theme demo.
The theme is built with the blog feed on the homepage (index.html
). What I would like to do instead is:
- make a static homepage (i.e. no blog feed on the homepage), and
- have the blog feed live on a separate page called "Blog", with the link "/blog" or "/blog.html".
The code for the blog feed lives in _includes/blog.html
and is included in the home
layout using {% include blog.html %}
.
What I've tried
- changed the layout of
index.html
to a static layout likepage
, and created a new page in the root calledblog.html
with the layouthome
- this succeeded in creating a static homepage, but the blog page yields a home-like header but no blog feed (essentially a page with no content). - created a new page in the root called
blog.html
with the layoutdefault
, and pasted the content of the home layout (including{% include blog.html %}
) into that page - this yielded the same result as above. - created a new layout called
blog
, which is a copy of the currenthome
layout. I deleted the line{% include blog.html %}
from thehome
layout. Then I gaveindex.html
thehome
layout and created a new page in the root calledblog.html
with the layoutblog
. This yielded the same result as above.
In short, it seems like the blog feed isn't able to generate in any file other than index.html
, and I haven't been able to figure out why. Is it something I'm missing in the theme's configuration? Apologies if this turns out to be a dumb question - I'm rather new to this. Thank you for any help you can give me!
EDIT: Turns out it was an issue with the paginator, which by default paginates from home.