Skip to content

Commit

Permalink
fix: add CN domain to image src
Browse files Browse the repository at this point in the history
  • Loading branch information
quicoto committed Dec 7, 2022
1 parent c26b253 commit 4c63695
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ <h2 class="text-lg mb-3">{{ .title | markdownify }}</h2>
{{ range first 3 $repo.data }}
<div class="blog-item card mb-4 border-0">
{{ if .image }}
<a href="{{ $mainSiteUrl }}{{ .path }}" title="{{ .title | markdownify }}"><img src="{{ .image | relURL }}" alt="{{ .title | markdownify }}" class="img-fluid w-100" rel="nofollow"></a>
<a href="{{ $mainSiteUrl }}{{ .path }}" title="{{ .title | markdownify }}"><img src="{{ $mainSiteUrl }}{{ .image | relURL }}" alt="{{ .title | markdownify }}" class="img-fluid w-100" rel="nofollow"></a>
{{ end }}
<div class="blog-item-content p-4">
<div class="blog-meta mb-2 small">
Expand Down

0 comments on commit 4c63695

Please sign in to comment.