1
0
mirror of https://github.com/actix/examples synced 2025-06-29 10:14:58 +02:00

Update yarte version to 0.6.0 and his templates with partial block and html minifier new features (#251)

This commit is contained in:
Juan Aguilar
2020-02-06 18:19:04 +01:00
committed by GitHub
parent 443b8197ed
commit 7198fa31e9
7 changed files with 84 additions and 28 deletions

View File

@ -9,12 +9,11 @@
{{! Form !}}
<form>
{{! Input name !}}
Name: <input type="text" name="name" />
Name: <input type="text" name="name" /><br/>
{{! Input last name !}}
<br/>Last name: <input type="text" name="lastname" />
{{! Submit !}}
<br/><p><input type="submit"></p></form>
{{! Order and remove whitespace with comments !}}
Last name: <input type="text" name="lastname"/><br/>
<p>
<input type="submit">
</p>
</form>
</div>

View File

@ -1 +1,4 @@
<head><meta charset="utf-8" /><title>{{ title }}</title></head>
<head>
<meta charset="utf-8"/>
<title>{{ title }}</title>
</head>