~yerinalexey/gobin

bc245cd30bacb7a8870453a34283fd3dd1b1bc78 — Alexey Yerin 5 months ago 68e48b5
feat: show if paste is public or unlisted
1 files changed, 1 insertions(+), 1 deletions(-)

M templates/paste.html
M templates/paste.html => templates/paste.html +1 -1
@@ 8,7 8,7 @@
    {{ template "header" }}

    <main>
      <p>Viewing paste #{{ .Id }}:</p>
      <p>Paste #{{ .Id }} {{if .Public}}[public]{{else}}[unlisted]{{end}}</p>

      <pre class="paste-text">{{ .Contents }}</pre>
    </main>