mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2025-01-11 19:48:54 +01:00
docs: Add <title> to examples
This commit is contained in:
parent
62dfd2adef
commit
6453273bac
@ -2,6 +2,7 @@
|
||||
{{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;
|
||||
@ -19,7 +20,7 @@ pre {
|
||||
</style>
|
||||
<nav><a href="..">Ebiten</a></nav>
|
||||
{{with .Example}}
|
||||
<h1>{{.Name}}</h1>
|
||||
<h1>Ebiten example - {{.Name}}</h1>
|
||||
<iframe src="{{.Name}}.content.html" width="{{.Width}}" height="{{.Height}}"></iframe>
|
||||
<pre><code>{{.Source}}</code></pre>
|
||||
{{end}}
|
||||
|
@ -16,6 +16,7 @@ limitations under the License.
|
||||
-->
|
||||
<link rel="shortcut icon" href="../favicon.png" type="image/png" >
|
||||
<link rel="icon" href="../favicon.png" type="image/png" >
|
||||
<title>Ebiten example - blocks</title>
|
||||
<style>
|
||||
body {
|
||||
font-family: sans-serif;
|
||||
@ -33,7 +34,7 @@ pre {
|
||||
</style>
|
||||
<nav><a href="..">Ebiten</a></nav>
|
||||
|
||||
<h1>blocks</h1>
|
||||
<h1>Ebiten example - blocks</h1>
|
||||
<iframe src="blocks.content.html" width="512" height="480"></iframe>
|
||||
<pre><code>// Please read example/blocks/main.go and example/blocks/blocks/*.go</code></pre>
|
||||
|
||||
|
@ -16,6 +16,7 @@ limitations under the License.
|
||||
-->
|
||||
<link rel="shortcut icon" href="../favicon.png" type="image/png" >
|
||||
<link rel="icon" href="../favicon.png" type="image/png" >
|
||||
<title>Ebiten example - hue</title>
|
||||
<style>
|
||||
body {
|
||||
font-family: sans-serif;
|
||||
@ -33,7 +34,7 @@ pre {
|
||||
</style>
|
||||
<nav><a href="..">Ebiten</a></nav>
|
||||
|
||||
<h1>hue</h1>
|
||||
<h1>Ebiten example - hue</h1>
|
||||
<iframe src="hue.content.html" width="640" height="480"></iframe>
|
||||
<pre><code>package main
|
||||
|
||||
|
@ -16,6 +16,7 @@ limitations under the License.
|
||||
-->
|
||||
<link rel="shortcut icon" href="../favicon.png" type="image/png" >
|
||||
<link rel="icon" href="../favicon.png" type="image/png" >
|
||||
<title>Ebiten example - keyboard</title>
|
||||
<style>
|
||||
body {
|
||||
font-family: sans-serif;
|
||||
@ -33,7 +34,7 @@ pre {
|
||||
</style>
|
||||
<nav><a href="..">Ebiten</a></nav>
|
||||
|
||||
<h1>keyboard</h1>
|
||||
<h1>Ebiten example - keyboard</h1>
|
||||
<iframe src="keyboard.content.html" width="640" height="480"></iframe>
|
||||
<pre><code>package main
|
||||
|
||||
|
@ -16,6 +16,7 @@ limitations under the License.
|
||||
-->
|
||||
<link rel="shortcut icon" href="../favicon.png" type="image/png" >
|
||||
<link rel="icon" href="../favicon.png" type="image/png" >
|
||||
<title>Ebiten example - mosaic</title>
|
||||
<style>
|
||||
body {
|
||||
font-family: sans-serif;
|
||||
@ -33,7 +34,7 @@ pre {
|
||||
</style>
|
||||
<nav><a href="..">Ebiten</a></nav>
|
||||
|
||||
<h1>mosaic</h1>
|
||||
<h1>Ebiten example - mosaic</h1>
|
||||
<iframe src="mosaic.content.html" width="640" height="480"></iframe>
|
||||
<pre><code>package main
|
||||
|
||||
|
@ -16,6 +16,7 @@ limitations under the License.
|
||||
-->
|
||||
<link rel="shortcut icon" href="../favicon.png" type="image/png" >
|
||||
<link rel="icon" href="../favicon.png" type="image/png" >
|
||||
<title>Ebiten example - paint</title>
|
||||
<style>
|
||||
body {
|
||||
font-family: sans-serif;
|
||||
@ -33,7 +34,7 @@ pre {
|
||||
</style>
|
||||
<nav><a href="..">Ebiten</a></nav>
|
||||
|
||||
<h1>paint</h1>
|
||||
<h1>Ebiten example - paint</h1>
|
||||
<iframe src="paint.content.html" width="640" height="480"></iframe>
|
||||
<pre><code>package main
|
||||
|
||||
|
@ -16,6 +16,7 @@ limitations under the License.
|
||||
-->
|
||||
<link rel="shortcut icon" href="../favicon.png" type="image/png" >
|
||||
<link rel="icon" href="../favicon.png" type="image/png" >
|
||||
<title>Ebiten example - perspective</title>
|
||||
<style>
|
||||
body {
|
||||
font-family: sans-serif;
|
||||
@ -33,7 +34,7 @@ pre {
|
||||
</style>
|
||||
<nav><a href="..">Ebiten</a></nav>
|
||||
|
||||
<h1>perspective</h1>
|
||||
<h1>Ebiten example - perspective</h1>
|
||||
<iframe src="perspective.content.html" width="640" height="480"></iframe>
|
||||
<pre><code>package main
|
||||
|
||||
|
@ -16,6 +16,7 @@ limitations under the License.
|
||||
-->
|
||||
<link rel="shortcut icon" href="../favicon.png" type="image/png" >
|
||||
<link rel="icon" href="../favicon.png" type="image/png" >
|
||||
<title>Ebiten example - rotate</title>
|
||||
<style>
|
||||
body {
|
||||
font-family: sans-serif;
|
||||
@ -33,7 +34,7 @@ pre {
|
||||
</style>
|
||||
<nav><a href="..">Ebiten</a></nav>
|
||||
|
||||
<h1>rotate</h1>
|
||||
<h1>Ebiten example - rotate</h1>
|
||||
<iframe src="rotate.content.html" width="640" height="480"></iframe>
|
||||
<pre><code>package main
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user