Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Google Programmable Search Engine to 1-Sidebar and 2-404 page #335

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Search looks good.
Not sure why "This page doesn’t seem to exist" renders this way in Codespace and VSCode. But it looks fine when the html is viewed from SUPPORT

image

<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>