Skip to content

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

@XieSandi

Description

@XieSandi

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions