mirror of
https://github.com/alex-shpak/hugo-book.git
synced 2024-11-28 22:20:17 +00:00
Let's enable markdown in the button title (#308)
Added " | markdownify" to the inner text of button.
This commit is contained in:
parent
cb57401039
commit
27c1791144
@ -8,5 +8,5 @@
|
||||
{{ $ref = relref $ . }}
|
||||
{{ end }}
|
||||
<a {{ with $ref }} href="{{.}}" {{ end }} {{ with $target }} target="{{.}}" {{ end }} class="book-btn{{ with .Get "class" }} {{ . }}{{ end }}">
|
||||
{{ $.Inner }}
|
||||
{{ $.Inner | markdownify }}
|
||||
</a>
|
||||
|
Loading…
Reference in New Issue
Block a user