Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How do I use the index layout in a child page? #3193

Closed
Thraka opened this issue Jun 18, 2018 · 1 comment
Closed

How do I use the index layout in a child page? #3193

Thraka opened this issue Jun 18, 2018 · 1 comment
Labels

Comments

@Thraka
Copy link

Thraka commented Jun 18, 2018

Environment Info

Node version(node -v): v9.8.0

Hexo and Plugin version(npm ls --depth 0): hexo@3.2.2

For question

I cannot seem to use the INDEX layout directly. The page.posts variable does not exist. How do I use the same front page index posts in a sub page? My end goal is to change the hexo site from a blog-first site to a normal website-first and have a mysite.com/blog/ page.

@stale
Copy link

stale bot commented Aug 17, 2018

This issue has been automatically marked as stale because lack of recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale label Aug 17, 2018
@stale stale bot closed this as completed Aug 24, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant