clean URLs by default
This commit is contained in:
25
templates/list.tpl
Normal file
25
templates/list.tpl
Normal file
@@ -0,0 +1,25 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<title>kls</title>
|
||||
<meta charset="utf-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
|
||||
<meta property="og:title" content="kls" />
|
||||
<meta property="og:type" content="website" />
|
||||
<meta property="og:url" content="https://kls.ai6ua.net/" />
|
||||
<style>
|
||||
* { font-size: large; }
|
||||
</style>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<h2>KLS</h2>
|
||||
<p><a href="/">Home</a></p>
|
||||
<ul>
|
||||
{{range .URLs}}
|
||||
<li>({{.Timestamp}}) <a href="/{{.Short}}">{{.Short}}</a> → <a href="{{.URL}}">{{.NURL}}</a></li>
|
||||
{{end}}
|
||||
</ul>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user