all repos — nirvash @ main

modular CMS using the quartzgun library

templates/deployed.html (raw)

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
{{ $status := ((.Context).Value "adapter").Deploy }}

{{ template "header" . }}

{{ if ne ($status).Success true }}

  <h2>Deployment Error</h2>
  <span class="adapter-error"><pre>{{($status).Message}}</pre></span>
  
{{ else }}

<h2>Deployment Successful</h2>
<span class="adapter-success"><pre>{{($status).Message}}</pre></span>

{{ end }}

{{ template "footer" . }}