Commit 752214f1 by sbiego

carousel paths fixed for multiling

parent 9612fd0e
......@@ -9,11 +9,11 @@
{{ range sort .Site.Data.carousel "weight" }}
{{ if .image}}
<div class="item">
<img class="owl-lazy" src="{{ .image }}" alt="{{ .image }}"/>
<img class="owl-lazy" src="{{ $.Site.BaseURL }}{{ .image }}" alt="{{ .image }}"/>
</div>
{{ else }} {{ if .videoURL }}
<div class="item-video" data-merge="3">
<a class="owl-video owl-lazy" href="{{ .videoURL }}"></a>
<a class="owl-video owl-lazy" href="{{ $.Site.BaseURL }}{{ .videoURL }}"></a>
</div>
{{ end }}
{{ end }}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment