-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
46 lines (38 loc) · 1.86 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="generator" content="rustdoc">
<meta name="description" content="API documentation for the Rust `rustache` crate.">
<meta name="keywords" content="rustache, mustache, rust, rustlang, rust-lang">
<title>rustache</title>
<link href='https://fonts.googleapis.com/css?family=Source+Sans+Pro' rel='stylesheet' type='text/css'>
<link href='https://fonts.googleapis.com/css?family=Source+Code+Pro' rel='stylesheet' type='text/css'>
<link rel="stylesheet" type="text/css" href="css/style.css">
</head>
<body>
<section class="jumbo">
<object data="img/rustache.svg" type="image/svg+xml"></object>
<h4>a flexible template engine for Rust</h4> <br>
<iframe src="https://ghbtns.com/github-btn.html?user=rustache&repo=rustache&type=watch&count=true&size=large"
allowtransparency="true" frameborder="0" scrolling="0" width="120" height="30"></iframe>
<iframe src="https://ghbtns.com/github-btn.html?user=rustache&repo=rustache&type=fork&count=true&size=large" allowtransparency="true" frameborder="0" scrolling="0" width="120" height="30"></iframe>
<h4><a href="https://rustache.github.io/rustache/" target="_blank">docs</a></h4><br>
<h4><a href="https://crates.io/crates/rustache" target="_blank">crates</a></h4><br>
</section>
<section class="content">
<article>
<header>
<h1> Rustache in action </h1>
</header>
<section class="example">
<b>extern</b> crate rustache; <br> <br>
rustache::render_text(template, data); <br> <br>
// or <br>
rustache::render_file("path/to/template.html", data); <br> <br>
</section>
</article>
</section>
</body>
</html>