ebiten/_docs/example.tmpl.html
2015-01-09 02:48:25 +09:00

28 lines
592 B
HTML

<!DOCTYPE html>
{{comment .License}}
<link rel="shortcut icon" href="../favicon.png" type="image/png" >
<link rel="icon" href="../favicon.png" type="image/png" >
<style>
body {
font-family: sans-serif;
}
iframe {
border-color: #999;
border-style: solid;
border-width: 1px;
overflow: hidden;
}
pre {
background: #eee;
padding: 1em;
}
</style>
<nav><a href="..">Ebiten</a></nav>
{{with .Example}}
<h1>{{.Name}}</h1>
<iframe src="{{.Name}}.content.html" width="{{.Width}}" height="{{.Height}}"></iframe>
<pre><code>{{.Source}}</code></pre>
{{end}}
<footer>{{.Copyright}}</footer>