diff options
author | tdufaure <47631563+tdufaure@users.noreply.github.com> | 2020-11-09 23:39:52 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-09 23:39:52 +0300 |
commit | 4fcee41741dc7da54b2685eb3f4758b44b66efb6 (patch) | |
tree | fabeeaf4c2c42651a1c5957a7531d27e37430e88 | |
parent | c2e473f5a697f9b0bc210c530c1dfe96416587f9 (diff) |
update footer.html : change .site.Params case
change case to avoid this problem :
template failed: template: _default/single.html:8:12: executing "_default/single.html" at <partial "footer.html" .>: error calling partial: "/workspaces/acdc-website/themes/parsa-hugo/layouts/partials/footer.html:24:65": execute of template failed: template: partials/footer.html:24:65: executing "partials/footer.html" at <.site.Params.email>: can't evaluate field site in type *hugolib.pageState
-rw-r--r-- | layouts/partials/footer.html | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html index 0ce23a7..f3acde5 100644 --- a/layouts/partials/footer.html +++ b/layouts/partials/footer.html @@ -18,10 +18,10 @@ <h6>Contact Info</h6> <ul class="list-unstyled"> {{ if .Site.Params.mobile }} - <li class="font-secondary text-dark">Tel : {{ .site.Params.mobile | markdownify }}</li> + <li class="font-secondary text-dark">Tel : {{ .Site.Params.mobile | markdownify }}</li> {{ end }} {{ if .Site.Params.email }} - <li class="font-secondary text-dark">Email : {{ .site.Params.email | markdownify }}</li> + <li class="font-secondary text-dark">Email : {{ .Site.Params.email | markdownify }}</li> {{ end }} </ul> {{ end }} @@ -112,4 +112,4 @@ display: none; } </style> -{{ end }}
\ No newline at end of file +{{ end }} |