Added publishing of uploads to built site
This commit is contained in:
parent
48f39133d7
commit
d0cebe6564
13 changed files with 145 additions and 20 deletions
|
|
@ -1,8 +1,8 @@
|
|||
<main class="container">
|
||||
<div class="my-4 d-flex justify-content-between align-items-baseline"
|
||||
data-controller="upload" data-upload-site-id-value="{{ .site.ID }}">
|
||||
<button class="btn" data-action="upload#upload">Copy HTML</button>
|
||||
data-controller="show-upload" data-show-upload-copy-snippet-value="{{ .upload.CopyTemplate }}">
|
||||
<button class="btn" data-action="show-upload#copy">Copy HTML</button>
|
||||
</div>
|
||||
|
||||
<img src="{{ .URL }}" alt="{{ .Upload.Alt }}" class="img-fluid">
|
||||
<img src="{{ .upload.URL }}" alt="{{ .upload.Upload.Alt }}" class="img-fluid">
|
||||
</main>
|
||||
Loading…
Add table
Add a link
Reference in a new issue