1
0
mirror of https://github.com/actix/examples synced 2025-06-28 18:00:37 +02:00

adds Handlebars example

Closes #122
This commit is contained in:
Alexandru Tiniuc
2019-06-08 18:47:39 +01:00
parent a93d8f41d4
commit 006b7f3d08
6 changed files with 101 additions and 0 deletions

View 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>

View 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>