Skip to content

Commit

Permalink
--
Browse files Browse the repository at this point in the history
  • Loading branch information
SamirPaulb committed Apr 7, 2024
1 parent 3beb6d0 commit 1cb46f9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 27 deletions.
4 changes: 0 additions & 4 deletions content/search.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,3 @@ title: "Search"
placeholder: Search this website with full text fuzzy search ...
layout: "search"
---

<script defer loading="lazy" async src="https://cse.google.com/cse.js?cx=4269bf6b77dbf4cae">
</script>
<!-- <div class="gcse-search"></div> -->
25 changes: 2 additions & 23 deletions layouts/partials/extend_head.html
Original file line number Diff line number Diff line change
@@ -1,24 +1,3 @@
{{ if .IsHome }}
<script type="application/ld+json">
{
"@context" : "https://schema.org",
"@type" : "WebSite",
"name" : "Samir Paul",
"alternateName" : "Samir's Blog",
"url" : "https://samirpaul.in/",
"potentialAction": {
"@type": "SearchAction",
"target": {
"@type": "EntryPoint",
"urlTemplate": "https://samirpaul.in/search/#gsc.q={search_term_string}"
},
"query-input": "required name=search_term_string"
}
}
</script>
{{ end }}


<link rel="manifest" href="/manifest.json">
<link rel="sitemap" type="application/xml" title="Sitemap" href="/sitemap.xml">
<link rel="alternate" type="application/rss+xml" title="RSS" href="/index.xml" />
Expand Down Expand Up @@ -59,8 +38,8 @@
<link href="https://www.googletagservices.com" rel="preconnect"/>
<link href="https://www.googletagservices.com" rel="dns-prefetch"/>

<link href="https://cse.google.com" rel="preconnect"/>
<link href="https://cse.google.com" rel="dns-prefetch"/>
<!-- <link href="https://cse.google.com" rel="preconnect"/>
<link href="https://cse.google.com" rel="dns-prefetch"/> -->

<link href="https://pagead2.googlesyndication.com" rel="preconnect"/>
<link href="https://pagead2.googlesyndication.com" rel="dns-prefetch"/>
Expand Down

0 comments on commit 1cb46f9

Please sign in to comment.