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:
parent
2175f01297
commit
ae319efe74
|
@ -19,7 +19,7 @@
|
||||||
{{ partial "svgs/etc/close.svg" (dict "width" 25 "height" 25) }}
|
{{ partial "svgs/etc/close.svg" (dict "width" 25 "height" 25) }}
|
||||||
</div>
|
</div>
|
||||||
<main class="modal__cite">
|
<main class="modal__cite">
|
||||||
{{ $filePath := (print .Permalink "cite.bib" | relLangURL) }}
|
{{ $filePath := print "/content" (print .Permalink "cite.bib" | relURL) }}
|
||||||
{{ if fileExists $filePath }}
|
{{ if fileExists $filePath }}
|
||||||
<div class="modal__cite--exist" id="citeContents">
|
<div class="modal__cite--exist" id="citeContents">
|
||||||
{{ readFile $filePath | markdownify }}
|
{{ readFile $filePath | markdownify }}
|
||||||
|
|
Loading…
Reference in New Issue