We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ef991ab commit d19debaCopy full SHA for d19deba
2 files changed
_config.yml
@@ -5,4 +5,7 @@ future: false
5
remote_theme: pages-themes/midnight@v0.2.0
6
plugins:
7
- jekyll-remote-theme # add this line to the plugins list if you already have one
8
-- jekyll-feed
+- jekyll-feed
9
+
10
+# Google Custom Search
11
+google_cse_id: "2790ac76adc02472b" # Replace with actual ID
search.html
@@ -0,0 +1,16 @@
1
+---
2
+title: "Search"
3
+layout: default
4
+permalink: /search/
+sitemap: false
+<article>
+ <header><h1>Search</h1></header>
+ <div class="gcse-search"></div>
12
13
+ {% if site.google_cse_id %}
14
+ <script async src="https://cse.google.com/cse.js?cx={{ site.google_cse_id }}"></script>
15
+ {% endif %}
16
+</article>
0 commit comments