File tree Expand file tree Collapse file tree 3 files changed +7
-6
lines changed
examples/animation/basic_tween Expand file tree Collapse file tree 3 files changed +7
-6
lines changed Original file line number Diff line number Diff line change 4
4
"brief" : " This example shows how to tween animate the position of a game object." ,
5
5
"category" : " animation" ,
6
6
"layout" : " example" ,
7
- "opengraph_image" : " animation/basic_tween/basic_tween.png" ,
7
+ "opengraph_image" : " https://www.defold.com/examples/ animation/basic_tween/basic_tween.png" ,
8
8
"path" : " animation/basic_tween" ,
9
9
"scripts" : " spaceship.script" ,
10
10
"tags" : " animation" ,
11
11
"thumbnail" : " basic_tween.png" ,
12
12
"title" : " Tween animation" ,
13
- "twitter_image" : " animation/basic_tween/basic_tween.png"
13
+ "twitter_image" : " https://www.defold.com/examples/ animation/basic_tween/basic_tween.png"
14
14
},
15
15
{
16
16
"author" : " Defold Foundation" ,
Original file line number Diff line number Diff line change @@ -3,13 +3,13 @@ author: Defold Foundation
3
3
brief : This example shows how to tween animate the position of a game object.
4
4
category : animation
5
5
layout : example
6
- opengraph_image : animation/basic_tween/basic_tween.png
6
+ opengraph_image : https://www.defold.com/examples/ animation/basic_tween/basic_tween.png
7
7
path : animation/basic_tween
8
8
scripts : spaceship.script
9
9
tags : animation
10
10
thumbnail : basic_tween.png
11
11
title : Tween animation
12
- twitter_image : animation/basic_tween/basic_tween.png
12
+ twitter_image : https://www.defold.com/examples/ animation/basic_tween/basic_tween.png
13
13
---
14
14
15
15
![ tween] ( basic_tween.png )
Original file line number Diff line number Diff line change @@ -779,8 +779,9 @@ def process_examples(download = False):
779
779
fm ["path" ] = "%s/%s" % (category , example )
780
780
fm ["layout" ] = "example"
781
781
if "thumbnail" in fm :
782
- fm ["opengraph_image" ] = fm ["path" ] + "/" + fm ["thumbnail" ]
783
- fm ["twitter_image" ] = fm ["path" ] + "/" + fm ["thumbnail" ]
782
+ image_path = "https://www.defold.com/examples/%s/%s" % (fm ["path" ], fm ["thumbnail" ])
783
+ fm ["opengraph_image" ] = image_path
784
+ fm ["twitter_image" ] = image_path
784
785
examplesindex .append (fm )
785
786
replace_frontmatter (md_file , fm )
786
787
You can’t perform that action at this time.
0 commit comments