Body: <p>What is the best way to use Json-LD schema in the templates for Craft 3? I would like to dynamically load parts of the info. I know about the SEOmatic plugin but looking for a way to do it on my own. </p>
  
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2018-09-03T16:06:34.120Z
Comments.Text: Can you elaborate on what it is you're trying to do? You just want to generate your own schema.org JSON LD via Twig?
Comments.UserDisplayName: andrew.welch
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2018-09-05T00:22:27.730Z
Comments.Text: Yes, basically. I was wondering if there is a way to load json-ld in the templates. So if I had in the template for a blog article I could put in script tags that had json-ld in it. Then fill out the stuff that would be the same and load the rest dynamically.
Comments.UserDisplayName: Mforeman
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2018-09-05T21:02:56.260Z
Comments.Text: I don't see anything preventing you from doing this in Twig?
Comments.UserDisplayName: andrew.welch
Tags: <templating><plugins><json><seo><plugin-seomatic>
Title: JsonLD & Schema
ThreadText: # JsonLD & Schema
  
  (Asked by: username_0 on 2018-09-03)
  
  What is the best way to use Json-LD schema in the templates for Craft 3? I would like to dynamically load parts of the info. I know about the SEOmatic plugin but looking for a way to do it on my own.
  
  **Tags:** templating, plugins, json, seo, plugin-seomatic
  
  > **Comments:**
  > **username_1**: Can you elaborate on what it is you're trying to do? You just want to generate your own schema.org JSON LD via Twig?  
  > **username_0**: Yes, basically. I was wondering if there is a way to load json-ld in the templates. So if I had in the template for a blog article I could put in script tags that had json-ld in it. Then fill out the stuff that would be the same and load the rest dynamically.  
  > **username_1**: I don't see anything preventing you from doing this in Twig?  
  
  ---
  
  ## 0 answers
  
  