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

github.com/2-REC/hugo-myportfolio-theme.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/_default/limage.html')
-rw-r--r--layouts/_default/limage.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/_default/limage.html b/layouts/_default/limage.html
index 4cfb51b..f165f4c 100644
--- a/layouts/_default/limage.html
+++ b/layouts/_default/limage.html
@@ -19,7 +19,7 @@
{{ $class := print $col_lg " " $col_sm }}
<div class="{{ $class }}">
- {{ $path := replace .Dir "\\" "/" }}
+ {{ $path := replace .File.Dir "\\" "/" }}
<a href="/{{ $path }}" class="project-box project-link">
{{ $image_file := or .Params.cover_image .Params.small_image }}
{{ if $image_file }}