mirror of
https://github.com/actix/examples
synced 2025-06-28 18:00:37 +02:00
12
template_handlebars/static/templates/index.html
Normal file
12
template_handlebars/static/templates/index.html
Normal file
@ -0,0 +1,12 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
|
||||
<head>
|
||||
<title>{{name}} Example</title>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<h1>{{name}} example</h1>
|
||||
<p>This is an example of how to use {{name}} with Actix-Web.</p>
|
||||
</body>
|
||||
</html>
|
12
template_handlebars/static/templates/user.html
Normal file
12
template_handlebars/static/templates/user.html
Normal file
@ -0,0 +1,12 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
|
||||
<head>
|
||||
<title>{{user}}'s homepage</title>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<h1>Welcome back, {{user}}</h1>
|
||||
<p>Here's your {{data}}.</p>
|
||||
</body>
|
||||
</html>
|
Reference in New Issue
Block a user