Added a template for creating link posts

This commit is contained in:
Leon Mika 2025-03-11 21:17:59 +11:00
parent 38ebb21a34
commit 836d6a337a
9 changed files with 231 additions and 23 deletions

View file

@ -0,0 +1,13 @@
<form method="post" action="/sites/{{.site.ID}}/posts/new-link">
<p>
<label>Link URL</label>
<input type="text" name="link_url" value="" />
</p>
<p>
<label>Via URL</label>
<input type="text" name="via_url" value="" />
</p>
<div class="bottom-area">
<input type="submit" value="Create Post">
</div>
</form>