Merge pull request #293 from rahatzamancse/fix-cite-bib

Fixed cite.bib not found
This commit is contained in:
zzossig 2020-06-30 23:09:20 +09:00 committed by GitHub
commit 1afed103cc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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 }}