Merge pull request #293 from rahatzamancse/fix-cite-bib
Fixed cite.bib not found
This commit is contained in:
commit
1afed103cc
|
@ -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