{{ .Url* }} renamed to {{ .URL* }}

This commit is contained in:
Breizh 2022-09-24 20:57:37 +02:00
parent 2d6005da58
commit 3056eb74f7
6 changed files with 15 additions and 15 deletions

View file

@ -17,13 +17,13 @@
</div> </div>
<div class="duo"> <div class="duo">
<a href="{{.UrlGet}}">Télécharger</a> <a href="{{.URLGet}}">Télécharger</a>
<a href="{{.WebAddress}}inline/{{.UrlRandomToken}}/{{.Filename}}">Lien direct</a> <a href="{{.WebAddress}}inline/{{.URLRandomToken}}/{{.Filename}}">Lien direct</a>
</div> </div>
<p> <p>
<audio controls preload="metadata"> <audio controls preload="metadata">
<source src="{{.Url}}" type="{{.ContentType}}" /> <source src="{{.URL}}" type="{{.ContentType}}" />
</audio> </audio>
</p> </p>

View file

@ -17,8 +17,8 @@
</div> </div>
<div class="duo"> <div class="duo">
<a href="{{.UrlGet}}">Télécharger</a> <a href="{{.URLGet}}">Télécharger</a>
<a href="{{.WebAddress}}inline/{{.UrlRandomToken}}/{{.Filename}}">Lien direct</a> <a href="{{.WebAddress}}inline/{{.URLRandomToken}}/{{.Filename}}">Lien direct</a>
</div> </div>
<p><img id="qr" src="data:image/png;base64,{{.QRCode}}"/></p> <p><img id="qr" src="data:image/png;base64,{{.QRCode}}"/></p>

View file

@ -17,11 +17,11 @@
</div> </div>
<div class="duo"> <div class="duo">
<a href="{{.UrlGet}}">Télécharger</a> <a href="{{.URLGet}}">Télécharger</a>
<a href="{{.WebAddress}}inline/{{.UrlRandomToken}}/{{.Filename}}">Lien direct</a> <a href="{{.WebAddress}}inline/{{.URLRandomToken}}/{{.Filename}}">Lien direct</a>
</div> </div>
<p><a href="{{.WebAddress}}inline/{{.UrlRandomToken}}/{{.Filename}}"><img src="{{.Url}}" type="{{.ContentType}}" /></a></p> <p><a href="{{.WebAddress}}inline/{{.URLRandomToken}}/{{.Filename}}"><img src="{{.URL}}" type="{{.ContentType}}" /></a></p>
<p><img id="qr" src="data:image/png;base64,{{.QRCode}}"/></p> <p><img id="qr" src="data:image/png;base64,{{.QRCode}}"/></p>
</body> </body>

View file

@ -17,8 +17,8 @@
</div> </div>
<div class="duo"> <div class="duo">
<a href="{{.UrlGet}}">Télécharger</a> <a href="{{.URLGet}}">Télécharger</a>
<a href="{{.WebAddress}}inline/{{.UrlRandomToken}}/{{.Filename}}">Lien direct</a> <a href="{{.WebAddress}}inline/{{.URLRandomToken}}/{{.Filename}}">Lien direct</a>
</div> </div>
<p> <p>

View file

@ -17,8 +17,8 @@
</div> </div>
<div class="duo"> <div class="duo">
<a href="{{.UrlGet}}">Télécharger</a> <a href="{{.URLGet}}">Télécharger</a>
<a href="{{.WebAddress}}inline/{{.UrlRandomToken}}/{{.Filename}}">Lien direct</a> <a href="{{.WebAddress}}inline/{{.URLRandomToken}}/{{.Filename}}">Lien direct</a>
</div> </div>
<p><img id="qr" src="data:image/png;base64,{{.QRCode}}"/></p> <p><img id="qr" src="data:image/png;base64,{{.QRCode}}"/></p>

View file

@ -17,13 +17,13 @@
</div> </div>
<div class="duo"> <div class="duo">
<a href="{{.UrlGet}}">Télécharger</a> <a href="{{.URLGet}}">Télécharger</a>
<a href="{{.WebAddress}}inline/{{.UrlRandomToken}}/{{.Filename}}">Lien direct</a> <a href="{{.WebAddress}}inline/{{.URLRandomToken}}/{{.Filename}}">Lien direct</a>
</div> </div>
<p> <p>
<video controls preload="metadata"> <video controls preload="metadata">
<source src="{{.Url}}" type="{{.ContentType}}" /> <source src="{{.URL}}" type="{{.ContentType}}" />
</video> </video>
</p> </p>