ebiten/_docs/example.tmpl.html
2016-08-27 02:28:57 +09:00

28 lines
1.0 KiB
HTML

<!DOCTYPE html>
<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>
<link rel="stylesheet" href="/stylesheets/bootstrap.min.css">
<link rel="stylesheet" href="/stylesheets/ebiten.css">
<header class="navbar"><div class="container">
<div class="navbar-header">
<a class="navbar-brand" href="/">Ebiten</a>
</div>
</header>
<main><div class="container">
{{with .Example}}
<h1>Ebiten example - {{.Name}}</h1>
<iframe src="{{.Name}}.content.html" width="{{.Width}}" height="{{.Height}}"></iframe>
<pre><code>{{.Source}}</code></pre>
{{end}}
</div></main>
<footer><div class="container">
<p>{{.Copyright}}</p>
<p>Code is licensed under <a href="https://github.com/hajimehoshi/ebiten/blob/master/LICENSE">Apache License 2.0</a>.</p>
<p>The content of this page is licensed under <a href="https://creativecommons.org/licenses/by/4.0/">the Creative Commons Attribution 4.0 License</a>.</p>
</div></footer>