Skip to content
This repository has been archived by the owner on Oct 19, 2023. It is now read-only.

Support partial block statements with --traverse #60

Merged
merged 1 commit into from
Oct 9, 2017
Merged

Support partial block statements with --traverse #60

merged 1 commit into from
Oct 9, 2017

Conversation

jsahlen
Copy link
Contributor

@jsahlen jsahlen commented Mar 6, 2017

I'm working on a project where we'd like to utilise Partial Blocks in our templates, but we noticed that hbsfy would simply drop those blocks.

This PR introduces a minimal change to the traverse functionality which recognises PartialBlockStatements, and ignores template names starting with an @, such as @partial-block.

@martinlissmyr
Copy link

+1

1 similar comment
@Zwergal
Copy link

Zwergal commented Apr 20, 2017

+1

@kirbysayshi kirbysayshi merged commit 1b24c9a into esamattis:master Oct 9, 2017
@kirbysayshi
Copy link
Collaborator

Thanks for the contribution!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants