16 lines
301 B
Cheetah
16 lines
301 B
Cheetah
|
{{ define "content" }}
|
||
|
|
||
|
<main class="container">
|
||
|
{{ if eq .Type "image" }}
|
||
|
<img src="{{ .URL }}?raw=true">
|
||
|
{{ else if eq .Type "audio" }}
|
||
|
<audio src="{{ .URL }}?raw=true"></audio>
|
||
|
{{ else if eq .Type "video" }}
|
||
|
|
||
|
{{ else}}
|
||
|
<pre>{{ .Content }}</pre>
|
||
|
{{ end }}
|
||
|
</main>
|
||
|
|
||
|
{{ end }}
|