Last active
February 25, 2017 20:26
-
-
Save dgellow/e182010533141ade8be26998f039c8eb to your computer and use it in GitHub Desktop.
Pass context to golang template partials (text/format, html/format)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<p class="my-property">{{template "base/head" .MyProperty}}</p> | |
<p class="full-context">{{template "base/head" .}}</p> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment