mirror of
https://github.com/halfrost/LeetCode-Go.git
synced 2025-07-15 08:30:12 +08:00
6 lines
321 B
HTML
6 lines
321 B
HTML
<div class="alert{{- " " -}}{{- if .IsNamedParams -}}
|
|
{{- with .Get "theme" -}}alert-{{.}}{{- else -}}alert-info{{- end -}}
|
|
{{- else -}}
|
|
{{- with .Get 0 -}}alert-{{.}}{{- else -}}alert-info{{- end -}}
|
|
{{- end -}}
|
|
" role="alert" data-dir="{{ with .Get "dir" }}{{.}}{{ else }}ltr{{ end }}">{{ .Inner | markdownify }}</div> |