diff options
author | zzossig <52706977+zzossig@users.noreply.github.com> | 2020-06-30 17:09:20 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-30 17:09:20 +0300 |
commit | 1afed103cc9f76ff754505a1ebc5b4b84b698ee9 (patch) | |
tree | 551fcb4d6169f62f6a58218e01db7f94dd5e9bae /layouts | |
parent | 5364fc098cea54aae0db0f0090e92840f7163e15 (diff) | |
parent | ae319efe74ac79adbab5447cdfe4f9a32b5ce22d (diff) |
Merge pull request #293 from rahatzamancse/fix-cite-bib
Fixed cite.bib not found
Diffstat (limited to 'layouts')
-rw-r--r-- | layouts/partials/publication/pub-links.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/partials/publication/pub-links.html b/layouts/partials/publication/pub-links.html index 8435fec..f6bdd55 100644 --- a/layouts/partials/publication/pub-links.html +++ b/layouts/partials/publication/pub-links.html @@ -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 }} |