mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2025-01-13 20:42:07 +01:00
doc: Add og:image
This commit is contained in:
parent
f36aae4275
commit
a444f1ba35
@ -1,6 +1,8 @@
|
|||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<script src="../scripts/force-https.js"></script>
|
<script src="../scripts/force-https.js"></script>
|
||||||
|
<meta property="og:image" itemprop="image primaryImageOfPage" content="{{.URL}}images/examples/{{.Example.Name}}.png">
|
||||||
|
<meta name="description" content="Ebiten example - {{.Example.Name}}">
|
||||||
<link rel="shortcut icon" href="../favicon.png" type="image/png" >
|
<link rel="shortcut icon" href="../favicon.png" type="image/png" >
|
||||||
<link rel="icon" href="../favicon.png" type="image/png" >
|
<link rel="icon" href="../favicon.png" type="image/png" >
|
||||||
<title>Ebiten example - {{.Example.Name}}</title>
|
<title>Ebiten example - {{.Example.Name}}</title>
|
||||||
|
@ -31,6 +31,10 @@ import (
|
|||||||
"github.com/hajimehoshi/ebiten/internal"
|
"github.com/hajimehoshi/ebiten/internal"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
const (
|
||||||
|
url = "https://hajimehoshi.github.io/ebiten/"
|
||||||
|
)
|
||||||
|
|
||||||
func execute(command string, args ...string) error {
|
func execute(command string, args ...string) error {
|
||||||
cmd := exec.Command(command, args...)
|
cmd := exec.Command(command, args...)
|
||||||
stderr, err := cmd.StderrPipe()
|
stderr, err := cmd.StderrPipe()
|
||||||
@ -243,6 +247,7 @@ func outputMain() error {
|
|||||||
}
|
}
|
||||||
|
|
||||||
data := map[string]interface{}{
|
data := map[string]interface{}{
|
||||||
|
"URL": url,
|
||||||
"Copyright": copyright,
|
"Copyright": copyright,
|
||||||
"StableVersion": stableVersion,
|
"StableVersion": stableVersion,
|
||||||
"DevVersion": devVersion,
|
"DevVersion": devVersion,
|
||||||
@ -323,6 +328,7 @@ func outputExample(e *example) error {
|
|||||||
}
|
}
|
||||||
|
|
||||||
data := map[string]interface{}{
|
data := map[string]interface{}{
|
||||||
|
"URL": url,
|
||||||
"Copyright": copyright,
|
"Copyright": copyright,
|
||||||
"Example": e,
|
"Example": e,
|
||||||
}
|
}
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<script src="./scripts/force-https.js"></script>
|
<script src="./scripts/force-https.js"></script>
|
||||||
|
<meta property="og:image" itemprop="image primaryImageOfPage" content="{{.URL}}images/logo.svg">
|
||||||
<meta name="description" content="Ebiten - A simple 2D game library in Go">
|
<meta name="description" content="Ebiten - A simple 2D game library in Go">
|
||||||
<link rel="shortcut icon" href="./favicon.png" type="image/png">
|
<link rel="shortcut icon" href="./favicon.png" type="image/png">
|
||||||
<link rel="icon" href="./favicon.png" type="image/png">
|
<link rel="icon" href="./favicon.png" type="image/png">
|
||||||
|
@ -1,6 +1,8 @@
|
|||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<script src="../scripts/force-https.js"></script>
|
<script src="../scripts/force-https.js"></script>
|
||||||
|
<meta property="og:image" itemprop="image primaryImageOfPage" content="https://hajimehoshi.github.io/ebiten/images/examples/2048.png">
|
||||||
|
<meta name="description" content="Ebiten example - 2048">
|
||||||
<link rel="shortcut icon" href="../favicon.png" type="image/png" >
|
<link rel="shortcut icon" href="../favicon.png" type="image/png" >
|
||||||
<link rel="icon" href="../favicon.png" type="image/png" >
|
<link rel="icon" href="../favicon.png" type="image/png" >
|
||||||
<title>Ebiten example - 2048</title>
|
<title>Ebiten example - 2048</title>
|
||||||
|
@ -1,6 +1,8 @@
|
|||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<script src="../scripts/force-https.js"></script>
|
<script src="../scripts/force-https.js"></script>
|
||||||
|
<meta property="og:image" itemprop="image primaryImageOfPage" content="https://hajimehoshi.github.io/ebiten/images/examples/alphablending.png">
|
||||||
|
<meta name="description" content="Ebiten example - alphablending">
|
||||||
<link rel="shortcut icon" href="../favicon.png" type="image/png" >
|
<link rel="shortcut icon" href="../favicon.png" type="image/png" >
|
||||||
<link rel="icon" href="../favicon.png" type="image/png" >
|
<link rel="icon" href="../favicon.png" type="image/png" >
|
||||||
<title>Ebiten example - alphablending</title>
|
<title>Ebiten example - alphablending</title>
|
||||||
|
@ -1,6 +1,8 @@
|
|||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<script src="../scripts/force-https.js"></script>
|
<script src="../scripts/force-https.js"></script>
|
||||||
|
<meta property="og:image" itemprop="image primaryImageOfPage" content="https://hajimehoshi.github.io/ebiten/images/examples/audio.png">
|
||||||
|
<meta name="description" content="Ebiten example - audio">
|
||||||
<link rel="shortcut icon" href="../favicon.png" type="image/png" >
|
<link rel="shortcut icon" href="../favicon.png" type="image/png" >
|
||||||
<link rel="icon" href="../favicon.png" type="image/png" >
|
<link rel="icon" href="../favicon.png" type="image/png" >
|
||||||
<title>Ebiten example - audio</title>
|
<title>Ebiten example - audio</title>
|
||||||
|
@ -1,6 +1,8 @@
|
|||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<script src="../scripts/force-https.js"></script>
|
<script src="../scripts/force-https.js"></script>
|
||||||
|
<meta property="og:image" itemprop="image primaryImageOfPage" content="https://hajimehoshi.github.io/ebiten/images/examples/blocks.png">
|
||||||
|
<meta name="description" content="Ebiten example - blocks">
|
||||||
<link rel="shortcut icon" href="../favicon.png" type="image/png" >
|
<link rel="shortcut icon" href="../favicon.png" type="image/png" >
|
||||||
<link rel="icon" href="../favicon.png" type="image/png" >
|
<link rel="icon" href="../favicon.png" type="image/png" >
|
||||||
<title>Ebiten example - blocks</title>
|
<title>Ebiten example - blocks</title>
|
||||||
|
@ -1,6 +1,8 @@
|
|||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<script src="../scripts/force-https.js"></script>
|
<script src="../scripts/force-https.js"></script>
|
||||||
|
<meta property="og:image" itemprop="image primaryImageOfPage" content="https://hajimehoshi.github.io/ebiten/images/examples/font.png">
|
||||||
|
<meta name="description" content="Ebiten example - font">
|
||||||
<link rel="shortcut icon" href="../favicon.png" type="image/png" >
|
<link rel="shortcut icon" href="../favicon.png" type="image/png" >
|
||||||
<link rel="icon" href="../favicon.png" type="image/png" >
|
<link rel="icon" href="../favicon.png" type="image/png" >
|
||||||
<title>Ebiten example - font</title>
|
<title>Ebiten example - font</title>
|
||||||
|
@ -1,6 +1,8 @@
|
|||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<script src="../scripts/force-https.js"></script>
|
<script src="../scripts/force-https.js"></script>
|
||||||
|
<meta property="og:image" itemprop="image primaryImageOfPage" content="https://hajimehoshi.github.io/ebiten/images/examples/gamepad.png">
|
||||||
|
<meta name="description" content="Ebiten example - gamepad">
|
||||||
<link rel="shortcut icon" href="../favicon.png" type="image/png" >
|
<link rel="shortcut icon" href="../favicon.png" type="image/png" >
|
||||||
<link rel="icon" href="../favicon.png" type="image/png" >
|
<link rel="icon" href="../favicon.png" type="image/png" >
|
||||||
<title>Ebiten example - gamepad</title>
|
<title>Ebiten example - gamepad</title>
|
||||||
|
@ -1,6 +1,8 @@
|
|||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<script src="../scripts/force-https.js"></script>
|
<script src="../scripts/force-https.js"></script>
|
||||||
|
<meta property="og:image" itemprop="image primaryImageOfPage" content="https://hajimehoshi.github.io/ebiten/images/examples/hsv.png">
|
||||||
|
<meta name="description" content="Ebiten example - hsv">
|
||||||
<link rel="shortcut icon" href="../favicon.png" type="image/png" >
|
<link rel="shortcut icon" href="../favicon.png" type="image/png" >
|
||||||
<link rel="icon" href="../favicon.png" type="image/png" >
|
<link rel="icon" href="../favicon.png" type="image/png" >
|
||||||
<title>Ebiten example - hsv</title>
|
<title>Ebiten example - hsv</title>
|
||||||
|
@ -1,6 +1,8 @@
|
|||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<script src="../scripts/force-https.js"></script>
|
<script src="../scripts/force-https.js"></script>
|
||||||
|
<meta property="og:image" itemprop="image primaryImageOfPage" content="https://hajimehoshi.github.io/ebiten/images/examples/hue.png">
|
||||||
|
<meta name="description" content="Ebiten example - hue">
|
||||||
<link rel="shortcut icon" href="../favicon.png" type="image/png" >
|
<link rel="shortcut icon" href="../favicon.png" type="image/png" >
|
||||||
<link rel="icon" href="../favicon.png" type="image/png" >
|
<link rel="icon" href="../favicon.png" type="image/png" >
|
||||||
<title>Ebiten example - hue</title>
|
<title>Ebiten example - hue</title>
|
||||||
|
@ -1,6 +1,8 @@
|
|||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<script src="../scripts/force-https.js"></script>
|
<script src="../scripts/force-https.js"></script>
|
||||||
|
<meta property="og:image" itemprop="image primaryImageOfPage" content="https://hajimehoshi.github.io/ebiten/images/examples/infinitescroll.png">
|
||||||
|
<meta name="description" content="Ebiten example - infinitescroll">
|
||||||
<link rel="shortcut icon" href="../favicon.png" type="image/png" >
|
<link rel="shortcut icon" href="../favicon.png" type="image/png" >
|
||||||
<link rel="icon" href="../favicon.png" type="image/png" >
|
<link rel="icon" href="../favicon.png" type="image/png" >
|
||||||
<title>Ebiten example - infinitescroll</title>
|
<title>Ebiten example - infinitescroll</title>
|
||||||
|
@ -1,6 +1,8 @@
|
|||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<script src="../scripts/force-https.js"></script>
|
<script src="../scripts/force-https.js"></script>
|
||||||
|
<meta property="og:image" itemprop="image primaryImageOfPage" content="https://hajimehoshi.github.io/ebiten/images/examples/keyboard.png">
|
||||||
|
<meta name="description" content="Ebiten example - keyboard">
|
||||||
<link rel="shortcut icon" href="../favicon.png" type="image/png" >
|
<link rel="shortcut icon" href="../favicon.png" type="image/png" >
|
||||||
<link rel="icon" href="../favicon.png" type="image/png" >
|
<link rel="icon" href="../favicon.png" type="image/png" >
|
||||||
<title>Ebiten example - keyboard</title>
|
<title>Ebiten example - keyboard</title>
|
||||||
|
@ -1,6 +1,8 @@
|
|||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<script src="../scripts/force-https.js"></script>
|
<script src="../scripts/force-https.js"></script>
|
||||||
|
<meta property="og:image" itemprop="image primaryImageOfPage" content="https://hajimehoshi.github.io/ebiten/images/examples/life.png">
|
||||||
|
<meta name="description" content="Ebiten example - life">
|
||||||
<link rel="shortcut icon" href="../favicon.png" type="image/png" >
|
<link rel="shortcut icon" href="../favicon.png" type="image/png" >
|
||||||
<link rel="icon" href="../favicon.png" type="image/png" >
|
<link rel="icon" href="../favicon.png" type="image/png" >
|
||||||
<title>Ebiten example - life</title>
|
<title>Ebiten example - life</title>
|
||||||
|
@ -1,6 +1,8 @@
|
|||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<script src="../scripts/force-https.js"></script>
|
<script src="../scripts/force-https.js"></script>
|
||||||
|
<meta property="og:image" itemprop="image primaryImageOfPage" content="https://hajimehoshi.github.io/ebiten/images/examples/masking.png">
|
||||||
|
<meta name="description" content="Ebiten example - masking">
|
||||||
<link rel="shortcut icon" href="../favicon.png" type="image/png" >
|
<link rel="shortcut icon" href="../favicon.png" type="image/png" >
|
||||||
<link rel="icon" href="../favicon.png" type="image/png" >
|
<link rel="icon" href="../favicon.png" type="image/png" >
|
||||||
<title>Ebiten example - masking</title>
|
<title>Ebiten example - masking</title>
|
||||||
|
@ -1,6 +1,8 @@
|
|||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<script src="../scripts/force-https.js"></script>
|
<script src="../scripts/force-https.js"></script>
|
||||||
|
<meta property="og:image" itemprop="image primaryImageOfPage" content="https://hajimehoshi.github.io/ebiten/images/examples/mosaic.png">
|
||||||
|
<meta name="description" content="Ebiten example - mosaic">
|
||||||
<link rel="shortcut icon" href="../favicon.png" type="image/png" >
|
<link rel="shortcut icon" href="../favicon.png" type="image/png" >
|
||||||
<link rel="icon" href="../favicon.png" type="image/png" >
|
<link rel="icon" href="../favicon.png" type="image/png" >
|
||||||
<title>Ebiten example - mosaic</title>
|
<title>Ebiten example - mosaic</title>
|
||||||
|
@ -1,6 +1,8 @@
|
|||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<script src="../scripts/force-https.js"></script>
|
<script src="../scripts/force-https.js"></script>
|
||||||
|
<meta property="og:image" itemprop="image primaryImageOfPage" content="https://hajimehoshi.github.io/ebiten/images/examples/noise.png">
|
||||||
|
<meta name="description" content="Ebiten example - noise">
|
||||||
<link rel="shortcut icon" href="../favicon.png" type="image/png" >
|
<link rel="shortcut icon" href="../favicon.png" type="image/png" >
|
||||||
<link rel="icon" href="../favicon.png" type="image/png" >
|
<link rel="icon" href="../favicon.png" type="image/png" >
|
||||||
<title>Ebiten example - noise</title>
|
<title>Ebiten example - noise</title>
|
||||||
|
@ -1,6 +1,8 @@
|
|||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<script src="../scripts/force-https.js"></script>
|
<script src="../scripts/force-https.js"></script>
|
||||||
|
<meta property="og:image" itemprop="image primaryImageOfPage" content="https://hajimehoshi.github.io/ebiten/images/examples/paint.png">
|
||||||
|
<meta name="description" content="Ebiten example - paint">
|
||||||
<link rel="shortcut icon" href="../favicon.png" type="image/png" >
|
<link rel="shortcut icon" href="../favicon.png" type="image/png" >
|
||||||
<link rel="icon" href="../favicon.png" type="image/png" >
|
<link rel="icon" href="../favicon.png" type="image/png" >
|
||||||
<title>Ebiten example - paint</title>
|
<title>Ebiten example - paint</title>
|
||||||
|
@ -1,6 +1,8 @@
|
|||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<script src="../scripts/force-https.js"></script>
|
<script src="../scripts/force-https.js"></script>
|
||||||
|
<meta property="og:image" itemprop="image primaryImageOfPage" content="https://hajimehoshi.github.io/ebiten/images/examples/perspective.png">
|
||||||
|
<meta name="description" content="Ebiten example - perspective">
|
||||||
<link rel="shortcut icon" href="../favicon.png" type="image/png" >
|
<link rel="shortcut icon" href="../favicon.png" type="image/png" >
|
||||||
<link rel="icon" href="../favicon.png" type="image/png" >
|
<link rel="icon" href="../favicon.png" type="image/png" >
|
||||||
<title>Ebiten example - perspective</title>
|
<title>Ebiten example - perspective</title>
|
||||||
|
@ -1,6 +1,8 @@
|
|||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<script src="../scripts/force-https.js"></script>
|
<script src="../scripts/force-https.js"></script>
|
||||||
|
<meta property="og:image" itemprop="image primaryImageOfPage" content="https://hajimehoshi.github.io/ebiten/images/examples/piano.png">
|
||||||
|
<meta name="description" content="Ebiten example - piano">
|
||||||
<link rel="shortcut icon" href="../favicon.png" type="image/png" >
|
<link rel="shortcut icon" href="../favicon.png" type="image/png" >
|
||||||
<link rel="icon" href="../favicon.png" type="image/png" >
|
<link rel="icon" href="../favicon.png" type="image/png" >
|
||||||
<title>Ebiten example - piano</title>
|
<title>Ebiten example - piano</title>
|
||||||
|
@ -1,6 +1,8 @@
|
|||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<script src="../scripts/force-https.js"></script>
|
<script src="../scripts/force-https.js"></script>
|
||||||
|
<meta property="og:image" itemprop="image primaryImageOfPage" content="https://hajimehoshi.github.io/ebiten/images/examples/rotate.png">
|
||||||
|
<meta name="description" content="Ebiten example - rotate">
|
||||||
<link rel="shortcut icon" href="../favicon.png" type="image/png" >
|
<link rel="shortcut icon" href="../favicon.png" type="image/png" >
|
||||||
<link rel="icon" href="../favicon.png" type="image/png" >
|
<link rel="icon" href="../favicon.png" type="image/png" >
|
||||||
<title>Ebiten example - rotate</title>
|
<title>Ebiten example - rotate</title>
|
||||||
|
@ -1,6 +1,8 @@
|
|||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<script src="../scripts/force-https.js"></script>
|
<script src="../scripts/force-https.js"></script>
|
||||||
|
<meta property="og:image" itemprop="image primaryImageOfPage" content="https://hajimehoshi.github.io/ebiten/images/examples/sprites.png">
|
||||||
|
<meta name="description" content="Ebiten example - sprites">
|
||||||
<link rel="shortcut icon" href="../favicon.png" type="image/png" >
|
<link rel="shortcut icon" href="../favicon.png" type="image/png" >
|
||||||
<link rel="icon" href="../favicon.png" type="image/png" >
|
<link rel="icon" href="../favicon.png" type="image/png" >
|
||||||
<title>Ebiten example - sprites</title>
|
<title>Ebiten example - sprites</title>
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<script src="./scripts/force-https.js"></script>
|
<script src="./scripts/force-https.js"></script>
|
||||||
|
<meta property="og:image" itemprop="image primaryImageOfPage" content="https://hajimehoshi.github.io/ebiten/images/logo.svg">
|
||||||
<meta name="description" content="Ebiten - A simple 2D game library in Go">
|
<meta name="description" content="Ebiten - A simple 2D game library in Go">
|
||||||
<link rel="shortcut icon" href="./favicon.png" type="image/png">
|
<link rel="shortcut icon" href="./favicon.png" type="image/png">
|
||||||
<link rel="icon" href="./favicon.png" type="image/png">
|
<link rel="icon" href="./favicon.png" type="image/png">
|
||||||
|
Loading…
Reference in New Issue
Block a user