All I want to do is to add a custom font from TypeKit into my Magento 2 website.
Previously I just used to find /app/design/frontend/XXX/XXX/page/head.phtml and edit that. Simple.
With Magento 2 it seems to be hugely complicated. I keep finding articles like this. Do I really need to create an entire Module just to add 2 lines of basic HTML to the head of a document?
Surely there must be an easier way?
I found this similar questionI found this similar question, but I dont get the answer. Where do I create a layout file in my theme? Or is it suggesting I create a whole seperate Module again?
I also found this questionI also found this question, and it looks insane. Am I right in thinking that they are editing 3 seperate files, jsut to add a JS file into head?
Surely this cant be right? Isn't there a head.phtml
file I can just edit?
Can someone break this down for me, assume I am an idiot, and explain how I can easily just add 2 lines of TypeKit code to the Head. Many thanks.