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

github.com/vickylaixy/hugo-theme-introduction.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'layouts')
-rw-r--r--layouts/partials/home/projects.html7
1 files changed, 6 insertions, 1 deletions
diff --git a/layouts/partials/home/projects.html b/layouts/partials/home/projects.html
index c62c40d..ea85a4d 100644
--- a/layouts/partials/home/projects.html
+++ b/layouts/partials/home/projects.html
@@ -34,6 +34,9 @@
<a {{ if .Params.external_link }} href="{{ .Params.external_link }}" {{ end }}>
{{ .Title | markdownify }}
</a>
+ {{ if .Params.project_timeframe }}
+ <p class="fa-xs">{{ .Params.project_timeframe }}</p>
+ {{ end }}
</div>
</div>
</div>
@@ -58,7 +61,9 @@
<p class="modal-card-title has-text-centered">{{ . }}</p>
</header>
{{ end }}
-
+ {{ if .Params.project_timeframe }}
+ <p class="fa-xs">{{ .Params.project_timeframe }}</p>
+ {{ end }}
{{ with .Resources.ByType "image" }}
{{ $moreThenOneImage := gt (len .) 1 }}
{{ if $moreThenOneImage }}