first simple start of using templates

This commit is contained in:
2021-08-30 16:39:19 +02:00
parent 0c5423f1cf
commit 75a9e234cd
5 changed files with 461 additions and 18 deletions

20
templates/edit.html Normal file
View File

@@ -0,0 +1,20 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<title>Actix web</title>
</head>
<body>
<h1>Hi, your link is {{ proxy_link }}!</h1>
it takes the data from redirects to
<p>
<form>
<input type="text" value="{{ link }}">
<input value="Replace" name="replace" type="submit">
</form>
</p>
</body>
</html>