Created
June 29, 2018 16:31
-
-
Save Cibernomadas/6fbf3a8d2c7c3a1997655eb2ddf36878 to your computer and use it in GitHub Desktop.
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
{{ define "posts" }} | |
{{ range $post := . }} | |
<table> | |
<tr valign="top"> | |
<td><img src="{{ $post.Author.Avatar 36 }}"></td> | |
<td>{{ $post.Author.Username }} says:<br>{{ $post.Body }}</td> | |
</tr> | |
</table> | |
{{ end }} | |
{{ end }} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment