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 support for Template Blocks in Go 1.6 #1832

Closed
bep opened this Issue Feb 9, 2016 · 3 comments

Comments

Projects
None yet
2 participants
@bep
Member

bep commented Feb 9, 2016

Probably something similar to the baseof.ace templates.

golang/go#3812

@bep bep self-assigned this Feb 9, 2016

@bep bep added this to the v0.16 milestone Feb 9, 2016

@bep bep removed this from the v0.16 milestone Feb 10, 2016

@bep bep removed their assignment Feb 10, 2016

@bep

This comment has been minimized.

Show comment
Hide comment
@bep

bep Feb 10, 2016

Member

I cannot get this to work with Hugo. I don't understand it, and have wasted enough time. I'm happy enough with the Ace templates, but might take a stab at this at a later point in time

Member

bep commented Feb 10, 2016

I cannot get this to work with Hugo. I don't understand it, and have wasted enough time. I'm happy enough with the Ace templates, but might take a stab at this at a later point in time

@bep

This comment has been minimized.

Show comment
Hide comment
@bep

bep Feb 12, 2016

Member

OK, found a way to make this work without too intrusive changes. I still believe the Go team should have made a better job with this. To quote Rob PIke: "Simplicity is Complicated".

Member

bep commented Feb 12, 2016

OK, found a way to make this work without too intrusive changes. I still believe the Go team should have made a better job with this. To quote Rob PIke: "Simplicity is Complicated".

bep added a commit to bep/hugo that referenced this issue Mar 9, 2016

Add support for Go 1.6 block keyword in templates
NOTE: Needs Go 1.6 to use the new feature.

Fixes gohugoio#1832

@bep bep closed this in a2abad9 Mar 10, 2016

@anthonyfok

This comment has been minimized.

Show comment
Hide comment
@anthonyfok

anthonyfok Mar 12, 2016

Contributor

@bep, Kudos to you! You are awesome as always! Thank you for implementing this feature!

Contributor

anthonyfok commented Mar 12, 2016

@bep, Kudos to you! You are awesome as always! Thank you for implementing this feature!

tychoish added a commit to tychoish/hugo that referenced this issue Aug 13, 2017

Add support for Go 1.6 block keyword in templates
NOTE: Needs Go 1.6 to use the new feature.

Fixes gohugoio#1832
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment