Skip to content

Commit

Permalink
Merge pull request #335 from loricooperhdf/Add-PSE-to-content-in-this…
Browse files Browse the repository at this point in the history
…-repo-at-least

Add Google Programmable Search Engine to 1-Sidebar and 2-404 page
  • Loading branch information
lkurz authored Nov 1, 2024
2 parents 70c1834 + 1c6eabe commit 5396934
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 1 deletion.
8 changes: 8 additions & 0 deletions 404.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,12 @@ title: 404 - Content Not Found

# This page doesn't seem to exist

## Search all Support Content
<script async src="https://cse.google.com/cse.js?cx=f671574fa55cc44e6">
</script>
<div class="gcse-search"></div>

<br>

## Browse Documentation
You might find what you're looking for in [Documentation](/documentation/index.html).
3 changes: 2 additions & 1 deletion _layouts/default.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<!DOCTYPE html>
<!DOCTYPE html>
<html lang="{{ site.lang | default: "en-US" }}">
<head>
<link href="//maxcdn.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.min.css" rel="stylesheet">
Expand Down Expand Up @@ -33,6 +33,7 @@
<li><a href="https://www.hdfgroup.org/solutions/priority-support/">HDF Software Priority Support</a>
<li><a href="https://www.hdfgroup.org/solutions/consulting/">HDF Consulting</a></li>
<li><a href="{{site.url_docs}}/archive/support/index.html">Archive</a></li>
<li><a href="/search/index.html">Search</a></li>
</ul>
<br>
<!--
Expand Down
4 changes: 4 additions & 0 deletions results.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# Search Results
<script async src="https://cse.google.com/cse.js?cx=f671574fa55cc44e6">
</script>
<div class="gcse-searchresults-only"></div>
10 changes: 10 additions & 0 deletions search/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
---
permalink: /search.html
title: Search HDF Documentation
---

# Search

<script async src="https://cse.google.com/cse.js?cx=f671574fa55cc44e6">
</script>
<div class="gcse-search"></div>

0 comments on commit 5396934

Please sign in to comment.