[{"data":1,"prerenderedAt":23},["ShallowReactive",2],{"clay-page:\u002F3.x\u002Ffeatures\u002Fseo":3},{"html":4,"toc":5,"description":19,"hero":20,"list":21,"socialImage":22},"\u003Ch1 id=\"seo\">SEO\u003C\u002Fh1>\n\u003Cp>Clay prepares every page for search engines and link previews on its own. Each page is pre-rendered to complete HTML, so crawlers see the full content without running JavaScript.\u003C\u002Fp>\n\u003Ch2 id=\"what-every-page-gets\">\u003Ca class=\"heading-anchor\" href=\"#what-every-page-gets\" aria-label=\"Link to this section\" data-route=\"#what-every-page-gets\">#\u003C\u002Fa>What every page gets\u003C\u002Fh2>\n\u003Ctable>\n\u003Cthead>\n\u003Ctr>\n\u003Cth>Tag\u003C\u002Fth>\n\u003Cth>Content\u003C\u002Fth>\n\u003C\u002Ftr>\n\u003C\u002Fthead>\n\u003Ctbody>\u003Ctr>\n\u003Ctd>\u003Ccode>&lt;title&gt;\u003C\u002Fcode>\u003C\u002Ftd>\n\u003Ctd>Page title and site title: “Search · Clay”\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003Ctr>\n\u003Ctd>\u003Ccode>&lt;meta name=\"description\"&gt;\u003C\u002Fcode>\u003C\u002Ftd>\n\u003Ctd>The page’s description, see below\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003Ctr>\n\u003Ctd>\u003Ccode>og:title\u003C\u002Fcode>, \u003Ccode>og:description\u003C\u002Fcode>, \u003Ccode>og:type\u003C\u002Fcode>, \u003Ccode>og:site_name\u003C\u002Fcode>\u003C\u002Ftd>\n\u003Ctd>The same for link previews in chats and social networks\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003Ctr>\n\u003Ctd>\u003Ccode>&lt;html lang&gt;\u003C\u002Fcode>\u003C\u002Ftd>\n\u003Ctd>The language of the page\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003Ctr>\n\u003Ctd>\u003Ccode>article:modified_time\u003C\u002Fcode>\u003C\u002Ftd>\n\u003Ctd>The date of the last change, from git\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003C\u002Ftbody>\u003C\u002Ftable>\n\u003Cp>With \u003Ccode>siteURL\u003C\u002Fcode> set, pages also get:\u003C\u002Fp>\n\u003Ctable>\n\u003Cthead>\n\u003Ctr>\n\u003Cth>Tag\u003C\u002Fth>\n\u003Cth>Content\u003C\u002Fth>\n\u003C\u002Ftr>\n\u003C\u002Fthead>\n\u003Ctbody>\u003Ctr>\n\u003Ctd>\u003Ccode>&lt;link rel=\"canonical\"&gt;\u003C\u002Fcode>\u003C\u002Ftd>\n\u003Ctd>The page’s full address, so search engines know which URL to show\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003Ctr>\n\u003Ctd>\u003Ccode>og:url\u003C\u002Fcode>\u003C\u002Ftd>\n\u003Ctd>The same, for link previews\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003Ctr>\n\u003Ctd>Breadcrumbs (JSON-LD)\u003C\u002Ftd>\n\u003Ctd>Where the page sits, shown in search results as “Clay › Features › SEO”\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003Ctr>\n\u003Ctd>\u003Ccode>hreflang\u003C\u002Fcode> links\u003C\u002Ftd>\n\u003Ctd>The page’s \u003Ca href=\"\u002Fclay-example-repo\u002F3.x\u002Fversions-and-languages\u002Ftranslations\" data-route=\"\u002F3.x\u002Fversions-and-languages\u002Ftranslations\">translations\u003C\u002Fa>\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003C\u002Ftbody>\u003C\u002Ftable>\n\u003Ch2 id=\"descriptions\">\u003Ca class=\"heading-anchor\" href=\"#descriptions\" aria-label=\"Link to this section\" data-route=\"#descriptions\">#\u003C\u002Fa>Descriptions\u003C\u002Fh2>\n\u003Cp>The description is the short text search engines show under a result. Clay takes the first of:\u003C\u002Fp>\n\u003Col>\n\u003Cli>\u003Ccode>description\u003C\u002Fcode> in the page’s \u003Ca href=\"\u002Fclay-example-repo\u002F3.x\u002Fwriting\u002Fpages#front-matter\" data-route=\"\u002F3.x\u002Fwriting\u002Fpages#front-matter\">front matter\u003C\u002Fa>,\u003C\u002Fli>\n\u003Cli>the first paragraph of the page,\u003C\u002Fli>\n\u003Cli>the description of the start page, \u003Ccode>docs\u002Findex.md\u003C\u002Fcode>.\u003C\u002Fli>\n\u003C\u002Fol>\n\u003Cp>It is cut to 160 characters at a word boundary. A good description says in one or two sentences what the page answers:\u003C\u002Fp>\n\u003Cdiv class=\"code-block\">\u003Cpre class=\"shiki shiki-themes light-plus dark-plus\" style=\"--shiki-light:#000000;--shiki-dark:#D4D4D4;--shiki-light-bg:#FFFFFF;--shiki-dark-bg:#1E1E1E\" tabindex=\"0\">\u003Ccode>\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-light:#000000;--shiki-dark:#D4D4D4\">---\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-light:#800000;--shiki-dark:#569CD6\">description\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#000000FF;--shiki-dark:#D4D4D4\">: \u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#0000FF;--shiki-dark:#CE9178\">Deploy a Clay site to GitHub Pages with a workflow that builds on every push.\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-light:#000000;--shiki-dark:#D4D4D4\">---\u003C\u002Fspan>\u003C\u002Fspan>\u003C\u002Fcode>\u003C\u002Fpre>\u003Cbutton type=\"button\" class=\"copy-code btn btn-sm btn-square btn-ghost\" title=\"Copy code\" aria-label=\"Copy code\">\u003Ci class=\"fa-solid fa-copy\">\u003C\u002Fi>\u003C\u002Fbutton>\u003C\u002Fdiv>\n\u003Ch2 id=\"sitemap-and-robotstxt\">\u003Ca class=\"heading-anchor\" href=\"#sitemap-and-robotstxt\" aria-label=\"Link to this section\" data-route=\"#sitemap-and-robotstxt\">#\u003C\u002Fa>Sitemap and robots.txt\u003C\u002Fh2>\n\u003Cp>With \u003Ccode>siteURL\u003C\u002Fcode>, Clay writes \u003Ccode>sitemap.xml\u003C\u002Fcode> with every page and the date of its last change, and \u003Ccode>robots.txt\u003C\u002Fcode> pointing to it.\u003C\u002Fp>\n\u003Cdiv class=\"code-block\">\u003Cpre class=\"shiki shiki-themes light-plus dark-plus\" style=\"--shiki-light:#000000;--shiki-dark:#D4D4D4;--shiki-light-bg:#FFFFFF;--shiki-dark-bg:#1E1E1E\" tabindex=\"0\">\u003Ccode>\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-light:#800000;--shiki-dark:#569CD6\">siteURL\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#000000;--shiki-dark:#D4D4D4\">: \u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#A31515;--shiki-dark:#CE9178\">\"https:\u002F\u002Fmy-org.github.io\"\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-light:#800000;--shiki-dark:#569CD6\">baseURL\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#000000;--shiki-dark:#D4D4D4\">: \u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#A31515;--shiki-dark:#CE9178\">\"\u002Fmy-project\u002F\"\u003C\u002Fspan>\u003C\u002Fspan>\u003C\u002Fcode>\u003C\u002Fpre>\u003Cbutton type=\"button\" class=\"copy-code btn btn-sm btn-square btn-ghost\" title=\"Copy code\" aria-label=\"Copy code\">\u003Ci class=\"fa-solid fa-copy\">\u003C\u002Fi>\u003C\u002Fbutton>\u003C\u002Fdiv>\n\u003Cp>The sitemap is then at \u003Ccode>https:\u002F\u002Fmy-org.github.io\u002Fmy-project\u002Fsitemap.xml\u003C\u002Fcode>. Submit it in \u003Ca href=\"https:\u002F\u002Fsearch.google.com\u002Fsearch-console\" target=\"_blank\" rel=\"noopener noreferrer\">\u003Ci class=\"fa-solid fa-arrow-up-right-from-square clay-external-icon\" aria-hidden=\"true\">\u003C\u002Fi>Google Search Console\u003C\u002Fa> and \u003Ca href=\"https:\u002F\u002Fwww.bing.com\u002Fwebmasters\" target=\"_blank\" rel=\"noopener noreferrer\">\u003Ci class=\"fa-solid fa-arrow-up-right-from-square clay-external-icon\" aria-hidden=\"true\">\u003C\u002Fi>Bing Webmaster Tools\u003C\u002Fa>.\u003C\u002Fp>\n\u003Cdiv class=\"markdown-alert markdown-alert-note\">\n\u003Cp class=\"markdown-alert-title text-base-content\">\u003Ci class=\"fa-solid fa-sticky-note mr-2\">\u003C\u002Fi>Note\u003C\u002Fp>\n\u003Cp>Search engines only read \u003Ccode>robots.txt\u003C\u002Fcode> at the root of a domain. When your site lives under a path, its \u003Ccode>robots.txt\u003C\u002Fcode> is informational; submit the sitemap in the tools above instead.\u003C\u002Fp>\n\u003C\u002Fdiv>\n\u003Ch2 id=\"versions-and-translations\">\u003Ca class=\"heading-anchor\" href=\"#versions-and-translations\" aria-label=\"Link to this section\" data-route=\"#versions-and-translations\">#\u003C\u002Fa>Versions and translations\u003C\u002Fh2>\n\u003Cul>\n\u003Cli>Pages of \u003Ca href=\"\u002Fclay-example-repo\u002F3.x\u002Fversions-and-languages\u002Fversions\" data-route=\"\u002F3.x\u002Fversions-and-languages\u002Fversions\">older versions\u003C\u002Fa> are regular pages with their own URLs and sitemap entries.\u003C\u002Fli>\n\u003Cli>A page that is not translated yet shows the original text in the other language. Its canonical link points to the original, and it is left out of the sitemap, so search engines do not see duplicate content.\u003C\u002Fli>\n\u003C\u002Ful>\n",[6,10,13,16],{"id":7,"text":8,"level":9},"what-every-page-gets","What every page gets",2,{"id":11,"text":12,"level":9},"descriptions","Descriptions",{"id":14,"text":15,"level":9},"sitemap-and-robotstxt","Sitemap and robots.txt",{"id":17,"text":18,"level":9},"versions-and-translations","Versions and translations","Titles, descriptions, canonical URLs, Open Graph tags, structured data and a sitemap that Clay creates for search engines.",null,false,"\u002F_clay\u002Fsocial\u002F3.x\u002Ffeatures\u002Fseo.png",1792666368976]