mirror of
https://github.com/actix/examples
synced 2025-06-27 01:27:43 +02:00
add fluent templates example
This commit is contained in:
12
templating/fluent/templates/user.html
Normal file
12
templating/fluent/templates/user.html
Normal file
@ -0,0 +1,12 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
|
||||
<head>
|
||||
<title>{{ fluent "user-title" name=user }}</title>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<h1>{{ fluent "user-welcome" name=user }}</h1>
|
||||
<p>{{ fluent "user-data" data=data }}</p>
|
||||
</body>
|
||||
</html>
|
Reference in New Issue
Block a user