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/partials/sections/projects.html')
-rw-r--r--layouts/partials/sections/projects.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/layouts/partials/sections/projects.html b/layouts/partials/sections/projects.html
index a6850af..8dea28b 100644
--- a/layouts/partials/sections/projects.html
+++ b/layouts/partials/sections/projects.html
@@ -1,6 +1,6 @@
{{ "<!-- PROJECTS -->" | safeHTML }}
-<section class="section projects" id="projects_{{ trim .Dir "/\\" }}">
- {{ $path := replace .Dir "\\" "/" }}
+<section class="section projects" id="projects_{{ trim .File.Dir "/\\" }}">
+ {{ $path := replace .File.Dir "\\" "/" }}
{{ with .Title }}
<a href="/{{ $path }}" class="container-fluid padding-title">
<div class="row">