Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/chipsenkbeil/grid-side.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/partials/project/item.html')
-rw-r--r--layouts/partials/project/item.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/layouts/partials/project/item.html b/layouts/partials/project/item.html
index c63152b..3aa52ca 100644
--- a/layouts/partials/project/item.html
+++ b/layouts/partials/project/item.html
@@ -1,5 +1,5 @@
-{{ $url := $.Site.BaseURL }}
+{{ $baseUrl := $.Site.BaseURL }}
{{ if isset .Params "image" }}
{{ $.Scratch.Set "image" .Params.image }}
{{ else }}
@@ -20,7 +20,7 @@
{{ .Scratch.Set "class" "rounded-corners-top fill-container-width" }}
{{ partial "extra/video.html" . }}
{{ else }}
- <img src="{{ $image }}" class="fill-container-width rounded-corners-top" />
+ <img src="{{ $baseUrl }}{{ $image }}" class="fill-container-width rounded-corners-top" />
{{ end }}
</div>
<div class="rounded-corners-bottom center-text project-container-title">