mirror of
https://github.com/FlipsideCrypto/convox.git
synced 2026-02-06 10:56:56 +00:00
wip
This commit is contained in:
parent
7e9118a424
commit
d87aec0a28
4
cmd/docs/templates/layout.tmpl
vendored
4
cmd/docs/templates/layout.tmpl
vendored
@ -137,7 +137,7 @@
|
||||
</script>
|
||||
{{ end }}
|
||||
|
||||
{{ with (env "SEGMENT_ID") }}
|
||||
{{ with (env "SEGMENT_TOKEN") }}
|
||||
<script>
|
||||
!function(){var analytics=window.analytics=window.analytics||[];if(!analytics.initialize)if(analytics.invoked)window.console&&console.error&&console.error("Segment snippet included twice.");else{analytics.invoked=!0;analytics.methods=["trackSubmit","trackClick","trackLink","trackForm","pageview","identify","reset","group","track","ready","alias","debug","page","once","off","on"];analytics.factory=function(t){return function(){var e=Array.prototype.slice.call(arguments);e.unshift(t);analytics.push(e);return analytics}};for(var t=0;t<analytics.methods.length;t++){var e=analytics.methods[t];analytics[e]=analytics.factory(e)}analytics.load=function(t,e){var n=document.createElement("script");n.type="text/javascript";n.async=!0;n.src="https://cdn.segment.com/analytics.js/v1/"+t+"/analytics.min.js";var a=document.getElementsByTagName("script")[0];a.parentNode.insertBefore(n,a);analytics._loadOptions=e};analytics.SNIPPET_VERSION="4.1.0";
|
||||
analytics.load("{{.}}");
|
||||
@ -200,4 +200,4 @@
|
||||
{{ template "toc-children" (params "Active" $.Active "Documents" $.Documents "Index" (inc $.Index) "Slug" .Slug) }}
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
|
||||
@ -6,6 +6,6 @@ services:
|
||||
- ALGOLIA_INDEX
|
||||
- ALGOLIA_KEY_ADMIN
|
||||
- ALGOLIA_KEY_SEARCH
|
||||
- SEGMENT_ID
|
||||
- SEGMENT_TOKEN
|
||||
health: /check
|
||||
port: https:3000
|
||||
|
||||
Loading…
Reference in New Issue
Block a user