Explorer

how can I add schema markup to source code?

Hi, 

If I open theme - edit HTML / CSS source code I don't see where I can add the highlighted snippets  from Google Structured Data Markup Helper. All I whant is to add schema markup to my web page and it looks like I am not allowed to see all source code.

 

2 REPLIES
Community Manager

Re: how can I add schema markup to source code?

Click on one of the page templates on the left while editing a theme (header, no header, etc). Those contain the basic HTML templates used by the pages of your site. You can also modify the HTML of ther areas by expanding the Partials section and looking at partials.

- Adam
Senior Community Specialist
Explorer

Re: how can I add schema markup to source code?

Thanks for your answer. I found body Smiley Happy
But there is any way to edit templates inside html?

I have

<div class="logo"> {logo} </div>  

I think this {logo} is a placeholder for others elements like <a>,  <span>  etc.
and the entire piece of code should look like this:

 

<div class="logo">
 <span class="wsite-logo">
  <a href="/">
    <span >LECTII DE CANTO</span>
  </a>
 </span>
</div>

and I need to insert some google markup between html tags, in this case: itemprop="name" 

and my code should look like this:

 

<div class="logo">
 <span class="wsite-logo">
  <a href="/">
   <span itemprop="name" id="wsite-title">LECTII DE CANTO</span>
  </a>
 </span>
</div>