ebiten/_docs/example.tmpl.html
2015-01-09 03:29:59 +09:00

29 lines
659 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" >
<title>Ebiten example - {{.Example.Name}}</title>
<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>Ebiten example - {{.Name}}</h1>
<iframe src="{{.Name}}.content.html" width="{{.Width}}" height="{{.Height}}"></iframe>
<pre><code>{{.Source}}</code></pre>
{{end}}
<footer>{{.Copyright}}</footer>