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

Add .Page.BundleType #4662

Closed
bep opened this Issue Apr 23, 2018 · 0 comments

Comments

Projects
None yet
1 participant
@bep
Member

bep commented Apr 23, 2018

Suggest that we return either:

  1. leaf
  2. branch
  3. empty string

The above sits well with constructs like

{{ with .BundleType }}
// Now we know it is a bundle
{{ end }}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment