Fixed cite.bib not found

A problem was that, even there is cite.bib, it tells that there is no cite.bib. The reason was, the reference was to /en/en/... So I fixed it.
This commit is contained in:
Rahat Zaman 2020-06-29 22:58:16 +06:00
parent 2175f01297
commit ae319efe74
1 changed files with 1 additions and 1 deletions

View File

@ -19,7 +19,7 @@
{{ partial "svgs/etc/close.svg" (dict "width" 25 "height" 25) }}
</div>
<main class="modal__cite">
{{ $filePath := (print .Permalink "cite.bib" | relLangURL) }}
{{ $filePath := print "/content" (print .Permalink "cite.bib" | relURL) }}
{{ if fileExists $filePath }}
<div class="modal__cite--exist" id="citeContents">
{{ readFile $filePath | markdownify }}