Skip to content

Commit 7a418ad

Browse files
committed
feat: add new shortcodes fo rlinks
since blogdown won't render the markdown links with shortcodes anymore
1 parent 71bc007 commit 7a418ad

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
<a
2+
href="{{ (print $.Page.Site.Params.apiUrl (cond (hasPrefix (.Get 0) "/") "" "/") (.Get 0) | absURL) }}"
3+
>{{ .Get 1 }}</a
4+
>
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
<a href="{{ relref . (.Get 0) }}">{{ .Get 1 }}</a>

0 commit comments

Comments
 (0)