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

github.com/hadisinaee/avicenna.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--layouts/partials/publications.html4
1 files changed, 3 insertions, 1 deletions
diff --git a/layouts/partials/publications.html b/layouts/partials/publications.html
index d4ece99..01277da 100644
--- a/layouts/partials/publications.html
+++ b/layouts/partials/publications.html
@@ -1,7 +1,8 @@
<div class="introduction">
+ {{ with .Site.Params.publications }}
<h4>Publications</h4>
- {{- range $index, $publications := .Site.Params.publications -}}
+ {{- range $index, $publications := $.Site.Params.publications -}}
<div class="year">{{ $publications.year }}</div>
<ul>
@@ -33,4 +34,5 @@
{{ end }}
</ul>
{{- end -}}
+ {{- end -}}
</div>