mirror of https://github.com/dapr/docs.git
Add regex to button
This commit is contained in:
parent
eace5730f1
commit
08b8bf0c15
|
@ -4,4 +4,4 @@
|
|||
|
||||
{{- if $page -}}{{- $link = ref . $page -}}{{- end -}}
|
||||
|
||||
<a class="btn btn-{{ $color }}" href="{{ $link }}" role="button">{{ .Inner }}</a>
|
||||
<a class="btn btn-{{ $color }}" href="{{ $link }}" role="button">{{ .Inner | replaceRE "(.*)\n" "$1" }}</a>
|
||||
|
|
Loading…
Reference in New Issue