It looks like you're new here. If you want to get involved, click one of these buttons!
<meta name="apple-mobile-web-app-capable" content="yes"> <meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">Is there currently a way to include this somewhere in my .tws and have it auto-insert at build? Right now I'm just going into the built file and inserting it afterward, which is fine, but adds another step and might be forgotten.
Comments
The Twine 1 built process uses Text Substitution to replace Markers in the header.html file with information stored in the TWS and there are no relevant Makers in the head element.
Because the meta elements in the head section are generally parsed prior to the execution of Javascript techniques like $('head').append('META TAG') probably won't work for you like they would if you wanted to add script/style elements.
But someone else may know of a way, or maybe Safari on iOS delays the reading of those meta items to after the execution of the Javascript.
For posterity, what I'm doing is putting all my header stuff in a passage for easier editing: ...and loading that separately:
That being said currently the equivalent of tale.get("headAppend").text is:
:-)
Thank you !