After a couple of standard meta tags are set, there is a reference to include partials/metadata.html.twig. This file is located in the systems/templates/partials folder and contains a loop that loops over the page’s metadata.
I’ve looked in the Quark theme, and the “Clean” theme I just created, but there is no “metadata.html.twig” file anywhere to be found. In fact, I’m even having trouble finding a copy online.
Seriously? What about my entire post don’t you understand?
That file isn’t there. That’s the problem. I’ve looked in all the themes I have.
It’s not even in the Quark repo, have a look for yourself:
And I even went to my /user/ directory (I’m using the Grav Docker container) and ran a search but it’s not in there, either. Not even a /system/ directory in there.
And I even went to my /user/ directory (I’m using the Grav Docker container) and ran a search but it’s not in there, either. Not even a /system/ directory in there.
Seriously?
Try the /system/ directory inside the root of your Grav installation…
1…2…3…4… Ah, there’s the moment…
You’re excused… There is a typo in the docs it should say /system/templates/partials instead of systems/templates/partials
/system/ also contains default configs, default blueprints, etc. That’s the first place where Grav looks for resources and then overrides these resources with resources found in /user/ (eg. /user/configs/, /user/themes/quark/templates/partials/).
Wow. What a childish, rude, and condescending “welcome” to these forums.
Don’t worry, I’d already found the answer on my own:
The actual answer is that in the Docker, the files are not exposed to the host filesystem, only /config/ is. Therefore, /system/ was not present where I was looking (and because I’m new to Grav). Which means /system/ was in the actual Docker container.
You’re the one who needs to be excused, I’m afraid. I was just looking for help, not an insult.
@osagrav, I’m afraid we have a different sense of humor… It was certainly not meant to be childish, rude and condescending. It also wasn’t meant to be an insult… If it would, I would not have added smileys and winks to mark the lightness of my remarks.
Sorry to hear you’ve interpreted it that way. Maybe I should have taken your fist reply as an early warning of misinterpretation.
It was the childish, rude, and condescending words and tone that you used, not the way they were taken.
A lot can be lost in translation and intention when writing text.
It’s okay, though, I forgive you.
Yes, I’m also glad I found the file. Now I see what it is doing.
I’m so glad I read to the end of this thread and it was just a misunderstanding.
I have also wasted time wondering the same thing. The answer is indeed clear in the docs but it can be easy to overlook because of an oversight like the file not existing on your filesystem.