File tree Expand file tree Collapse file tree 2 files changed +13
-4
lines changed
Expand file tree Collapse file tree 2 files changed +13
-4
lines changed Original file line number Diff line number Diff line change @@ -26,6 +26,13 @@ arguments:
2626 group : partial
2727 optional : true
2828 release : v1.0.0
29+ exact :
30+ type : bool
31+ comment : >-
32+ Renders the provided link description as-is, without adjusting the case.
33+ Overrides the case setting.
34+ optional : true
35+ release : v1.20.0
2936 # deprecated arguments
3037 destination :
3138 type : string
Original file line number Diff line number Diff line change 120120 {{ end }}
121121 {{ end }}
122122
123- {{- if not $args.case }}
124- {{ $text = lower $text }}
125- {{ else if site.Params.main.titleCase }}
126- {{ $text = title $text }}
123+ {{- if not $args.exact }}
124+ {{- if not $args.case }}
125+ {{ $text = lower $text }}
126+ {{ else if site.Params.main.titleCase }}
127+ {{ $text = title $text }}
128+ {{ end -}}
127129 {{ end -}}
128130
129131 {{ if and $pretty (not (hasSuffix $destination "/" )) (not (strings.Contains $destination "#")) }}
You can’t perform that action at this time.
0 commit comments