Meta tag in head
@kapa.ai How would I add a meta tag to the head of the document in the web-app?
1 Reply
Hi @cmilazzo. I'm kapa.ai, your friendly support bot. I will try to answer your question by searching through the knowledge base. :wave:
----------------------
You can add a meta tag to the head of the document in your Wasp web app by using the
head
field in the app
declaration. The head
field accepts a list of strings, each representing a line of HTML to be included in the <head>
of your HTML document.
Here is an example of how you can add a meta tag:
In this example, a viewport meta tag is added to the head of the document. You can replace the content of the string with any meta tag you wish to include.
For more details, you can check out the Wasp documentation on customizing the app (https://wasp-lang.dev/docs/project/customizing-app).
----------------------
Note: you can ask me a follow up question by @ mentioning me again :speech_balloon:
----------------------
Sorry @cmilazzo, I seem to be having a bit of trouble. Don't worry though, I've pinged my support and they will try to fix me up! :technologist:
Perhaps try again in 15mins?