mirror of
https://github.com/qdrant/landing_page.git
synced 2026-09-30 00:18:32 +02:00
WIP key management (#1050)
* key management * noKey * segment-write-key => segmentWriteKey * revert script * segmentWriteKey => SEGMENT_WRITE_KEY * whitespace * segment write key in install-and-build.sh * remove SEGMENT_WRITE_KEY from config.toml * sanity check * update-config.sh * remove temp file
This commit is contained in:
@@ -16,7 +16,6 @@
|
||||
<meta name="msapplication-TileColor" content="#2b5797" />
|
||||
<meta name="msapplication-config" content="/favicon/browserconfig.xml" />
|
||||
<meta name="theme-color" content="#ffffff" />
|
||||
<meta name="segment" content="{{ .Site.Params.segmentWriteKey }}" />
|
||||
|
||||
{{ if (eq .Params.type "external-link") }}
|
||||
<meta http-equiv="refresh" content="0; url={{ .Params.external_url }}" />
|
||||
|
||||
@@ -35,3 +35,9 @@
|
||||
{{ $documentationJs := resources.Get "/js/documentation.js" | js.Build | minify | resources.Fingerprint "sha512" }}
|
||||
<script src="{{ $documentationJs.RelPermalink }}"></script>
|
||||
{{ end }}
|
||||
|
||||
<!--Segment-->
|
||||
{{ if .Site.Params.segmentWriteKey }}
|
||||
{{ $segmentJs := resources.Get "js/segment-setup.js" | js.Build (dict "params" (dict "segmentWriteKey" .Site.Params.segmentWriteKey)) | minify | resources.Fingerprint "sha512" }}
|
||||
<script src="{{ $segmentJs.RelPermalink }}"></script>
|
||||
{{ end }}
|
||||
|
||||
Reference in New Issue
Block a user