Removed urlize from cover links

closes #57 (Bug: Using urlize in cover image URL's replaces uppercase characters with lowercase ones)
This commit is contained in:
Igor Scheller 2019-05-12 01:25:20 +02:00
parent e0c1777296
commit 9940c34fba
2 changed files with 2 additions and 2 deletions

View File

@ -30,7 +30,7 @@
{{ if .Params.UseRelativeCover }}
<img src="{{ (printf "%s%s" .Permalink .Params.Cover ) }}" class="post-cover" />
{{ else }}
<img src="{{ (urlize .Params.Cover | absURL) }}" class="post-cover" />
<img src="{{ .Params.Cover | absURL }}" class="post-cover" />
{{ end }}
{{ end }}

View File

@ -25,7 +25,7 @@
{{ if .Params.UseRelativeCover }}
<img src="{{ (printf "%s%s" .Permalink .Params.Cover ) }}" class="post-cover" />
{{ else }}
<img src="{{ (urlize .Params.Cover | absURL) }}" class="post-cover" />
<img src="{{ .Params.Cover | absURL }}" class="post-cover" />
{{ end }}
{{ end }}