Skip to content

Commit 8183d5a

Browse files
committed
Fix the extra '{' or '}'
Signed-off-by: ydFu <[email protected]>
1 parent fac477b commit 8183d5a

File tree

3 files changed

+6
-10
lines changed

3 files changed

+6
-10
lines changed

content/en/docs/contribute/style/hugo-shortcodes/index.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -194,12 +194,12 @@ The tab **name** in a `tabs` definition must be unique within a content page.
194194

195195
```go-text-template
196196
{{</* tabs name="tab_with_code" >}}
197-
{{{< tab name="Tab 1" codelang="bash" >}}
197+
{{< tab name="Tab 1" codelang="bash" >}}
198198
echo "This is tab 1."
199199
{{< /tab >}}
200200
{{< tab name="Tab 2" codelang="go" >}}
201201
println "This is tab 2."
202-
{{< /tab >}}}
202+
{{< /tab >}}
203203
{{< /tabs */>}}
204204
```
205205

@@ -306,7 +306,6 @@ Add the shortcode:
306306

307307
before the item, or just below the heading for the specific item.
308308

309-
310309
## Version strings
311310

312311
To generate a version string for inclusion in the documentation, you can choose from
@@ -378,4 +377,3 @@ Renders to:
378377
* Learn about [page content types](/docs/contribute/style/page-content-types/).
379378
* Learn about [opening a pull request](/docs/contribute/new-content/open-a-pr/).
380379
* Learn about [advanced contributing](/docs/contribute/advanced/).
381-

content/en/docs/tasks/tools/included/optional-kubectl-configs-bash-linux.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,12 +31,12 @@ Reload your shell and verify that bash-completion is correctly installed by typi
3131
You now need to ensure that the kubectl completion script gets sourced in all your shell sessions. There are two ways in which you can do this:
3232

3333
{{< tabs name="kubectl_bash_autocompletion" >}}
34-
{{{< tab name="User" codelang="bash" >}}
34+
{{< tab name="User" codelang="bash" >}}
3535
echo 'source <(kubectl completion bash)' >>~/.bashrc
3636
{{< /tab >}}
3737
{{< tab name="System" codelang="bash" >}}
3838
kubectl completion bash | sudo tee /etc/bash_completion.d/kubectl > /dev/null
39-
{{< /tab >}}}
39+
{{< /tab >}}
4040
{{< /tabs >}}
4141

4242
If you have an alias for kubectl, you can extend shell completion to work with that alias:

content/en/docs/tutorials/security/seccomp.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -68,10 +68,10 @@ into the cluster.
6868
{{< /tab >}}
6969
{{< tab name="violation.json" >}}
7070
{{< codenew file="pods/security/seccomp/profiles/violation.json" >}}
71-
{{< /tab >}}}
71+
{{< /tab >}}
7272
{{< tab name="fine-grained.json" >}}
7373
{{< codenew file="pods/security/seccomp/profiles/fine-grained.json" >}}
74-
{{< /tab >}}}
74+
{{< /tab >}}
7575
{{< /tabs >}}
7676

7777
Run these commands:
@@ -89,10 +89,8 @@ You should see three profiles listed at the end of the final step:
8989
audit.json fine-grained.json violation.json
9090
```
9191

92-
9392
## Create a local Kubernetes cluster with kind
9493

95-
9694
For simplicity, [kind](https://kind.sigs.k8s.io/) can be used to create a single
9795
node cluster with the seccomp profiles loaded. Kind runs Kubernetes in Docker,
9896
so each node of the cluster is a container. This allows for files

0 commit comments

Comments
 (0)