Skip to content

Instantly share code, notes, and snippets.

@boushley
Created May 16, 2014 22:29
Show Gist options
  • Save boushley/54800b6c5c3e89687a5a to your computer and use it in GitHub Desktop.
Save boushley/54800b6c5c3e89687a5a to your computer and use it in GitHub Desktop.
Non scalable way of including author templates
<div>
{{ if eq .Params.author "boushley" }}
{{ template "chrome/author/boushley.html" . }}
{{ else if ... }}
...
{{ end }}
</div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment