Hyperlink-Redirect/templates/index.mustache
2023-11-03 10:31:17 -04:00

20 lines
618 B
Plaintext

{{> header}}
{{^redirect-url}}
{{#hyperlink}}
<p>Your hyperlink is: <a href="{{hyperlink}}">{{hyperlink}}</a></p>
{{/hyperlink}}
<form method="post">
<div>
<label for="hyperlink">Hyperlink</label>
<input id="hyperlink" name="hyperlink" type="text" minlength="4"
maxlength="2083" required>
<input id="meta-refresh" name="meta-refresh" type="checkbox">
<label for="meta-refresh">
<a href="https://en.wikipedia.org/wiki/Meta_refresh">Meta refresh?</a>
</label>
</div>
<button type="submit">Process</button>
</form>
{{/redirect-url}}
{{> footer}}