File tree 2 files changed +2
-2
lines changed
2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -41,7 +41,7 @@ <h1 class="post-title">
41
41
42
42
{{ if .Params.cover }}
43
43
{{ if .Site.Params.pageBundle }}
44
- < img src ="{{ printf "%s /%s" .Dir .Params.cover | absURL }}" class="post-cover " />
44
+ < img src ="{{ printf "%s /%s" .File. Dir .Params.cover | absURL }}" class="post-cover " />
45
45
{{ else }}
46
46
< img src ="{{ .Params.cover | absURL }} " class ="post-cover " />
47
47
{{ end }}
Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ <h1 class="post-title">
35
35
36
36
{{ if .Params.cover }}
37
37
{{ if .Site.Params.pageBundle }}
38
- < img src ="{{ printf "%s /%s" .Dir .Params.cover | absURL }}" class="post-cover " />
38
+ < img src ="{{ printf "%s /%s" .File. Dir .Params.cover | absURL }}" class="post-cover " />
39
39
{{ else }}
40
40
< img src ="{{ .Params.cover | absURL }} " class ="post-cover " />
41
41
{{ end }}
You can’t perform that action at this time.
0 commit comments