Define tx templates in user dir

This commit is contained in:
Wancat
2022-11-17 17:03:40 +08:00
parent 3ef4dfaa48
commit fc4c269ddc
3 changed files with 16 additions and 11 deletions

View File

@@ -1,6 +1,6 @@
{{ define "title" }}Success{{ end }}
{{ define "main" }}
<p><strong>Success</strong></p>
<p><a href="/edit?filename={{ .FileName }}">繼續編輯</a></p>
{{ with .FileName }}<p><a href="/edit?filename={{ . }}">繼續編輯</a></p>{{ end }}
<pre><code>{{ .Tx }}</code></pre>
{{ end }}