wowthemesnet / jekyll-theme-memoirs

Memoirs is a free minimalist Jekyll theme for those who love the beauty of simplicity.
https://bootstrapstarter.com/jekyll-theme-memoirs/
Other
353 stars 329 forks source link

How to move the index.html from root content to other file in page folder? #47

Open XieSandi opened 2 years ago

XieSandi commented 2 years ago

Hey there, thanks for making such an amazing Jekyll theme/template.

So, I trying to make a custom home page/index page. but I want to migrate the current index page as blog page The structure will be : Home (my custom page) ├── About ├── Blog (the previous index.html content move into here) └── Contact

I'm trying to copy this code from the default index into the blog page (change the title inside the code too)

---
layout: default
title: Home
---

<!-- Posts Index
================================================== -->
<div class="blog-grid-container">
    {% for post in paginator.posts %}
        {% include postbox.html %}
    {% endfor %}
</div>

<!-- Pagination
================================================== -->
<div class="bottompagination">
<span class="navigation" role="navigation">
    {% include pagination.html %}
</span>
</div>

But the blog page is blank, there is no rendered content.

Sorry for the silly question, but I'm new to Jekyll.

Thanks in advance!