Gabriel Simmer
b0675e9f56
Some checks reported warnings
Nix build / tests (pull_request) Has been cancelled
31 lines
954 B
Cheetah
31 lines
954 B
Cheetah
{{template "header" .}}
|
|
|
|
<script src="/static/js/prism.js"></script>
|
|
|
|
{{if .UserInfo}}
|
|
{{if ne .PasterUserID .UserID}}
|
|
<div class="right">{{.PasterDisplayName}} {{if .PasterProfilePicURL}}<img style="width:32px;height:32px" src="{{.PasterProfilePicURL}}" />{{end}}</div>
|
|
{{end}}
|
|
{{else}}
|
|
<div class="right">{{.PasterDisplayName}} {{if .PasterProfilePicURL}}<img style="width:32px;height:32px" src="{{.PasterProfilePicURL}}" />{{end}}</div>
|
|
{{end}}
|
|
|
|
<p>Created at {{.CreatedAt}}</p>
|
|
|
|
{{if .RawHTML}}
|
|
<article>
|
|
{{.RawHTML}}
|
|
</article>
|
|
<br />
|
|
{{else}}
|
|
<div style="display:inline-block;">
|
|
<pre><code class="{{.CSSClass}}">{{.Data}}
|
|
</code></pre>
|
|
</div>
|
|
<br />
|
|
{{end}}
|
|
|
|
<a href="/paste/{{.ID}}">Permalink</a> - <a href="/paste/{{.ID}}/dl">Download</a> - <a href="/paste/{{.ID}}/raw">Raw</a>{{if .RawHTML}} - <a href="/paste/{{.ID}}/md">Fancy</a>{{end}}{{if eq .UserID .PasterUserID}} - <a href="/api/delete/{{.ID}}">Delete</a>{{end}}
|
|
|
|
{{template "footer" .}}
|