mirror of https://github.com/Hilbis/Hilbish
docs(website): fix warning shortcode syntax
parent
9757b1d16e
commit
4ebf5a757c
|
@ -14,7 +14,7 @@ To exit, you can either run the `exit` command or hit Ctrl+D.
|
|||
There are a few ways to make Hilbish your default shell. A simple way is
|
||||
to make it your user/login shell.
|
||||
|
||||
{{< warning "It is not recommended to set Hilbish as your login shell. That is expected to be a
|
||||
{{< warning msg="It is not recommended to set Hilbish as your login shell. That is expected to be a
|
||||
POSIX compliant shell, which Hilbish is not. At most, there will just be a
|
||||
few variables missing in your environment" >}}
|
||||
|
||||
|
|
|
@ -1,6 +1,10 @@
|
|||
<div class="alert alert-warning d-flex align-items-center" role="alert">
|
||||
<svg class="bi flex-shrink-0 me-2" width="24" height="24" role="img" aria-label="Warning:"><use xlink:href="#exclamation-triangle-fill"/></svg>
|
||||
<div>
|
||||
{{ index .Params 0 }}
|
||||
{{ if .IsNamedParams }}
|
||||
{{ .Get "msg" }}
|
||||
{{ else }}
|
||||
{{ .Get 0 }}
|
||||
{{ end }}
|
||||
</div>
|
||||
</div>
|
||||
|
|
Loading…
Reference in New Issue