mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-12-25 03:08:54 +01:00
29 lines
659 B
HTML
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>
|