website.html 375 B

1234567891011121314
  1. <script type="application/ld+json">
  2. {
  3. "@context": "https://schema.org",
  4. "@type": "WebSite",
  5. {{- if site.Params.features.search.provider }}
  6. "potentialAction": {
  7. "@type": "SearchAction",
  8. "target": {{ printf "%s?q={search_term_string}" site.BaseURL }},
  9. "query-input": "required name=search_term_string"
  10. },
  11. {{end -}}
  12. "url": {{site.BaseURL}}
  13. }
  14. </script>