var Page = page.New("ex04", "page.html",
page.OnLoad(func(data render.Data) error {
- data.Set("message", "Hello, Hastur!")
+ data.Set("message", "Hello, Mast!")
return nil
}),
page.Funcs(template.FuncMap{
</p>
<pre><code>var index = page.New("index", "index.html",
page.OnLoad(func(data render.Data) error {
- data.Set("message", "Hello, Hastur!")
+ data.Set("message", "Hello, Mast!")
return nil
}),
page.Funcs(template.FuncMap{
<!DOCTYPE html>
<html>
<header>
- <title>Hastur Engine Examples</title>
+ <title>Mast Engine Examples</title>
</header>
<body>
- <h1>Hastur Engine Examples</h1>
- <p>This is a set of examples for usage of the Hastur Web Engine!</p>
+ <h1>Mast Engine Examples</h1>
+ <p>This is a set of examples for usage of the Mast Web Engine!</p>
<h2>Links</h2>
<ol>
<li><a href="/ex01">Pages</a></li>