add to index.html file?

For developers using the Construct 2 Javascript SDK

Post » Sun Jul 13, 2014 7:41 pm

I would like to add some options to the header in the index.html file. I know I can append the header with jquery and javascript but that fires too late. I'm trying to add some Facebook meta data. Facebook scrapes just the header for this data so by the time javascript kicks in Facebook has already finished.

Outside of manually editing the index.html file every time I export how can I add items to the header?

Example of what I would like to add to the header of the index.html file.

<meta property="og:title" content="Hello World">
www.h1k3.tech

We are here for you!
B
87
S
22
G
16
Posts: 715
Reputation: 16,765

Post » Sun Jul 13, 2014 7:44 pm

I believe you have to edit the export.html in the project directoy
Image
B
75
S
23
G
3
Posts: 673
Reputation: 9,273


Return to Javascript SDK

Who is online

Users browsing this forum: No registered users and 0 guests