This commit is contained in:
Henrique Dias
2016-08-21 20:10:12 +01:00
parent 63184da48f
commit b9ca7e2a9c
10 changed files with 134 additions and 97 deletions

View File

@@ -1,5 +1,5 @@
{{ define "content" }}
{{ with .Data}}
<main class="container">
{{ if eq .Type "image" }}
<img src="{{ .URL }}?raw=true">
@@ -11,5 +11,5 @@
<pre>{{ .Content }}</pre>
{{ end }}
</main>
{{ end }}
{{ end }}