Shrty is a simple to use, go based link shortner with api connection.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

27 lines
698 B

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>{{.Title}} | Token</title>
<link rel="stylesheet" type="text/css" href="/css/app.css" \>
</head>
<body>
<main id="main">
<div id="container">
<h1>{{.Title}}</h1>
<input type="url" name="url" placeholder="http(s)://" required="" autofocus value="{{if .Body}}{{.Body}}{{end}}">
<a href="/"><button class="button" type="submit" name="submit" value="short">Nächste</button></a>
</div>
</main>
<footer>
<a href="https://git.calyrium.org/kreativmonkey/shrt">
<picture>
<source srcset="img/github.svg" type="image/svg+xml">
<img src="img/github.png" alt="running rabbits" />
</picture>
</a>
</footer>
</body>
</html>