Merge pull request #29205 from sftim/20210803_improve_katacoda_button
Improve Katacoda buttonpull/29323/head
commit
4097fca5e7
|
@ -1,3 +1,6 @@
|
|||
{{ if .HasShortcode "kat-button" }}
|
||||
<div id="katacoda-environment" data-katacoda-ondemand="true" data-katacoda-port="30000" data-katacoda-env="minikube" data-katacoda-command="start.sh" data-katacoda-ui="panel"></div>
|
||||
{{ end }}
|
||||
{{ with .Site.Params.algolia_docsearch }}
|
||||
<!-- scripts for algolia docsearch -->
|
||||
{{ end }}
|
||||
|
|
|
@ -1,3 +1,2 @@
|
|||
<div id="my-panel" data-katacoda-ondemand="true" data-katacoda-port="30000" data-katacoda-env="minikube" data-katacoda-command="start.sh" data-katacoda-ui="panel"></div>
|
||||
<script src="https://katacoda.com/embed.js"></script>
|
||||
<script defer src="https://katacoda.com/embed.js"></script>
|
||||
<button class="button" onclick="window.katacoda.init(); ">Launch Terminal</button>
|
||||
|
|
Loading…
Reference in New Issue