27c1791144
Added " | markdownify" to the inner text of button.
12 lines
354 B
HTML
12 lines
354 B
HTML
{{ $ref := "" }}
|
|
{{ $target := "" }}
|
|
{{ with .Get "href" }}
|
|
{{ $ref = . }}
|
|
{{ $target = "_blank" }}
|
|
{{ end }}
|
|
{{ with .Get "relref" }}
|
|
{{ $ref = relref $ . }}
|
|
{{ end }}
|
|
<a {{ with $ref }} href="{{.}}" {{ end }} {{ with $target }} target="{{.}}" {{ end }} class="book-btn{{ with .Get "class" }} {{ . }}{{ end }}">
|
|
{{ $.Inner | markdownify }}
|
|
</a>
|