Jump to content

Add AMP discovery tag to all pages

Recommended Posts

Site URL: https://www.bridgitsolutions.com/blog/increases-efficiency-simplify-resource-planning-processes

Hi,

We are building our own AMP pages and need to add AMP discovery tag to each page. 

<link rel="amphtml" href="https://www.example.com/url/to/amp/document.html">

Does SquareSpace have any sort of templating language that will allow me to inject the URL as a tag in <head></head>?

Essentially, for URL: https://www.bridgitsolutions.com/blog/increases-efficiency-simplify-resource-planning-processes I need to add the following code in head tag:

<link rel="amphtml" href="https://amp.bridgitsolutions.com/amp/blog-increases-efficiency-simplify-resource-planning-processes">

This code is unique to each page. 

Thoughts/suggestions on how to make this happen?

 

Link to comment
  • Replies 4
  • Views 573
  • Created
  • Last Reply
  • 8 months later...

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.