Skip to content

Commit

Permalink
button hover and nav hover style added
Browse files Browse the repository at this point in the history
  • Loading branch information
ukthapa committed Nov 18, 2021
2 parents feaeb84 + 25d9486 commit 3582eb5
Show file tree
Hide file tree
Showing 4 changed files with 25 additions and 15 deletions.
3 changes: 2 additions & 1 deletion config.toml
Expand Up @@ -104,7 +104,8 @@ github_project_repo = "https://github.com/fission/fission"
privacy_policy = ""

# Google Custom Search Engine ID. Remove or comment out to disable search.
gcs_engine_id = "c632b781ffe71b197"
# gcs_engine_id = "c632b781ffe71b197"
algolia_docsearch = true

# current release branch - could be rc
release_branch = "master"
Expand Down
14 changes: 0 additions & 14 deletions layouts/partials/head.html
Expand Up @@ -51,18 +51,4 @@
{{ else }}
{{ template "_internal/google_analytics_async.html" . }}
{{ end }} -->
<!-- Google Tag Manager -->
<script>
(function (w, d, s, l, i) {
w[l] = w[l] || [];
w[l].push({ "gtm.start": new Date().getTime(), event: "gtm.js" });
var f = d.getElementsByTagName(s)[0],
j = d.createElement(s),
dl = l != "dataLayer" ? "&l=" + l : "";
j.async = true;
j.src = "https://www.googletagmanager.com/gtm.js?id=" + i + dl;
f.parentNode.insertBefore(j, f);
})(window, document, "script", "dataLayer", "GTM-NX83GPK");
</script>
<!-- End Google Tag Manager -->
{{ end }}
10 changes: 10 additions & 0 deletions layouts/partials/hooks/body-end.html
@@ -0,0 +1,10 @@
{{ with .Site.Params.algolia_docsearch }}
<script type="text/javascript" src="https://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.js"></script>
<script type="text/javascript"> docsearch({
apiKey: '546c199d400943e54815d691539af39d',
indexName: 'fission',
inputSelector: '.td-search-input',
debug: false // Set debug to true if you want to inspect the dropdown
});
</script>
{{ end }}
13 changes: 13 additions & 0 deletions layouts/partials/hooks/head-end.html
@@ -0,0 +1,13 @@
{{ if hugo.IsProduction }}
<!-- Google Tag Manager -->
<script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
})(window,document,'script','dataLayer','GTM-NX83GPK');</script>
<!-- End Google Tag Manager -->
{{ end }}
{{ with .Site.Params.algolia_docsearch }}
<!-- stylesheet for algolia docsearch -->
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.css" />
{{ end }}

0 comments on commit 3582eb5

Please sign in to comment.