diff options
Diffstat (limited to 'src/components/templates/Search.astro')
-rw-r--r-- | src/components/templates/Search.astro | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/src/components/templates/Search.astro b/src/components/templates/Search.astro index 5245643..ae80d32 100644 --- a/src/components/templates/Search.astro +++ b/src/components/templates/Search.astro @@ -2,8 +2,16 @@ const { site } = Astro; --- -<search> - <link rel="dns-prefetch" href="https://www.google.com/search"> +<search + itemprop="potentialAction" + itemscope + itemtype="https://schema.org/SearchAction" +> + <link + rel="dns-prefetch" + href="https://www.google.com/search" + itemprop="target" + > <form action="https://www.google.com/search" target="_blank" @@ -13,7 +21,7 @@ const { site } = Astro; name="search" > <details> - <summary>Pesquisar no website</summary> + <summary itemprop="description">Pesquisar no website</summary> <div class="details"> <p> <label>Barra de pesquisa <input @@ -25,6 +33,7 @@ const { site } = Astro; title={`"site:${site} " é usado para que os resultados da pesquisa fiquem restritos a este website`} pattern={`site:${site} .+`} size={`site:${site} .+`.length} + itemprop="query" /></label> </p> <p class="mute"> |