Skip to content

Commit 5396934

Browse files
authored
Merge pull request #335 from loricooperhdf/Add-PSE-to-content-in-this-repo-at-least
Add Google Programmable Search Engine to 1-Sidebar and 2-404 page
2 parents 70c1834 + 1c6eabe commit 5396934

File tree

4 files changed

+24
-1
lines changed

4 files changed

+24
-1
lines changed

404.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,12 @@ title: 404 - Content Not Found
55

66
# This page doesn't seem to exist
77

8+
## Search all Support Content
9+
<script async src="https://cse.google.com/cse.js?cx=f671574fa55cc44e6">
10+
</script>
11+
<div class="gcse-search"></div>
12+
13+
<br>
14+
15+
## Browse Documentation
816
You might find what you're looking for in [Documentation](/documentation/index.html).

_layouts/default.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<!DOCTYPE html>
1+
<!DOCTYPE html>
22
<html lang="{{ site.lang | default: "en-US" }}">
33
<head>
44
<link href="//maxcdn.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.min.css" rel="stylesheet">
@@ -33,6 +33,7 @@
3333
<li><a href="https://www.hdfgroup.org/solutions/priority-support/">HDF Software Priority Support</a>
3434
<li><a href="https://www.hdfgroup.org/solutions/consulting/">HDF Consulting</a></li>
3535
<li><a href="{{site.url_docs}}/archive/support/index.html">Archive</a></li>
36+
<li><a href="/search/index.html">Search</a></li>
3637
</ul>
3738
<br>
3839
<!--

results.html

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
# Search Results
2+
<script async src="https://cse.google.com/cse.js?cx=f671574fa55cc44e6">
3+
</script>
4+
<div class="gcse-searchresults-only"></div>

search/index.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
---
2+
permalink: /search.html
3+
title: Search HDF Documentation
4+
---
5+
6+
# Search
7+
8+
<script async src="https://cse.google.com/cse.js?cx=f671574fa55cc44e6">
9+
</script>
10+
<div class="gcse-search"></div>

0 commit comments

Comments
 (0)