ebiten/_docs/example.tmpl.html

29 lines
659 B
HTML
Raw Normal View History

2015-01-05 16:44:39 +01:00
<!DOCTYPE html>
{{comment .License}}
2015-01-08 18:48:25 +01:00
<link rel="shortcut icon" href="../favicon.png" type="image/png" >
<link rel="icon" href="../favicon.png" type="image/png" >
2015-01-08 19:29:59 +01:00
<title>Ebiten example - {{.Example.Name}}</title>
2015-01-08 15:45:30 +01:00
<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}}
2015-01-08 19:29:59 +01:00
<h1>Ebiten example - {{.Name}}</h1>
2015-01-08 15:45:30 +01:00
<iframe src="{{.Name}}.content.html" width="{{.Width}}" height="{{.Height}}"></iframe>
<pre><code>{{.Source}}</code></pre>
{{end}}
<footer>{{.Copyright}}</footer>