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

Post loop doesn't consider subfolders #27

Open
Eonasdan opened this issue Jul 24, 2022 · 1 comment
Open

Post loop doesn't consider subfolders #27

Eonasdan opened this issue Jul 24, 2022 · 1 comment
Labels
Area: Build Impacts the build system. Priority: High Type: bug Something isn't working

Comments

@Eonasdan
Copy link
Owner

During the generation phase the loop does not consider sub folders under partials, e.g. partials/foo/bar.html

@Eonasdan Eonasdan added Type: bug Something isn't working Priority: High Area: Build Impacts the build system. labels Jul 24, 2022
@Eonasdan
Copy link
Owner Author

Eonasdan commented Aug 1, 2022

Maybe I could change things with this and #28. If there is a post directory then use a postTemplate.html otherwise use pageTemplate.html. This should allow for applying the a template to non-post pages e.g. aboutus.html

graph TD
    A[Partials] --> B[Page1]
    G[Page Template] --> B
    H[Post Template] --> C
    A --> C[Posts]
    C --> D[Post1]
    C --> E[Post2]
    C --> F[Post3]
Loading

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area: Build Impacts the build system. Priority: High Type: bug Something isn't working
Projects
Status: 🆕 New
Development

No branches or pull requests

1 participant