diff options
author | Hauke Stieler <mail@hauke-stieler.de> | 2021-08-08 23:44:38 +0300 |
---|---|---|
committer | Hauke Stieler <mail@hauke-stieler.de> | 2021-08-08 23:44:38 +0300 |
commit | 1b5a76d016f6d72336b416c026bb9c7eb9e9a6de (patch) | |
tree | a8b466227d5138ecb5951a69a0f6f37afa8f073c | |
parent | f6ecef75719255078b1f02eed0ff6331ec70020c (diff) |
Render markdown in link text
-rw-r--r-- | layouts/_default/_markup/render-link.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/_default/_markup/render-link.html b/layouts/_default/_markup/render-link.html index a9457c0..33f9c91 100644 --- a/layouts/_default/_markup/render-link.html +++ b/layouts/_default/_markup/render-link.html @@ -1 +1 @@ -<a href="{{ .Destination | safeURL }}"{{ with .Title}} title="{{ . }}"{{ end }}{{ if strings.HasPrefix .Destination "http" }} target="_blank"{{ end }}>{{ .Text }}</a> +<a href="{{ .Destination | safeURL }}"{{ with .Title}} title="{{ . }}"{{ end }}{{ if strings.HasPrefix .Destination "http" }} target="_blank"{{ end }}>{{ .Text | .Page.RenderString }}</a> |